[vlc-devel] Re: [vlc] drift is too high, resetting master sync

Jean-Paul Saman jean-paul.saman at planet.nl
Sun May 28 10:56:33 CEST 2006

Irina Iosip wrote:
> Hello eveyone,

> dvgrab - | vlc - -vvv -I dummy :demux=rawdv --sout '#transcode{vcodec=mp4v,vb=4096,acodec=mp3,ab=128,fps=25,audio-sync}:std{access=file,mux=ps,dst=out.mp4}' 

Try to use vlc for DV grabbing instead of dvgrab, thus:

vlc -vvv dv/rawdv:///dev/raw1394 --dv-caching=60000 --sout 

> The problem is that when capturing from a DV Camera. At the scene changes
> vlc show this message  "drift is too high,  resetting master sync" . The
> mpeg4 file looks fine (both video and audio) but after i convert it to DV
> using ffmpeg at the moments when the scene is changed it adds audio delay
> resulting in a/v desynchronisation.

I think you need more input caching here, because transcoding DV frames 
is timeconsuming. See the commandline above:

> How can i get rid of this delay? Does increasing the value of
> MASTER_SYNC_MAX_DRIFT help? (i'm using vlc 0.8.5, fedora core 5)

Jean-Paul Saman.

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list