Opened 10 years ago

Closed 18 months ago

#44780 closed defect (fixed)

MPlayer @1.1_8 +osd does not produce osd

Reported by: sam.kuper@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: MPlayer

Description

With OS X 10.6.8 Snow Leopard, XCode Version 3.2.6:

$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.3.1 installed,
MacPorts base version 2.3.1 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
$ port outdated
No installed ports are outdated. 
$ sudo port install mplayer +osd
--->  Computing dependencies for MPlayer
--->  Fetching archive for MPlayer
--->  Attempting to fetch MPlayer-1.1_8+osd.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/MPlayer
--->  Attempting to fetch MPlayer-1.1_8+osd.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/MPlayer
--->  Attempting to fetch MPlayer-1.1_8+osd.darwin_10.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/MPlayer
--->  Fetching distfiles for MPlayer
--->  Attempting to fetch MPlayer-1.1.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/MPlayer
--->  Verifying checksums for MPlayer                                                
--->  Extracting MPlayer
--->  Applying patches to MPlayer
--->  Configuring MPlayer
--->  Building MPlayer
--->  Staging MPlayer into destroot
--->  Installing MPlayer @1.1_8+osd
--->  Deactivating MPlayer @1.1_8
--->  Cleaning MPlayer
--->  Activating MPlayer @1.1_8+osd
--->  Cleaning MPlayer
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
$ sudo port uninstall inactive
--->  Uninstalling MPlayer @1.1_8
--->  Cleaning MPlayer
$ port installed | grep -i mplayer
  MPlayer @1.1_8+osd (active)
$ which mplayer
/opt/local/bin/mplayer
$ mplayer foo.webm

This plays foo.webm just fine, and the usual MPlayer keyboard commands for Pause, Seek, Fullscreen, etc work just fine as well.

However, no keyboard commands relating to the on-screen display ("OSD") have any effect. For example, pressing the "o" key does nothing.

So, after looking at the fonts-osd chapter of the MPlayer docs, I tried a few possible workarounds, without success, as follows:

$ mplayer -font /Library/Fonts/Arial.ttf foo.webm
MPlayer 1.1-4.2.1 (C) 2000-2012 MPlayer Team
192 audio & 400 video codecs
/Library/Fonts/Arial.ttf doesn't look like a bitmap font description, ignoring.
Cannot load bitmap font '/Library/Fonts/Arial.ttf'.
$ mplayer -font Arial foo.webm
MPlayer 1.1-4.2.1 (C) 2000-2012 MPlayer Team
192 audio & 400 video codecs
Cannot load bitmap font 'Arial'.
$ mplayer -font arial foo.webm
MPlayer 1.1-4.2.1 (C) 2000-2012 MPlayer Team
192 audio & 400 video codecs
Cannot load bitmap font 'arial'.

I performed the following checks and cannot see a reason why all of the above should have failed:

$ ls -al /Library/Fonts/Arial.ttf 
-rw-rw-r--  1 root  admin  773236 16 Oct  2009 /Library/Fonts/Arial.ttf
$ which fc-list
/opt/local/bin/fc-list
$ fc-list | grep -i arial
/Library/Fonts/Arial Narrow Italic.ttf: Arial Narrow:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana
/Library/Fonts/Arial: Arial:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/Library/Fonts/Arial.ttf: Arial:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta
/Library/Fonts/Arial Rounded Bold.ttf: Arial Rounded MT Bold:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/Library/Fonts/Arial Italic.ttf: Arial:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana
/Library/Fonts/Arial: Arial:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana
/Library/Fonts/ArialHB.ttf: Arial Hebrew:style=Regular,標準體,Ordinær,Normal,Normaali,Regolare,レギュラー,일반체,Regulier,Обычный,常规体
/Library/Fonts/Arial Unicode.ttf: Arial Unicode MS:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/Library/Fonts/Arial: Arial:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana
/Library/Fonts/Arial Narrow Bold.ttf: Arial Narrow:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia
/Library/Fonts/Arial Bold.ttf: Arial:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia
/Library/Fonts/Arial: Arial:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia
/Library/Fonts/Arial Bold Italic.ttf: Arial:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,nghiêng đậm,Lodi etzana
/Library/Fonts/Arial Black.ttf: Arial Black:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/Library/Fonts/ArialHBBold.ttf: Arial Hebrew:style=Bold,粗體,Fed,Fett,Puolilihava,Gras,Grassetto,ボールド,볼드체,Vet,Fet,Negrito,Жирный,粗体,Negrita
/Library/Fonts/Arial Narrow.ttf: Arial Narrow:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/Library/Fonts/Arial Narrow Bold Italic.ttf: Arial Narrow:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana

N.B. My issue may overlap with #17799, #39307, #41746, although those are less comprehensive tickets than this is.

Change History (2)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 18 months ago by kencu (Ken)

Resolution: fixed
Status: newclosed

mplayer has been updated.

https://github.com/macports/macports-ports/commit/d6e3444351d9e5844a9736c3ac4d0f991a66b920

please reopen with new information if this is still an issue for yoy

Note: See TracTickets for help on using tickets.