FS#12908 - Mplayer no longer shows OSD text

Attached to Project: Arch Linux
Opened by Dylan Armstrong (meinhimmel) - Friday, 23 January 2009, 17:01 GMT
Last edited by Hugo Doria (hdoria) - Monday, 26 January 2009, 12:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Hugo Doria (hdoria)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Mplayer no longer shows OSD texting following update. Also searching by using arrow keys and such no longer displays the bar showing how far into the film you are. Basically all output except the actual video isn't showing.

Additional info:
* package version(s)
mplayer 28347-1

* config and/or log files etc.

Steps to reproduce:
Upgrade to latest mplayer
This task depends upon

Closed by  Hugo Doria (hdoria)
Monday, 26 January 2009, 12:21 GMT
Reason for closing:  Fixed
Comment by Hugo Doria (hdoria) - Friday, 23 January 2009, 18:15 GMT
OSD is working great here. Have you configured it under mplayer preferences? Take a look at OSD scale.
Comment by Oli (b52) - Friday, 23 January 2009, 18:17 GMT
I have the same problem, its due the wrong detection of freetype2:
--configure.log--
============ Checking for freetype >= 2.0.9 ============

#include <stdio.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9)))
#error "Need FreeType 2.0.9 or newer"
#endif
int main(void) {
FT_Library library;
FT_Int major=-1,minor=-1,patch=-1;
int err=FT_Init_FreeType(&library);
if (err) {
printf("Couldn't initialize freetype2 lib, err code: %d\n",err);
exit(err);
}
FT_Library_Version(library,&major,&minor,&patch); // in v2.1.0+ only :(((
printf("freetype2 header version: %d.%d.%d library version: %d.%d.%d\n",
FREETYPE_MAJOR,FREETYPE_MINOR,FREETYPE_PATCH,
(int)major,(int)minor,(int)patch );
if (major!=FREETYPE_MAJOR || minor!=FREETYPE_MINOR) {
printf("Library and header version mismatch! Fix it in your distribution!\n");
exit(1);
}
return 0;
}

cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -I. -I/usr/lib/live-media -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -Ilibdvdread4 -lncurses -lsmbclient -lmng -lz -lasound -ldl -lpthread -lcdda_interface -lcdda_paranoia -lXss -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib -lcaca -lncurses -lncurses -L/usr/lib -lSDL -lpthread -ljack -o /tmp/mplayer-conf-14770-7106 /tmp/mplayer-conf-8187-7106.c -I/usr/include/freetype2 -lfreetype -lz


Result is: no
##########################################

the test segfaults:
core (x86-64) -

this problem also affects the processing of subtitles:
http://bugs.archlinux.org/task/12900?string=mplayer&project=1&search_name=&type[0]=&sev[0]=&pri[0]=&due[0]=&reported[0]=&cat[0]=&status[0]=open&percent[0]=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

best regards, b52
Comment by Oli (b52) - Friday, 23 January 2009, 18:17 GMT Comment by Hugo Doria (hdoria) - Friday, 23 January 2009, 18:21 GMT
I am sorry. I just saw that this is for x86_64.

The problem seems to be related with this:
http://bugs.archlinux.org/task/12897
Comment by Dylan Armstrong (meinhimmel) - Friday, 23 January 2009, 18:28 GMT
I just checked the OSD scale and yeah it's at the default 2 right now. I'm going to recompile with the --enable-freetype option and see if that'll do it.
Comment by Oli (b52) - Friday, 23 January 2009, 18:57 GMT
building it as root (makepkg --asroot) works
Comment by Dylan Armstrong (meinhimmel) - Friday, 23 January 2009, 19:06 GMT
I fixed the issue by compiling mplayer with --enable-freetype .

The package I used was from AUR http://aur.archlinux.org/packages.php?ID=18516 . I hope this helps.
Comment by Hugo Doria (hdoria) - Monday, 26 January 2009, 12:21 GMT
Fixed in mplayer 28347-2.

Loading...