[FFmpeg-devel] [PATCH] detect discontinuity per stream

Baptiste Coudurier baptiste.coudurier
Sun Apr 12 05:47:03 CEST 2009


On Sun, Apr 12, 2009 at 04:14:35AM +0200, Michael Niedermayer wrote:
> On Sat, Apr 11, 2009 at 06:01:12PM -0700, Baptiste Coudurier wrote:
> > Hi,
> > 
> > $subject. Problem is that one stream wraps timestamps first, and after
> > this, the other wraps, causing oxffset to not be updated and a/v sync
> > core duplicate many many frames.
> > 
> > Fix issue 452 and 898.
> 
> if iam not mistaken, i tried this already or it even was in svn ...
> the problem of this class of discontinuity correction is that it leads to
> AV sync errors
> to see why, consider 2 mpeg files
> 
> file1: video stream from TS=0..100
>        audio stream from TS=0..95
> 
> file2: video stream from TS=0..100
>        audio stream from TS=0..100
> 
> when they are concatenated then you will have 5 units of AV sync error
> during the second file
> 

Hummmm, ok, then I guess a wrap detection per stream must be implemented.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA    
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list