[MPlayer-dev-eng] [PATCH] VOBSUB/DVDSUB bytecode handling

Kim Minh Kaplan kmkaplan at selfoffice.com
Thu Dec 5 09:18:26 CET 2002


Christof Buergi writes:

> The VOBSUB and DVDSUB subtitles contain a bytecode, which describes, 
> how the subtitle is to be displayed. This bytecode is split into 
> several chains with a timecode each. MPlayer, up to now, handles the 
> whole bytecode at once, as soon as it got the complete package. 
> Normally, this is no trouble. On some DVDs however, this doesn't work. 
> In particular, I have two DVDs here, that set the subtitle to "all 
> transparent", just before it is officially stopped.

Can you extract these subtitles and upload to mphq ? (using -vobsubout
in mencoder) I have never seen subtitles with different timestamps,
that's why they are currently handled like that in MPlayer.

> - Since spu_handle_t has been changed, any copy in other programs or
>   modules has to be changed as well (IIRC, this only affects
>   subrip.c).

That's not a problem, anyway subrip's copying spu_handle_t is a ugly
kludge and should/will be changed if anybody really cares about text
subtitles.

Kim Minh.



More information about the MPlayer-dev-eng mailing list