[FFmpeg-devel] [PATCH] avformat/mux: warning only on streams with pts < dts

Michael Niedermayer michaelni at gmx.at
Thu May 22 18:25:05 CEST 2014

On Thu, May 22, 2014 at 03:03:51PM +0200, Nicolas George wrote:
> Le duodi 2 prairial, an CCXXII, Aman Gupta a écrit :
> > Sorry for the laconic description. I tried to make a case for the
> > warning in my ticket, which I should have repeated in the patch. My
> > goal was to ignore the error only in the remuxing case, where it
> Your patch ignores the error in all cases, not only remuxing.
> > seemed reasonable that a broken input file would create a broken
> > output file in a different container.
> Not necessarily, not all containers have the same constraints.

yes, also several muxers are simply not capable to handle out of
order timestamps as they are used for various interleaving and buffer
calculations even if in theory it could be stored in the file in a
specification violating but demuxable way


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140522/46f55c94/attachment.asc>

More information about the ffmpeg-devel mailing list