[FFmpeg-devel] [PATCH] attachments support in matroska demuxer

Rich Felker dalias
Thu Jan 3 04:32:45 CET 2008


On Wed, Jan 02, 2008 at 09:06:58PM -0500, Alexander Strange wrote:
> > You can put fonts in SSA extradata, using a variant of uuencoding. I
> > haven't seen this recently, but I have some movies using this from  
> > before
> > matroska.
> >
> > --Loren Merritt
> 
> This usually isn't done in practice, although it might be useful for  
> AVI.
> mkvmerge will actually delete Font sections and add them as new mkv
> attachments. Anyway, since Unicode fonts can be several MB, I really
> wouldn't want them ending up in text files I want to edit.

I really don't think the kiddies embedding fonts are using fonts with
wide unicode coverage, but rather stylized ones for a single (or maybe
two) particular scripts. Also, glyph subsetting should be used for
embedding fonts; this often avoids copyright issues on the complete
font due to licenses that allow subset embedding (as if the people
warezing movies cared about that anyway...).

Furthermore, uuencode only increases size by about 33%. If a font is
big enough that this matters it was probably waaaay to big to be
embedded already...

Rich




More information about the ffmpeg-devel mailing list