[MPlayer-dev-eng] Re: [PATCH] SSA/ASS subtitles support

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Jul 5 09:54:10 CEST 2006


On Wednesday 05 July 2006 06:43, 陆然 wrote:
> Have you considered extend the ssa support to a general subtitle support,
> recently I did a little hack to make mplayer support embeded mp4 subtitles,
> at the moment it is based on the old subtitle engine, so all the
> font/color/position settings are ignore. Suppose I want to take advantage
> of the ssa engine, is there a easy way to do this with the current
> implementation?
>
> You can found a sample of the mp4 file here:
> http://rapidshare.de/files/5737885/1Video_2Audio_2SUBs_timed_text_streams_.
>mp4.html and document from apple:
> http://developer.apple.com/documentation/QuickTime/QT6_3/index.html
> the 'tx3g' part.
> also a introduction in wikipedia:
> http://en.wikipedia.org/wiki/MPEG-4_Part_17

Sure. I've attached a small function for converting subdata to ass_track. This 
way, every subtitle format supported by subreader can be displayed with 
libass. Something like this can be done for mp4 timed text, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ass_read_subdata.c
Type: text/x-csrc
Size: 1628 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060705/38e5ee98/attachment.c>


More information about the MPlayer-dev-eng mailing list