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.