Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291593 - media-video/mplayer-1.0_rc2_p20090731: OSD does not work
Summary: media-video/mplayer-1.0_rc2_p20090731: OSD does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 295154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-02 14:54 UTC by dunerkahl
Modified: 2009-12-22 09:35 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dunerkahl 2009-11-02 14:54:24 UTC
After emerging media-video/mplayer-1.0_rc2_p20090731, mplayer doesn't play videos with "Error parsing option fontconfig=1 at line 132".
So if i remove fontconfig=1 from "/etc/mplayer/mplayer.conf", videos play again but the OSD doesn't work anymore.
During compilation ./configure says "Checking for fontconfig ... no (FreeType support needed)", but freetype is installed on my system and the truetype use-flag is set.

Reproducible: Always

Steps to Reproduce:
1. emerge media-video/mplayer-1.0_rc2_p20090731
2. play a video
3. get "Error parsing option fontconfig=1 at line 132"
4. remove fontconfig=1 from "/etc/mplayer/mplayer.conf"
5. recognize that the osd doesn't work anymore

Actual Results:  
OSD doesn't work

Expected Results:  
mplayer should work with OSD

Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_920_Processor-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 02 Nov 2009 14:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amrnb amrwb berkdb bzip2 cairo cddb cdio cdparanoia cli cracklib crypt cups dbus dga dirac divx dri dts dvb encode exif faac faad ffmpeg fftw flac fontconfig fortran gd gdbm gif gnutls gpm gstreamer gtk gtkhtml hal iconv icu imap ipv6 jpeg jpeg2k libsamplerate matroska mikmod mmx mmxext mng modules mp2 mp3 mudflap multilib musepack ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl plotutils png pppd python qt3support readline reflection samba sdl session smime smp speex spl sse sse2 sse3 sse4a ssl ssse3 startup-notification svg sysfs tcpd teletext tga theora threads tiff timidity truetype unicode usb v4l v4l2 vorbis webkit wma wmf x264 xcb xml xorg xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aleksander Balicki 2009-11-05 20:09:54 UTC
I have identically same problem

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================                                  
System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-1.12.13
Timestamp of tree: Thu, 05 Nov 2009 17:45:03 +0000                                                          
ccache version 2.4 [enabled]                                                                                
app-shells/bash:     4.0_p28                                                                                
dev-java/java-config: 2.1.9-r1                                                                              
dev-lang/python:     2.6.2-r1, 3.1.1-r1                                                                     
dev-util/ccache:     2.4-r7                                                                                 
dev-util/cmake:      2.6.4-r3                                                                               
sys-apps/baselayout: 1.12.13                                                                                
sys-apps/sandbox:    1.6-r2                                                                                 
sys-devel/autoconf:  2.13, 2.63-r1                                                                          
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                   
sys-devel/binutils:  2.18-r3                                                                                
sys-devel/gcc-config: 1.4.1                                                                                 
sys-devel/libtool:   2.2.6a                                                                                 
virtual/os-headers:  2.6.27-r2                                                                              
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac aalib accessibility acl acpi akonadi alsa apache2 apm aspell automount bash-completion berkdb branding bzip2 cairo caps cdda cdinstall cdio cdparanoia chm clamdtop cli consolekit corefonts cracklib crypt cscope css ctype cups curl custom-optimization cxx dbus dhclient disk-partition djvu dri dvd dvdr ebook encode epos exiscan-acl extras fam festival ffmpeg flac flite fortran freetts fuse gadu gd gdbm gif gimp glib glitz gmp gnutls gpm graphviz gs gstreamer hal hddtemp hdri httpd iconv idn imagemagick imap ipv6 irc jabber jadetex java java6 jbig jpeg jpeg2k kde kipi kpathsea kqemu lame latex libcaca live lm_sensors lmtp lzma lzo mad maildir mailwrapper mbox mbrola mmx mmxext modules motif mp3 mp4 mpeg msn mudflap musepack mysql mysqli ncurses network-cron nls nptl nptlonly nsplugin ntfs odbc offensive ogg openal opengl openmp oss pae pam pch pcre pdf perl phonon php plasma png policykit postgres pppd prediction python qmail-spp qt3support qt4 quicktime rar readline redland reflection resolvconf rss ruby sasl scanner sdl semantic-desktop sensord session skype sndfile soup spell spl sql sqlite srt sse sse2 ssl stream subversion svg svga svm sysfs syslog tcpd theora threads thumbnail tidy tiff tk truetype unicode usb vcd vhosts vidix vim-pager vim-syntax vlm vorbis wavpack webinterface webkit win32codecs wxwindows x86 xanim xattr xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Gabor MARTON 2009-11-21 19:30:48 UTC
Not only OSD doesn' work....it refuses to load subtitles:

mplayer -subfont-text-scale 5 -font /usr/share/fonts/corefonts/times.ttf -vo xv -sub-bg-alpha 100 -af extrastereo=2 -ao alsa -fs sth.avi -sub somesub.srt

...and the answer is:

The fontconfig option can't be used in a config file.
Error parsing option fontconfig=1 at line 132
Warning unknown option subfont-osd-scale at line 133
Warning unknown option subfont-text-scale at line 134


My emerge --info goes like tihs:

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8-amelie i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-amelie-i686-Intel-R-_Pentium-R-_D_CPU_3.20GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 18 Nov 2009 09:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi activefilter additions alsa atm bacula-clientonly bacula-console bacula-nodir bacula-nosd bash-completion bashlogger berkdb bl bluetooth branding browserplugin bzip2 cairo caps cdr chdir cli client-only consolekit cracklib crypt cups curl customlog dbus dhcp divx dri dts dv dvb dvd dvdnav dvdr ecc editor eds emboss encode evo exif extensions fam fat fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp gimpprint gnome gnutls gpm gstreamer gtk h323 hal hardware-carrier httpd i8x0 iconv id3tag idea imap insecure-savers ipv6 java jpeg jpeg2k kde ldap libcaca libnotify libv4l2 lirc live lm_sensors logitech-mouse logrotate lzo mad matroska mbox mikmod mime mmx mmx2 mmxext modules mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql nas ncurses new-login nls nowebdav nptl nptlonly nsplugin ntfs nvidia nxclient offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd prediction python qt3support qt4 quicktime rar rdesktop readline realmedia reflection replytolist samba scanner schroedinger sdk sdl server session shout skins slang smp snmp speex spell spl sse sse2 ssl startup-notification stream subtitles svg sysfs tcpd teamarena threads thunar tiff tk tools transmitter truetype twolame unicode usb userlocales v4l v4l2 vditool video vim-pager vim-syntax vlm vnc vncviewer vorbis wav wavpack win32codecs wma wmf wmp wxwindows x264 x86 xchat xcomposite xforms xinerama xml xorg xosd xscreensaver xulrunner xv xvid zaptel zeroconf zlib zrtp" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="serial " USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa s3 s3virge savage"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 3 scwang 2009-12-07 01:01:48 UTC
(In reply to comment #0)
> After emerging media-video/mplayer-1.0_rc2_p20090731, mplayer doesn't play
> videos with "Error parsing option fontconfig=1 at line 132".

Update to the current unstable version =media-video/mplayer-1.0_rc4_p20091026-r1, the OSD works normally.
Comment 4 Harald Urkan 2009-12-18 17:49:55 UTC
I managed to resolve this issue by re-emerging mplayer with USE="-ass -truetype".
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-12-22 09:34:15 UTC
Closing as fixed by 1.0_rc4_p20091026-r1, see bug 297846.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-12-22 09:35:04 UTC
*** Bug 295154 has been marked as a duplicate of this bug. ***