Page 1 of 1

what is the linux command ?

Posted: 23 Jun 2008 18:17
by agussi
hi everybody,

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"
When I use the equivalent command in linux :

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

Re: what is the linux command ?

Posted: 23 Jun 2008 19:13
by Jean-Baptiste Kempf
You are missing quotes around your sout command.

Re: what is the linux command ?

Posted: 24 Jun 2008 14:21
by agussi
You are missing quotes around your sout command.
:D thanks a lot, it is working fine now