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

Michael Niedermayer michaelni
Sun Apr 12 04:14:35 CEST 2009


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090412/ca87aa02/attachment.pgp>



More information about the ffmpeg-devel mailing list