[MPlayer-dev-eng] [PATCH] SSA/ASS subtitles support
Piotr Stachura
albert1 at autocom.pl
Wed Apr 5 17:18:00 CEST 2006
Dnia sobota, 1 kwietnia 2006 00:09, Evgeniy Stepanov napisał:
> Hi
>
> Here is an attempt to add ASS rendering capability to mplayer. It is
> designed as a filter and supports a large part of ASS so-called
> specification. Reads both external subtitles and the ones embedded in
> matroska.
>
> The patch also adds attachment support to matroska demuxer, as it was
> needed to extract fonts that usually come with subtitles.
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.
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 20559)]
0x00002aaaae3cdad9 in kill () from /lib/libc.so.6
backtrace:
#0 0x00002aaaae3cdad9 in kill () from /lib/libc.so.6
#1 0x00002aaaabb5d841 in pthread_kill () from /lib/libpthread.so.0
#2 0x00002aaaabb5dbc2 in raise () from /lib/libpthread.so.0
#3 0x00002aaaae3cd7d2 in raise () from /lib/libc.so.6
#4 0x00002aaaae3ceb12 in abort () from /lib/libc.so.6
#5 0x00002aaaae3c6fd0 in __assert_fail () from /lib/libc.so.6
#6 0x0000000000553405 in ass_process_line ()
#7 0x000000000052f0ee in demux_mkv_fill_buffer ()
#8 0x00000000004e8f2c in ds_fill_buffer ()
#9 0x00000000004e90ee in demux_read_data ()
#10 0x0000000000805ec2 in MP3_DecodeFrame ()
#11 0x0000000000479e08 in decode_audio ()
#12 0x0000000000415e4a in main ()
--
Piotr Stachura
More information about the MPlayer-dev-eng
mailing list