[FFmpeg-devel] [PATCH] matroska subtitle tracks support

Aurelien Jacobs aurel
Tue Jul 10 11:02:09 CEST 2007

On Tue, 10 Jul 2007 09:52:40 +0100
"Ian Caulfield" <ian.caulfield at gmail.com> wrote:

> On 10/07/07, Aurelien Jacobs <aurel at gnuage.org> wrote:
> > On Tue, 10 Jul 2007 08:26:42 +0200
> > Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> >
> > > Isn't there also the issue that Matroska can contain ASS and other
> > > subtitles?
> >
> > Indeed, I think some CODEC_ID_ASS_SUBTITLE will need to be added at
> > some point. But unfortunatly, Matrsoka don't store ASS subtitles
> > as is. They are stored butchered, in a way that makes them useless
> > for an ASS parser. I guess they do this to save a few bytes.
> > It should be possible to reconstruct them, but at first I will use
> > them simplest solution which is to only extract the raw UTF8 text
> > out of the ASS data.
> Wouldn't this destroy any formatting?

Unless the ASS data is totaly reconstructed, formatting will be
destroyed anyway. That's the way MPlayer's Matroska demuxer currently
work (ie. destroy any formatting). And that's how I plan to implement
it for now.


More information about the ffmpeg-devel mailing list