Torgeir Veimo wrote: > > On 24 Oct 2006, at 12:44, C.Y.M wrote: > >> Somehow, mplayer is able to detect the areas in the VDR recordings >> that need >> extra "padding" to keep the sync. There must be some kind of pattern >> in the >> data that the player recognizes and it knows it must insert a null >> frame. How >> to go about finding how it works and creating an algorithm. > > So you're certain that it's always picture frames being dropped, causing > audio to be behind the video? > >From what I understand, it could be either video or audio that is using "stacked" data. Either a video frame that does not "change" or perhaps a few seconds of silence on the audio track could trigger this. Best Regards.