[FFmpeg-devel] {WIP} {HELP} Dvb Subtitles and Hard Subtitles

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jun 20 20:28:07 CEST 2011

On Mon, Jun 13, 2011 at 06:35:17PM +0100, JULIAN GARDNER wrote:
> Thanks for the offer, i have uploaded a file to
> url: tvonip.dk
> username: ffmpeg
> password: devel
> The file is BitrateNotUpdate.ts

Can't find, possibly not anymore?

> If you use the command line
> ffmpeg -i BitrateNotUpdate.ts -f mpegts -y a.ts
> all is good, but
> ffmpeg -i BitrateNotUpdate.ts -scodec dvbsub -f mpegts -y a.ts

Tested with some other file, and it fails with non-monotonic timestamps
unless you comment out some of the DVB special-case in ffmpeg.c.
So I don't think this is reproducible without the exact patch-set
that you are using.
I commented out those
//    if (enc->codec_id == CODEC_ID_DVB_SUBTITLE)
//        nb = 2;
//    else
lines, but then it works just fine, none if the issue you describe,
at least not with my sample file.

More information about the ffmpeg-devel mailing list