[FFmpeg-devel] ogg kate text subtitles support (patch)

Clément Bœsch u at pkh.me
Mon Oct 24 13:18:23 EEST 2016

On Mon, Oct 24, 2016 at 12:12:23PM +0200, u-9iep at aetey.se wrote:
> On Mon, Oct 24, 2016 at 11:49:25AM +0200, Clément Bœsch wrote:
> > > It is bad if you don't strip the markup in the decoder.
> > To expand on this: it is extremely worrisome that ffmpeg could be the
> > source of yet another wave of insane .srt files with kate markup in it
> > because someone decided to run ffmpeg -i in.ogg out.srt in order to
> > extract the subtitles and share them.
> > 
> > You absolutely want to strip all markup in the decoder for minimal
> > support, or FFmpeg will generate broken files, which is not tolerable.
> I see and have to agree.


> (even though I would not expect any remarkable harm to happen in practice)

Today, in practice, we have to support all kind of mix of subtitles markup
in various formats because of this. It would be great not to make things
worst :)

Clément B.

More information about the ffmpeg-devel mailing list