[MPlayer-dev-eng] how to change subtitles color?

İsmail Dönmez ismail at pardus.org.tr
Tue Aug 29 16:12:23 CEST 2006


Salı 29 Ağustos 2006 16:46 tarihinde, Evgeniy Stepanov şunları yazmıştı: 
> On Tuesday 29 August 2006 17:18, İsmail Dönmez wrote:
> > Salı 29 Ağustos 2006 15:31 tarihinde, Evgeniy Stepanov şunları yazmıştı:
> > > On Tuesday 29 August 2006 16:12, İsmail Dönmez wrote:
> > > > > Try -ass -ass-force-style
> > > > > 'Default.PrimaryColour=&H0000FFFF,Default.OutlineColour=&H00000000'
> > > > > =) Only for external subs ATM, and you'll need a fresh svn
> > > > > checkout.
> > > >
> > > > That crashes here with latest SVN:
> > > > [...]
> > >
> > > Could you send the .sub file ?
> >
> > Attached.
>
> Works for me.
> Could you try doing the same (valgrind and gdb) with --enable-debug ?
> Also, does it work with -ass, but without -ass-force-style ?

Ok it crashes at ass_mp.c line 51 :

Breakpoint 2, ass_read_subdata (subdata=0x88302c0, fps=23.97599983215332) at 
ass_mp.c:51
51              style->FontName = font_fontconfig ? strdup(font_name) : 
strdup("Tahoma");
(gdb) print font_fontconfig
$1 = 1
(gdb) print font_name
$2 = 0x0

font_name is NULL hence it crashes.

Regards,
ismail

-- 
日本のanimeは揺れる 



More information about the MPlayer-dev-eng mailing list