On Mon, Jul 13, 2009 at 9:50 AM, Jake Briggs <jak...@coretech.co.nz> wrote:
> Oddly enough, I think I was having the same issue last night. You are
> missing the symlink ~/.mplayer/subfont.ttf to a font, or have not compiled
> font-config suppport into mplayer.
>
> I started to use the svn mplayer about two weeks ago, compiled by hand. I
> was watching an avi which should have had subtitles for 2 minutes in the
> middle of the movie, but they just plain old didn't show.
> Then, I noticed hitting the button "o" (which is supposed to Toggle OSD
> states - showing time left to play etc ) didn't work either - the triangle
> showed up, but the time didn't.
>
> After reconfiguring freevo to debug child apps (DEBUG_CHILDAPP=1 in
> local_conf.py - it changed from "CHILDAPP_DEBUG=1" at some stage) I noticed
> this in my logs :
>
> j...@captainspaulding:/var/log/freevo$ cat
> mplayer-stderr-1000-1247381546.log
> New_Face failed. Maybe the font path is wrong.
> Please supply the text font file (~/.mplayer/subfont.ttf).
> subtitle font: load_sub_face failed.
> New_Face failed. Maybe the font path is wrong.
> Please supply the text font file (~/.mplayer/subfont.ttf).
> subtitle font: load_sub_face failed.
> j...@captainspaulding:/var/log/freevo$
>
> So, I picked a font and symlinked to it from ~/.mplayer/subfont.ttf. I used
> :
>
> subfont.ttf -> /usr/share/fonts/truetype/freefont/FreeSans.ttf
>
> The other option is to recompile mplayer with font config support. After
> you do this, you may need to add this :
>
>
> -------- 8< --------
> # get a default OSD font from fontconfig
>
> fontconfig = yes
> font = "Sans"
> subfont-text-scale = 3
> -------- 8< --------
>
> to /etc/mplayer/mplayer.conf but I haven't tried it that way.
>
> jake
>
Thanks, Will try that when I get home ..
Cheers,
Bernie
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users