[FFmpeg-devel] [PATCH] attachments support in matroska demuxer
Michael Niedermayer
michaelni
Tue Jan 1 13:36:48 CET 2008
On Tue, Jan 01, 2008 at 01:27:11PM +0100, Michael Niedermayer wrote:
[...]
> The only way to see fonts as special relative to global data (=extradata)
> would be if one argues that a subtitle decoder outputs UTF-8 + position
> + font name + color + size + ...
> in that case fonts would be an rendering hint but unneeded for decoding
> the subtitle stream (as the decoder doesnt output bitmaps ...).
> the problem here is that this is not how subtitles
> are currently implemented in libavcodec so if you want to pursue this
> direction you would first need to extend the existing subtitle handling
> to output such textual rendering info instead of bitmaps.
note, having subtitle decoders output UTF-8 + position + ...
also allows easy transcoding between subtitle formats, so this might be
the best solution
if that is done, then putting fonts in a seperate stream as extradata
with a CODEC_ID_TTF or so might make some sense ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- 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/20080101/0efff015/attachment.pgp>
More information about the ffmpeg-devel
mailing list