[MPlayer-users] ass crash with style

Robert Henney robh at rut.org
Sun Jul 29 10:35:59 CEST 2007


on roxfan's Toki wo Kakeru Shoujo (the En_Ru mkv) when watching with the
english subtitles using libass SSA/ASS subtitle rendering, mplayer will
hang and gobble all available memory when it gets to 1:19:08.  That is
the point at which two additional styles, in-roman and in-engli, are
utilized for karaoke.

just guessing, but it looks like the Agenda font is causing the issue.
maybe FreeType can't handle it, but libass doesn't seem to realize it
and gets hung in a loop allocating memory endlessly.  If it would be of
help, I can extract the font from the mkv and place a copy on the ftp.

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Main01,Ace,37,&H00FFFFFF,&H00FF0000,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,2,10,10,15,0
Style: Narration,Ace,37,&H00FFFFFF,&H0000FFFF,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,2,10,10,15,0
Style: TV,Arial,32,&H00FFFFFF,&H0000FFFF,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,8,10,10,15,0
Style: in-roman,Agenda,32,&H00FFFFFF,&H00E9DCA6,&H002A2919,&H002A2919,-1,0,0,0,100,100,0,0,1,1,0,7,12,10,2,0
Style: in-engli,Agenda,32,&H00FFFFFF,&H00E9DCA6,&H002A2919,&H002A2919,-1,0,0,0,100,100,0,0,1,1,0,7,12,10,28,0
Style: Credits,Goulong,28,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,95,87,0.3,0,1,0,0,2,10,10,10,0
Style: Cast,Goulong,28,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,95,87,0.3,0,1,0,0,1,30,30,30,0
-------------- next part --------------
MPlayer dev-SVN-r23901-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) Processor (Family: 6, Model: 4, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
get_path('codecs.conf') -> '/home/robh/.mplayer/codecs.conf'
Reading /home/robh/.mplayer/codecs.conf: Can't open '/home/robh/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: 
CommandLine: 'Toki wo Kakeru Shoujo [roxfan] (En_Ru) [A0A74CDB].mkv' '-ass' '-ss' '1:19:00' '-quiet' '-v'
init_freetype
get_path('font/font.desc') -> '/home/robh/.mplayer/font/font.desc'
Bitmap font /home/robh/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/robh/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/robh/.mplayer/input.conf'
Can't open input config file /home/robh/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('Toki wo Kakeru Shoujo [roxfan] (En_Ru) [A0A74CDB].mkv.conf') -> '/home/robh/.mplayer/Toki wo Kakeru Shoujo [roxfan] (En_Ru) [A0A74CDB].mkv.conf'

Playing Toki wo Kakeru Shoujo [roxfan] (En_Ru) [A0A74CDB].mkv.
get_path('sub/') -> '/home/robh/.mplayer/sub/'
[file] File size is 724066537 bytes
STREAM: [file] Toki wo Kakeru Shoujo [roxfan] (En_Ru) [A0A74CDB].mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 942080  pre:0  eof:0  

Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing seek head ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment information...
[mkv] | + timecode scale: 1000000
[mkv] | + duration: 5883.962s
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] |  + Track number: 1
[mkv] |  + Track type: Video
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: V_MS/VFW/FOURCC
[mkv] |  + CodecPrivate, length 40
[mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[mkv] |  + Language: und
[mkv] |  + Video track
[mkv] |   + Pixel width: 704
[mkv] |   + Pixel height: 384
[mkv] |   + Display width: 704
[mkv] |   + Display height: 384
[mkv] | + a track...
[mkv] |  + Track number: 2
[mkv] |  + Track type: Audio
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: A_MPEG/L3
[mkv] |  + Default duration: 24.000ms ( = 41.667 fps)
[mkv] |  + Language: jpn
[mkv] |  + Audio track
[mkv] |   + Sampling frequency: 48000.000000
[mkv] |   + Channels: 2
[mkv] | + a track...
[mkv] |  + Track number: 3
[mkv] |  + Track type: Subtitle
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: S_TEXT/ASS
[mkv] |  + CodecPrivate, length 2546
[mkv] |  + Language: eng
[mkv] | + a track...
[mkv] |  + Track number: 4
[mkv] |  + Track type: Subtitle
[mkv] |  + Default flag: 0
[mkv] |  + Codec ID: S_TEXT/ASS
[mkv] |  + CodecPrivate, length 2342
[mkv] |  + Language: rus
[mkv] /---- [ parsing attachments ] ---------
[mkv] | + an attachment...
[mkv] |  + FileName: Goulong.ttf
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 57556
[mkv] Attachment: Goulong.ttf, application/x-truetype-font, 57556 bytes
[mkv] | + an attachment...
[mkv] |  + FileName: Ace.ttf
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 28286
[mkv] Attachment: Ace.ttf, application/x-truetype-font, 28286 bytes
[mkv] | + an attachment...
[mkv] |  + FileName: Agenda-MediumItalic.ttf
[mkv] |  + FileMimeType: application/x-truetype-font
[mkv] |  + FileData, length 66848
[mkv] Attachment: Agenda-MediumItalic.ttf, application/x-truetype-font, 66848 bytes
[mkv] \---- [ parsing attachments ] ---------
[mkv] |+ found cluster, headers are parsed completely :)
==> Found video stream: 1
[mkv] Aspect: 1.833333
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
==> Found audio stream: 2
[mkv] Track ID 2: audio (A_MPEG/L3), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_TEXT/ASS), -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_TEXT/ASS), -sid 1, -slang rus
[mkv] Will play video track 1.
[0x8a085b0] Style: Main01,Ace,37,&H00FFFFFF,&H00FF0000,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,2,10,10,15,0
[0x8a085b0] Style: Narration,Ace,37,&H00FFFFFF,&H0000FFFF,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,2,10,10,15,0
[0x8a085b0] Style: TV,Arial,32,&H00FFFFFF,&H0000FFFF,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,8,10,10,15,0
[0x8a085b0] Style: in-roman,Agenda,32,&H00FFFFFF,&H00E9DCA6,&H002A2919,&H002A2919,-1,0,0,0,100,100,0,0,1,1,0,7,12,10,2,0
[0x8a085b0] Style: in-engli,Agenda,32,&H00FFFFFF,&H00E9DCA6,&H002A2919,&H002A2919,-1,0,0,0,100,100,0,0,1,1,0,7,12,10,28,0
[0x8a085b0] Style: Credits,Goulong,28,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,95,87,0.3,0,1,0,0,2,10,10,10,0
[0x8a085b0] Style: Cast,Goulong,28,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,95,87,0.3,0,1,0,0,1,30,30,30,0
Not understood: ;Dialogue: 0,0:25:21.50,0:25:24.50,Main01,,0000,0000,0000,,[ Excellent! ]  
Not understood: ;SONGS  
Not understood: ;CREDITS  
Not understood: ;Dialogue: 0,1:33:42.88,1:33:54.00,Credits,,0000,0000,0000,,{\fad(2000,2000)\fnTahoma\fs33\pos(325,461)}http://www.solar-fansubs.org\h\h\h\h\h #solar at irc.enterthegame.com  
Not understood: ;Dialogue: 0,0:06:24.15,0:06:25.19,Credits,,0000,0000,0000,,{\fnEager Naturalist\b1\fscx80\fscy100\frz39.5\be1\pos(95,365)\fs35\c&H6972A7&}Try harder  
[0x8a09150] Style: Main01,Arial,32,&H00FFFFFF,&H0000FFFF,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,2,10,10,15,0
[0x8a09150] Style: Narration,Arial,32,&H00FFFFFF,&H0000FFFF,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,2,10,10,15,0
[0x8a09150] Style: TV,Arial,32,&H00FFFFFF,&H0000FFFF,&H00000000,&H96000000,-1,0,0,0,100,100,0,0,1,1.7,1,8,10,10,15,0
[0x8a09150] Style: in-roman,Arial,28,&H00FFFFFF,&H00E9DCA6,&H002A2919,&H002A2919,1,1,0,0,90,100,0,0,1,1,0,7,12,10,6,0
[0x8a09150] Style: in-engli,Arial,28,&H00FFFFFF,&H00E9DCA6,&H002A2919,&H002A2919,1,1,0,0,90,100,0,0,1,1,0,7,12,10,32,0
[0x8a09150] Style: Credits,Tahoma,28,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,95,87,0.3,0,1,0,0,2,10,10,10,0
[0x8a09150] Style: Cast,Tahoma,28,&H00FFFFFF,&H0000FFFF,&H00000000,&H00000000,0,0,0,0,95,87,0.3,0,1,0,0,1,30,30,30,0
Not understood: ;SONGS  
Not understood: ;CREDITS  
[mkv] Will display subtitle track 3.
Matroska file format detected.
VIDEO:  [XVID]  704x384  12bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31  fourcc:0x44495658  size:704x384  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/home/robh/.mplayer/sub/'
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
dvdsublang...toki wo kakeru shoujo roxfan en ru a0a74cdb en
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
[vo] query(Planar YV12) -> 3
[ass] auto-open
[ass] Init
get_path('fonts') -> '/home/robh/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/robh/.mplayer/subfont.ttf'
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 48000 Hz 192 kbit Joint-Stereo, BPF: 576
Channels: 2, copyright: Yes, original: No, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.13
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
[ffmpeg] aspect_ratio: 1.833333
VDec: vo config request - 704 x 384 (preferred colorspace: Planar YV12)
Trying filter chain: ass vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.83:1 - prescaling to correct movie aspect.
VO Config (704x384->704x384,flags=0,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
VO: [xv] 704x384 => 704x384 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 226 for hw scaling
[xv] dx: 0 dy: 0 dw: 704 dh: 384
*** [ass] Allocating mp_image_t, 704x384x12bpp YUV planar, 405504 bytes
[xv] dx: 0 dy: 0 dw: 704 dh: 385
*** [ass] Allocating mp_image_t, 704x384x12bpp YUV planar, 405504 bytes
[ass] PlayResX undefined, setting 880.
*** [vo] Allocating mp_image_t, 704x384x12bpp YUV planar, 405504 bytes
*** [ass] Allocating mp_image_t, 704x384x12bpp YUV planar, 405504 bytes
event at 4744079, +1129: 1152,0,Main01,,0000,0000,0000,,Makoto!  
fontconfig_select: (Ace, 200, 0) -> Ace.ttf, 0
event at 4748469, +2909: 1153,0,Main01,,0000,0000,0000,,It's because Chiaki went back in time!  
event at 4748839, +6089: 1328,0,in-roman,,0000,0000,0000,,kaerimichi fuzakete aruita  
event at 4748839, +6089: 1362,0,in-engli,,0000,0000,0000,,Walking home and fooling around  
fontconfig_select: (Agenda, 200, 0) -> Agenda-MediumItalic.ttf, 0
[ass] FT_Glyph_To_Bitmap error 64 
Killed


More information about the MPlayer-users mailing list