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

Piotr Stachura albert1 at autocom.pl
Wed Apr 5 20:33:21 CEST 2006


Dnia środa, 5 kwietnia 2006 19:18, Evgeniy Stepanov napisał:
> On Wednesday 05 April 2006 19:18, Piotr Stachura wrote:
> > Following sample causes segfault. It happends with and without '-vf ass'
> > option. I can't remember but perhaps subtitles in file are compressed,
> > remuxing file (w/o compression) causes correct play. It isn't happend
> > without patch!
> >
> > http://home.autocom.pl/albert/db.mkv
> >
> > mplayer: ass.c:392: ass_process_line: Assertion
> > `ass_tracks_info[tid].event_format' failed.
>
> Subs in this file are not compressed. Their header (CodecPrivate) is
> broken, it lacks "[Events]" and subsequent "Format: ..." lines.
> What program do you use for remuxing ? mkvmerge only allows compression of
> vobsub subtitles. And it does not add missing lines.
>

Sample was simple stream cut, not remuxed. I don't know what you talking about 
missing lines. File oryginally was muxed using mkvmerge (v0.9.5). Remuxing 
using mkvmerge (v1.6.5) fixed problem but it doesn't explain why mplayer 
segfaults.

> >BTW. could you add a font factor size. Currently some of subtitles are so
> > small :/
>
> Something like -vf ass=font-scale=1.5:another-option=value:sub=1.ass ? Not
> very readable :( There is no such thing as per-filter global options ?
>

Yes, something like that :)

-- 
Piotr Stachura




More information about the MPlayer-dev-eng mailing list