Howto combine IP video stream and V4l2 audio together?

*nix specific usage questions
lubosko
New Cone
New Cone
Posts: 1
Joined: 16 Dec 2008 23:24
Operating System: Linux
Location: Slovakia
Contact:

Howto combine IP video stream and V4l2 audio together?

Postby lubosko » 17 Dec 2008 09:35

Hi *,

I'd like to create stream (audio + video), but I've got video from IP camera and audio from Sound card.
The question is how to combine it together into one stream.

Platform: OpenSuse 11.1 RC1, VLC 0.9.8.a, IP camera: Axis 211, Sound device: std. PC sound card.

Video IP stream from camera could be obtained in following command and packed into udp/ts.
vlc -vvv rtsp://root:admin@192.168.123.123:554/mpeg4/media.amp --sout '#transcode{vcodec=mp4v,vb=3000}:std{access=udp,mux=ts,dst=localhost:1235}'

Audio stream could be obtained by using vl42 package also and following command.

vlc -vvv v4l2:// :v4l2-dev=/dev/null :v4l2-adev=/dev/dsp :v4l2-stereo :v4l2-samplerate=48000 :sout='#transcode{vcodec=h264,vb=500,scale=1,acodec=mp3,ab=64,channels=2,audio-sync}:duplicate{dst=display,dst=std{access=udp,mux=ts,dst=localhost:1234}}'

Thank you for advice.

fiesteban
New Cone
New Cone
Posts: 3
Joined: 20 Oct 2008 10:59

Re: Howto combine IP video stream and V4l2 audio together?

Postby fiesteban » 19 Feb 2009 11:00

Sorry, I cannot reply to your question, but maybe you can help me. As I have read, it seems that your are able to obtain video images from an IP camera using VLC. Do you know if it is possible with every IP cam? even if they acts as web servers? Do you know the way of doing this in windows?

Thank you very much in advance!


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 38 guests