I am using vlc from the command line to capture and save a webcam stream.
Here is the command I launch from windows :
Code: Select all
vlc -v dshow:// :dshow-vdev="Lenovo USB Webcam" :dshow-adev="Lenovo USB Webcam" :dshow-size="" :sout=#transcode{vcodec=mp4v,vb=768,scale=0.25,acodec=mpga,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=ts,dst="C:\\test.mpeg"
Code: Select all
vlc v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/audio" :v4l-norm=3 :v4l-frequency=-1 :sout=#transcode{vcodec=mp4v,vb=768,scale=1,acodec=mp3,ab=128,channels=2,soverlay}:duplicate{dst=display,dst=std{access=file,mux=ts,dst="/home/agussi/vlc.mpeg"}}
VLC media player 0.8.6e Janus
[00000295] main private error: no sout stream module matched "transcodesoverlay"
[00000294] main stream output error: stream chain failed for `transcodesoverlay:duplicatedst=stddst=/home/agussi/vlc.mpeg'
[00000292] main input error: cannot start stream output instance, aborting
[00000283] main playlist: nothing to play
[00000283] main playlist: stopping playback
What is the right command for linux ?
thx