[FFmpeg-devel] [PATCH v7] Add SUP/PGS subtitle demuxer

wm4 nfxjfg at googlemail.com
Wed Oct 1 17:32:52 CEST 2014

On Wed, 1 Oct 2014 17:11:17 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> > Ouch. Yeah, I think this function used to corrupt perfectly fine h264
> > mpegts timestamps in the past or so...
> which trac ticket is that ?
> or do you mean by "past" that this is not relevant anymore as it has
> been fixed already ?

It has been fixed quite a while ago.

> > If we can't reconstruct a correct DTS if it's missing, we definitely
> > should prevent the generic libavformat code from filling in completely
> > broken DTS. Is there a flag for this?
> dts are not optional in mpeg*
> if you have no dts you wont have a mpeg-TS
> They are a integral part of the muxing process
> used both in the buffering model as well as in stream interleaving.
> that said its quite easy to add a flag to disable the code that
> sets the DTS if someone really wants such flag

Well, .sup files are not mpeg... and there are some formats that store
PTS only (like avi and mkv). I'm not sure if libavformat makes up a
(broken) DTS for these.

More information about the ffmpeg-devel mailing list