[MPlayer-dev-eng] Subtitles

David Lamparter lists at diac24.net
Sun Oct 17 20:42:04 CEST 2004


D Richard Felker III wrote:
> excellent! will it work with the existing subtitle system, i.e. stuff
> like ssa/ass subs embedded in mkv?
> 
The parser takes a void * (not char * because it isn't restricted to 
one-byte encodings) and a size as parameter and is able to concatenate 
multiple blocks into one unit; that should be enough for 99.9% of all 
cases. As long as there is a way to access/pass these subtitles from/to 
a vf (didn't investigate it yet), it'll be easy to make it work...

> agree. but i think you should instead make a vf control() call to send
> the current timestamp down the vf chain, instead of using globals.
> other filters will ignore it, but vf_asa can grab it and know what
> subs to display next.
> 
Thanks for the tip, i didn't actually think about this possibility... 
*starts fiddling*

>>[...]
>>(well, not directly with the filter, but with code from it)
 >>[...]
> 
> 
> yes but it's impossible to get good performance without the osd calls
> integrated into the vo rather than in a separate filter... :(
> 
That's why i wrote "not directly with the filter, but with code from it." :)

- eqvi

-- 
A0C21986 David Lamparter (equinox) <lists at diac24.net>
2D7F 5CC6 93AD 38DD 6CD5  47A0 A5F0 4657 A0C2 1986




More information about the MPlayer-dev-eng mailing list