Hi, On 7/5/06, Evgeniy Stepanov <eugeni.stepanov@gmail.com> wrote:
Not exactly. New system adds events to ass_track as they are found in the stream and keeps them forever. The old system only keeps the latest event, which is clearly not enough with ssa.
You can't extract _all_ subtitles in a file until it is completely demuxed. So you should allocate an ass_track for each mp4 subtitle track, and update it with subs coming from the demuxer. In matroska/ssa case it is implemented in ass_process_chunk() and ass_process_line(). _______________________________________________
I've tried to implement a function similar to ass_process_line() to generate the ass events, but I get a weird "FT_Glyph_To_Bitmap error: -1 -1,symbol 74,index 40", I've not modify the ass code, so I guess I missed some style setup. Any hints? -- Best Regard, LR