- Ubuntu 10.10
- VLC 1.1.4
For now I could generate the sdp file using the command as following:
Code: Select all
vlc -vvv v4l2:// :v4l-vdev="/dev/video" --no-audio --sout '#transcode{vcodec=mp4v,vb=212,width=320,height=240}:rtp{dst=127.0.0.1,sdp=file:///usr/local/movies/channel.sdp}'
[0xb7459dec] main input debug: `file:///usr/local/movies/channel.sdp' successfully opened
[0x817defc] qt4 interface debug: IM: Setting an input
[0x83bd854] live555 demux error: no data received in 10s, aborting
[0xb7459dec] main input debug: EOF reached
While the sdp file generated from a video file can be played well, using command below:
Code: Select all
vlc -vvv '/usr/local/movies/sample_100kbit.mp4' --no-audio --sout '#transcode{vcodec=mp4v,vb=212,width=320,height=240}:rtp{dst=127.0.0.1,sdp=file:///usr/local/movies/channel.sdp}'
Code: Select all
vlc v4l2:// :v4l-vdev="/dev/video0" :v4l-width=320 :v4l-height=240 --sout "#transcode{vcodec=mp4v,vb=212,width=320,height=240}:duplicate{dst=std{access=file,dst=/tmp/test.mp4}}"
Bolton