[FFmpeg-devel] [PATCH] Decoding of raw UTF-8 text from Ogg streams
Sun Jul 26 20:09:56 CEST 2009
On Sun, Jul 26, 2009 at 02:58:52PM +0100, ogg.k.ogg.k at googlemail.com wrote:
> > If Kate allows for formatting above raw UTF-8, I think that the idea
> > of ffmpeg's subtitle system is to pass the raw data, and have a
> > decoder convert it to plain utf-8 or ass, with the renderer being a
> I've started to build upon the previous patch to make the decoding
> a separate decoder in libavcodec.
> However, the way text is passed to the caller is different. While UTF-8
> text is passed as the packet when done in libavformat, libavcodec
> fills a AVSubtitle structure, which has a format field, and a comment
> saying 0 is for graphics. No enum/define that I can see. No decoder
> assigns anything else than 0 to it, and the text and ass fields do not
> seem to be used at all (I've checked by commenting them out, in case
> there was some weird macro magic, but it all builds fine with these out).
> ASS/SSA seems to be just demuxed, with no decoder.
> Is this old code ? Preliminary code to be extended later ?
the ASS/SSA subtitle stuff is unfinished, if you want to extend it
and actually use it thats welcome
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel