On my debian machine I record two camera streams link this:
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/out0.mp4}' --sub-filter marq --marq-marquee \"%D %H:%M:%S\" --marq-position 6 &
cvlc --color --run-time=10 v4l2:///dev/video1 :v4l2-standard=0 :sout='#transcode{vcodec=mp4v,vb=800,scale=1,acodec=none,sfilter=marq}:std{access=file,mux=mp4,dst=/tmp/out1.mp4}' --sub-filter marq --marq-marquee \"%D %H:%M:%S\" --marq-position 6 &
Thanks,
Ralf