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

Michael Niedermayer michaelni
Mon Jul 13 11:50:33 CEST 2009


On Sun, Jul 12, 2009 at 10:27:14PM -0400, David Conrad wrote:
> On Jul 11, 2009, at 4:52 AM, ogg.k.ogg.k at googlemail.com wrote:
[...]
>> +    // we ignore any non text data packet for now (repeats, etc)
>> +    if (packtype != 0) {
>> +        av_log(NULL, AV_LOG_DEBUG, "Packet type %02x ignored\n", 
>> packtype);
>> +        os->psize = 0;
>> +        return 0;
>> +    }
>
> 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 third separate 
> thing. But I'm not sure since I don't think that's really implemented.

This was the idea, yes, of course once a volunteer to implement all of it
is available things might change as issues are found or better ideas come
up ...

[...]

-- 
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
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090713/06dc8bec/attachment.pgp>



More information about the ffmpeg-devel mailing list