I record video and audio:
Code: Select all
cvlc --color --run-time=10 v4l2:///dev/video0 :input-slave=alsa://hw:0,0 :v4l2-standard=0 :sout='#transcode{vcodec=mp4v,vb=800,scale=1,acodec=mpga,ab=128,sfilter=marq}:std{access=file,mux=mp4,dst=/tmp/out.mp4}' --sub-filter marq --marq-marquee \"%D %H:%M:%S\" --marq-position 6
Thanks,
Ralf
Btw. the command is executed on a debian machine.