[MPlayer-users] changing font in subtitle

Sites du soleil - Axel Balaguer webmaster at sitesdusoleil.com
Fri Jun 5 17:51:38 CEST 2009



--------------------------------------------------
From: "ReimarDöffinger" <Reimar.Doeffinger at gmx.de>
Sent: Friday, June 05, 2009 5:18 PM
To: "MPlayer usage questions, feature requests,bug reports" 
<mplayer-users at mplayerhq.hu>
Subject: Re: [MPlayer-users] changing font in subtitle

> On Fri, Jun 05, 2009 at 04:07:47PM +0200, Sites du soleil - Axel Balaguer 
> wrote:
>> Hello
>>
>> I can't change my font using mencoder.
>>
>> I've tried a lot of syntax like :
>>
>> mencoder input_file.avi -sub mysubfile.srt -fontconfig -font
>> /path/to/my/font.ttf -oac copy -ovc lavc  -lavcopts vcodec=flv -o
>> my_output_file.flv
>> mencoder input_file.avi -sub mysubfile.srt -fontconfig -subfont
>> /path/to/my/font.ttf -oac copy -ovc lavc  -lavcopts vcodec=flv -o
>> my_output_file.flv
>
> Because -fontconfig means you specify a font name.
> Either give a font name of a correctly installed font or don't use
> fontconfig.

Thanks for helping.

So if I've understand correctly, I have to define the fonts I want to use in 
the /etc/fonts/fonts.conf, copy the ttf file in /usr/share/fonts/truetype 
and the pass the font name via the -fontconfig -font option ?

> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> 


More information about the MPlayer-users mailing list