[FFmpeg-devel] ffmpeg patch for nonmonolithic increase dts error in subtitle

Michael Niedermayer michael at niedermayer.cc
Wed Jun 20 23:54:34 EEST 2018

On Wed, Jun 20, 2018 at 09:09:11AM +0200, Markus Kohm wrote:
> Recoding videos with subtitles, I often have problems with subtitle streams, 
> because the dts starts again with 0 after some time (I think, it is at jumping 
> from DVD layer 1 to 2, but I'm not sure).
> There is code in ffmpeg.c to handle such nonmonolithic dts errors in video and 
> audio streams, but for subtitle streams it is not used. Some years ago the dts 
> time fix has been used also for subtitle streams, but this has been removed 
> while changing the code in ffmpeg.c. There is a bug report with an (old) patch 
> for this in the ffmpeg, but this has never found its way to the 
> release. I've adapted the patch for current ffmpeg and it works like a charm. 
> Please add it to your repository.

Please post a git compatible patch


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180620/b7a96a73/attachment.sig>

More information about the ffmpeg-devel mailing list