MPlayer GUI (was: Mplayer sound)
Following my post last week, I've been doing some more with this. As Clayton suggested, I recompiled Mplayer from scratch. If I start gmplayer, I can add mp3s or oggs to a playlist and play them OK. If I run: mplayer -ao alsa9 -vo xv -dvd 1 -dvd-device /dev/dvd the film starts OK, with good sound. However, if I run the same list of options with gmplayer instead of mplayer, I get the message about the PC not being fast enough to play this. The relevant console messages are attached. I then tried Karol's rpm, but this refuses to launch, with a message that it can't open .VMG info. Again, the console messages are attached. In the event, I have got Xine working, athough it does its usual thing of not playing direct from the GUI - you have to go to the dvdnav submenu and select one of those. I'd still like to follow up why MPlayer isn't working as expected, though, so if anyone has some good lines of inquiry .... Thanks Kevin
On Sunday 17 November 2002 16:43, Kevin Donnelly wrote:
Following my post last week, I've been doing some more with this. As Clayton suggested, I recompiled Mplayer from scratch. If I start gmplayer, I can add mp3s or oggs to a playlist and play them OK. If I run: mplayer -ao alsa9 -vo xv -dvd 1 -dvd-device /dev/dvd the film starts OK, with good sound. However, if I run the same list of options with gmplayer instead of mplayer, I get the message about the PC not being fast enough to play this. The relevant console messages are attached.
I sometimes get stupid errors like that, where mplayer and gmplayer act differently. I end up doing: rm -f ~/.mplayer/*conf* -- Looking at your attached files, this is what I noticed. [ mplayer does this] Selected audio codec: [a52] afm:liba52 (AC3-liba52) ========================================================================== vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough [ while gmplayer does this instead] Selected audio codec: [a52] afm:liba52 (AC3-liba52) ========================================================================== ========================================================================== Trying to force video codec driver family -1 ... Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough One thing, though. My mplayer/gmplayer do the _same_ exact thing, but I am able to play DVDs using both SDL and alsa as the audio output driver flawlessly. [FYI, on both our machines the xv video out driver fails.] In other words, this is a killer. What version of SuSE/kernel are you using? [I'm using SuSE 8.1/2.4.19] What version of SDL are you compiling against? [SDL 1.2.5 came out October 06, which is what I'm using.] Also, MPlayer 0.90pre10 came out recently; I see you're using pre9 [I never tried DVDs using pre9].
I then tried Karol's rpm, but this refuses to launch, with a message that it can't open .VMG info. Again, the console messages are attached.
Are you sure those are my RPMs?? The output says that GUI support was not enabled, and I don't ever remember my compiles doing that. At any rate... I would like my RPMs to be working. Has anyone else had this same problem? Have you tried pre10 [http://www.mplayerhq.hu/homepage/ -r https://sourceforge.net/project/admin/?group_id=28610]? I doubt it fixes it, but... Actually, I was just reading through Usenet on this problem (VIDEO_TS.IFO cannot be read). One person's solution was to reboot. Another person's answer was to compile MPlayer without libdvdread support. http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=20011020010947.A3518%40i2.informatik.rwth-aachen.de&rnum=6&prev=/groups%3Fq%3DVIDEO_TS.IFO%2Bmplayer%2Bopen%2Bfile%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D20011020010947.A3518%2540i2.informatik.rwth-aachen.de%26rnum%3D6 http://www.linuxquestions.org/questions/history/30982
In the event, I have got Xine working, athough it does its usual thing of not playing direct from the GUI - you have to go to the dvdnav submenu and select one of those.
I'd still like to follow up why MPlayer isn't working as expected, though, so if anyone has some good lines of inquiry ....
Please post back. I'm interested in helping solving your problem as well as fixing my RPMs. -- Karol Pietrzak <noodlez84@earthlink.net> PGP KeyID: 3A1446A0
On Monday 18 November 2002 2:04 am, Karol Pietrzak wrote:
I then tried Karol's rpm, but this refuses to launch, with a message that it can't open .VMG info. Again, the console messages are attached.
Are you sure those are my RPMs?? The output says that GUI support was not enabled, and I don't ever remember my compiles doing that. At any rate...
I would like my RPMs to be working. Has anyone else had this same problem? Have you tried pre10 [http://www.mplayerhq.hu/homepage/ -r https://sourceforge.net/project/admin/?group_id=28610]? I doubt it fixes it, but...
Hi Sorry to keep coming back to this spasmodically, but other things keep intervening. I downloaded your pre10 rpm, Karol, and it installs fine. Running it via mplayer -ao alsa9 etc (as in my last post) plays the DVD beautifully, with sound, as does gmplayer etc. BUT, I still get no GUI with the latter, and the console printout says: MPlayer was compiled WITHOUT GUI support! I can roll backwards and forwards through the DVD with the mousewheel, though, which is an advance on Xine, but I can't adjust the brightness/contrast, which is a step back! Just thought I'd let you know. Thanks Kevin
On Thursday 05 December 2002 19.46, Kevin Donnelly wrote:
I can roll backwards and forwards through the DVD with the mousewheel, though, which is an advance on Xine,
Don't judge xine by what you can or cannot do through the xine gui. Xine is primarily a library, there are several guis you can use. Two examples are kxine, which fits into the KDE look&feel, and totem which is made for gnome. What you can do through the gui varies from gui to gui. It's a good design decision, and I hope SuSE comes to their senses and goes back to xine for future releases.
On Thursday 05 December 2002 7:05 pm, Anders Johansson wrote:
Don't judge xine by what you can or cannot do through the xine gui. Xine is primarily a library, there are several guis you can use. Two examples are kxine, which fits into the KDE look&feel, and totem which is made for gnome. What you can do through the gui varies from gui to gui. It's a good design decision, and I hope SuSE comes to their senses and goes back to xine for future releases.
Now that I have two DVD-players running (see my other post), I have a slight preference for Xine, but that may just be because I've used it on 7.3. kxine seems to be a work in progress, but totem looks quite nice, and I would like to try it. It uses Gnome2, though, so I'll have to educate myself a bit more on what other packages need to be installed first. Thanks Kevin
[snip]
I can roll backwards and forwards through the DVD with the mousewheel, though, which is an advance on Xine, but I can't adjust the brightness/contrast, which is a step back!
Brightness, contrast and color (hue) are adjustable in MPlayer... you just gotta know the secret keys (or find it buried somewhere in the documentation like I did) Try the number keys (above qwerty, not the number pad) If I remember the ordewr correctly.... 1 and 2 are contrast. 3 and 4 are brightness. 5 and 6 are color. C.
On Thursday 05 December 2002 7:05 pm, Clayton Cornell wrote:
Brightness, contrast and color (hue) are adjustable in MPlayer... you just gotta know the secret keys (or find it buried somewhere in the documentation like I did) Try the number keys (above qwerty, not the number pad) If I remember the ordewr correctly.... 1 and 2 are contrast. 3 and 4 are brightness. 5 and 6 are color.
Brilliant tip, Clayton! As Michael Caine might say, not a lot of people know that. This works great for fast fine-tuning even when the GUI is running OK, as it is now (see my other post). Thanks Kevin
On Thursday 05 December 2002 13:46, Kevin Donnelly wrote:
Sorry to keep coming back to this spasmodically, but other things keep intervening.
I downloaded your pre10 rpm, Karol, and it installs fine. Running it via mplayer -ao alsa9 etc (as in my last post) plays the DVD beautifully, with sound, as does gmplayer etc. BUT, I still get no GUI with the latter, and the console printout says: MPlayer was compiled WITHOUT GUI support!
Can you post the exact output of "mplayer -ao alsa9" here? I don't see how there could be no GUI support. $ rpm -q MPlayer MPlayer-0.90pre10-4 $ mplayer Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/share/locale MPlayer 0.90pre10-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS) CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Reading /home/noodlez/.mplayer/codecs.conf: can't open '/home/noodlez/.mplayer/codecs.conf': No such file or directory Reading /etc/codecs.conf: 44 audio & 110 video codecs Usage: mplayer [options] [url|path/]filename Basic options: (see the man page for the complete list) [...big snip...] $
I can roll backwards and forwards through the DVD with the mousewheel, though, which is an advance on Xine,
I definitely like the FORWARD 10 SECONDS feature as well. it's great hitting the arrow keys or the mouse wheel to do so. So handy... Even Windows Media Player doesn't do that.
but I can't adjust the brightness/contrast, which is a step back!
I was pretty sure that I saw BRIGHTNESS/CONTROLS controls under gmplayer PREFERENCES, but I was wrong. I just checked. :( Nevertheless, they -are- configurable. See 'man mplayer': -brightness <-100 - 100> Adjust brightness of video output (default 0). It changes intensity of RGB components of video signal from black to white screen. -contrast <-100 - 100> Adjust contrast of video output (default 0). Works in similar manner as brightness. I'll check in the next week or so whether namp [http://j.a.l.free.fr/namp/index.html], another MPlayer frontend, has BRIGHTNESS/CONTRAST controls in its setup. -- Karol Pietrzak <noodlez84@earthlink.net> PGP KeyID: 3A1446A0
On Thursday 05 December 2002 9:10 pm, Karol Pietrzak wrote:
Can you post the exact output of "mplayer -ao alsa9" here? I don't see how there could be no GUI support.
I owe you a thousand apologies, Karol. When I read the output closely, it referred to pre9, and the new RPM I'd installed from you was pre10. Sure enough, the previous compile I'd done had put a gmplayer in /usr/local/bin, and this was the one that was launching. Your rpm gmplayer was in /usr/bin, and once I specifically added this to the launch string your gmplayer ran beautifully. So I've learnt a bit more ... The only issue is that it gives a messages at start-up: New_face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. It starts up anyway, though. I do in fact have the fonts directory from the source, and I tried fiddling about with that, but it doesn't make any difference. Not a show-stopper in any case. One thing I have noticed is that running a full launch line in a console seems to run the dvd with less jerkiness than just launching gmplayer and then running DVD -> Open from the GUI menu. But that may just be my imagination.
I was pretty sure that I saw BRIGHTNESS/CONTROLS controls under gmplayer PREFERENCES, but I was wrong. I just checked. :(
They're the fourth button along on the GUI, then Video tab. But Clayton's keyboard shortcuts are great too. Thanks very much for your help, Karol, and for preparing the rpms in the first place. I now have two DVD players running - an embarras de richesse, indeed! I think at the minute I have a slight preference for Xine, but I haven't tried them on any files other than a DVD. Thanks again Kevin
On Friday 06 December 2002 05:28, Kevin Donnelly wrote:
I owe you a thousand apologies, Karol. When I read the output closely, it referred to pre9, and the new RPM I'd installed from you was pre10. Sure enough, the previous compile I'd done had put a gmplayer in /usr/local/bin, and this was the one that was launching. Your rpm gmplayer was in /usr/bin, and once I specifically added this to the launch string your gmplayer ran beautifully. So I've learnt a bit more ...
Apology graciously accepted. At least you figured out what was wrong.
The only issue is that it gives a messages at start-up: New_face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. It starts up anyway, though. I do in fact have the fonts directory from the source, and I tried fiddling about with that, but it doesn't make any difference. Not a show-stopper in any case.
Yeah, I was/am fully aware of that. I don't exactly know what that font is used for (possibly subtitles?), but the solution is fairly easy: just create a symlink to the font you want. Me: # l ~/.mplayer/subfont.ttf lrwxrwxrwx 1 noodlez users 43 2002-10-22 17:53 .mplayer/subfont.ttf -> /usr/X11R6/lib/X11/fonts/truetype/arial.ttf # I was aware of this when I created the RPMs, but I decided against doing anything automatically.
One thing I have noticed is that running a full launch line in a console seems to run the dvd with less jerkiness than just launching gmplayer and then running DVD -> Open from the GUI menu. But that may just be my imagination.
Well, with the same exact settings, I'd so definitely not. Make sure gmplayer is using the same drivers as mplayer. Check out your ~/.mplayer/gui.conf .
Thanks very much for your help, Karol, and for preparing the rpms in the first place. I now have two DVD players running - an embarras de richesse, indeed! I think at the minute I have a slight preference for Xine, but I haven't tried them on any files other than a DVD.
Then you might be interested to know that Packman (packman.links2linux.de) has xine RPMs compiled for i686. Also available via their APT repository. -- Karol Pietrzak <noodlez84@earthlink.net> PGP KeyID: 3A1446A0
I was about to recommend Karol Pietrzak's rpm of Mplayer to a friend at our LUG, but when I checked: https://sourceforge.net/project/showfiles.php?group_id=28610 the only rpm there is mplayer-skins. Does anyone (or Karol) know what has happened to the Mplayer rpm - did he take it down (perhaps because he had two many people like me asking dumb questions about it?) Best wishes Kevin
participants (4)
-
Anders Johansson
-
Clayton Cornell
-
Karol Pietrzak
-
Kevin Donnelly