Wednesday, February 06, 2008

streaming composite video with vlc

one way to specify composite input is described in documentation for vlc streaming

http://www.videolan.org/doc/videolan-howto/en/ch08.html

here is how i encoded the stream

vlc -vvv --color v4l:/dev/video0:channel=1 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,dst=192.168.0.207:1212}' --ttl 12

with mplayer you can play the composite input stream this way
mplayer -tv driver=v4l2:device=/dev/video0:input=1 tv://

No comments: