LinHES Forums
http://forum.linhes.org/

Truncation of OSD info in Mplayer -- solution
http://forum.linhes.org/viewtopic.php?f=5&t=16969
Page 1 of 1

Author:  marc.aronson [ Sun Oct 14, 2007 6:34 pm ]
Post subject:  Truncation of OSD info in Mplayer -- solution

After upgrading from R5D1 to R5F27 I noticed that mplayer's OSD (On Screen Display) information, which is displayed in the upper left corner of the screen was being cut off on the top. This resulted in only the bottom 70% of the text being visible. After doing some digging I found a solution. If you're currently using the option "-vo gl" when you invoke mplayer, change it to "-vo gl:scaled-osd" and the problem is solved.

Marc

Author:  graysky [ Mon Oct 15, 2007 2:00 am ]
Post subject: 

Nice post, MA. I think the font used with R5F27 is 24 or 28 pt. I would guess that if the user reduced the font size, the OSD would be fine. Instructions for doing so are in the Mplayer upgrade thread.

If you get a minute and want to test it out, I'd be interested in knowing.

Author:  marc.aronson [ Mon Oct 15, 2007 6:45 am ]
Post subject: 

Graysky, my issue was that the default mplayer behavior when using the "gl" driver is to not scale the OSD fonts. Once I enabled OSD font scaling, the default OSD font size fit properly on the screen. I didn't need to change the OSD font size to solve my problem.

I'd be happy to try your font-size change instructions to provide feedback, but it's a long thread. Can you point me to the specific post in that thread that provides those instructions? Thanks.

Marc

Author:  graysky [ Mon Oct 15, 2007 2:00 pm ]
Post subject: 

@MA: I'll have to check to see what the default switches for mplayer are in my mythtv setup, until then, here is the relevant info as per your request:

Get a font (arial in this case):
Code:
$ wget  http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2


Install the font; I used arial 24:
Code:
$ tar -xjf font-arial-iso-8859-1.tar.bz2
# mkdir /home/mythtv/.mplayer/font ; cd /home/mythtv/font-arial-iso-8859-1/
# cp font-arial-24-iso-8859-1/* ../.mplayer/font/
$ cd ..
$ rm -rf font-arial-iso-8859-1

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/