Frames skipped while recording
Posted: 23 Jan 2010 12:34
Hi there,
On my debian machine I record two camera streams link this:
Sometimes the both output files differ. For example I can see when replaying the second one that suddenly frames are skipped. Moving objects in the video are somehow 'teleported' to a location. Could this be a hardware related issue? Or can this be avoided by adding a magical command to vlc to make the output more reliable?
Thanks,
Ralf
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