[FFmpeg-devel] [PATCH] Decoding of raw UTF-8 text from Ogg streams

Michael Niedermayer michaelni
Mon Aug 10 15:21:36 CEST 2009

On Tue, Aug 04, 2009 at 09:34:18PM +0100, ogg.k.ogg.k at googlemail.com wrote:
> About the subtitles decoder for Ogg: what, if anything, would be accepted
> in ffmpeg, provided all feedback were taken into account ?

if all feedback is taken into account anything would be accepted strictly
speaking but some feedback might end at "rewrite it using a different
approuch) ;)

> - UTF-8 text decoding only - anything else ignored
>    -> very simple decoder
> - UTF-8 text plus background image
>    -> the majority of uses - text subs and SPU subs, but this requires
>       a fair amount more bitstream decoding and state
> - Full decoder using libkate as a dependency (though I haven't worked
>       out what would happen with animated subs yet).

its not easy to awnser, given i dont know much about ogg subs nor how
the code would look like.

What we definitly want is to provide our users with a normal expected
display that other players would also present. Here pure UTF-8 may be
too little, that said external dependencies are generally disliked unless
the external lib is very well written and my memory of xiph code is not
at all in that direction. I would even go as far as asking the submitter
of a wraper around yet another xiph lib to take a quick look at its
security (if it like other libs depend on checksum checks to prevent
crashes, i would not accept a wraper using it, nor would i if there
is concern about its securty otherwise)


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/20090810/a646249d/attachment.pgp>

More information about the ffmpeg-devel mailing list