Page 1 of 1

Howto combine IP video stream and V4l2 audio together?

Posted: 17 Dec 2008 09:35
by lubosko
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.

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

Posted: 19 Feb 2009 11:00
by fiesteban
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!