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

Michael Niedermayer michaelni
Wed Jan 2 12:24:12 CET 2008


On Wed, Jan 02, 2008 at 12:51:46AM -0500, Rich Felker wrote:
> > avoid that overhead. And what about other Matroska attachments?
> > Shouldn't there be a general way to access them? I think it would be
> > better to create an API for accessing Matroska attachments (generalized
> > to attachments in other containers if some get such functionality), and
> > leave issues specific to fonts and their relation to subtitle tracks
> > outside libavformat for now. 
> The whole idea of attachments is rather disgusting and something of a
> hack... But I don't know any right way to deal with them, just that
> existing ways are not the right way..

Right way (for ASS/SSA mkv) would have been IMHO, like codecs.

File uses font foobar, if available fine, if not warn the user that a
font is missing and she should find and install it for optimal display.
(that find&install could have been automatic on network connected point
and click OSs)

Also dont forget that embeding ttf fonts (which is i think what is done)
opens you up to all exploits in the ttf rendering lib. Downloading them
from a trusted source seperately reduces the risk significantly.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I wish the Xiph folks would stop pretending they've got something they
do not.  Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080102/8f0457ad/attachment.pgp>

More information about the ffmpeg-devel mailing list