[MPlayer-dev-eng] [PATCH] Enhance GUI

Rüdiger Kuhlmann mplayer-list-UGa6JdjLujS2 at ruediger-kuhlmann.de
Thu Nov 28 18:31:14 CET 2002


Hi there,

I made a small patch to increase the usefullness of the GUI. It does several
little things: it exposes the movie width and height and the codec name to
dynamic labels, it adds two new events to switch to the first and to the
second audio channel for files (it unfortunately restarts the movie, mplayer
seems not to be able to switch it on-the-fly), and it actually initializes
the movie length at least for avi files. I'd be glad if this patch or
something similar could be added to mplayer. Here's the patch:
http://www.stud.uni-karlsruhe.de/~uck4/Krams/mplayer-patch

I also made a new skin that uses the new features exposed by the patch; it
is based upon the default theme, KDE icons and the neep font. You may
consider it butt ugly (it shows I'm not a designer), however, it has a huge
advantage to every other skin available: you don't need a lense to find all
available buttons. Here's the skin:
http://www.stud.uni-karlsruhe.de/~uck4/Krams/KDE.tgz

The approach for selecting the audio channel, unfortunately, isn't as good
as it could be, because for one, I don't know how to figure out which audio
channels are available, and there is no GUI element to select an integer (I
tried the float hpotentiometer with only a few states, but it's a bitch to
make sure the image is exactly in sync with the value calculated from the
float).

Also, the i18n support within mplayer is sub-par; menu entries containing
8bit characters are cut off at that character (that's related to iso-8859-1
encoded strings not being valid UTF-8 encoded strings - somewhere an iconv()
breaks). Also, the GUI font descriptions allow only for 8bit characters, not
UTF8 characters (I tweaked my font to work with UTF8 as well provided you
only use the 8bit characters used in the German language, which Works For
Me[tm]). I'd be glad if someone would be working on those...

Yours, Rüdiger.

-- 
         100 DM =  51  € 13 ¢.
         100  € = 195 DM 58 pf.
  mailto:ruediger at ruediger-kuhlmann.de
    http://www.ruediger-kuhlmann.de/



More information about the MPlayer-dev-eng mailing list