[MPlayer-users] Assertion failed in libmpcodecs/vf_ass.c:224

Bartek Ćwikłowski paczesiowa at dw.pl
Thu Aug 27 09:04:04 CEST 2009


hi,

I use mplayer with smplayer frontend (and some middle-end script to adjust 
mplayer args) and it crashes with some movies when using ssa lib to render 
subtitles (works fine without ssa).

mplayer error is:
mplayer: libmpcodecs/vf_ass.c:224: copy_from_image: Assertion `last_row <= vf-
>priv->outh' failed.

if I comment out that assertion, it works with a small glitch: when it's 
supposed to crash, there are two green lines under subtitles ( 
http://img150.imageshack.us/img150/4607/asssubtitles.png ), but they disappear 
on the next subtitle, and if I go back 5 seconds, they don't appear again.

here are real (after my wrapper script) mplayer command line arguments:
/usr/bin/mplayer -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -
slave -vo xv -ao alsa -nokeepaspect -framedrop -nodr -double -input nodefault-
bindings:conf=/dev/null -stop-xscreensaver -wid 37748749 -monitorpixelaspect 1 
-ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles 
/home/paczesiowa/.config/smplayer/styles.ass -fontconfig -font Arial -subfont-
autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp enca:pl:UTF-8 
-vid 0 -sub /home/paczesiowa/tmp/The.Boy.In.The.Striped.Pyjamas-iKA_en.srt -
subpos 100 -volume 96 -cache 2000 -ss 239 -osdlevel  -noslices -channels 2 -af 
scaletempo /home/paczesiowa/tmp/The.Boy.In.The.Striped.Pyjamas-iKA.avi -vf 
expand=::0:0::5/3 -vf-pre dsize=2/1 -ass-force-style 
MarginV=240,FontSize=23,Alignment=6

mplayer version is 29551 (today), same thing in version from portage 29463, 
but gentoo's version from march (29040) works fine.

thanks in advance,
Bartek Cwiklowski


More information about the MPlayer-users mailing list