Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th March 2013, 02:10 PM
rholme Offline
Registered User
 
Join Date: May 2009
Posts: 83
linuxfirefox
fedora18 gmplayer installation

Firstly for the record, fedora 18 comes with gtk, zlib, and alsa installed by default, BUT to configure and build mplayer with the gui interface (hence gmplayer) one needs development versions of include (and possibly libraries). So the following command is necessary BEFORE you "configure --enable-gui"

64 bit:
yum install zlib-devel.x86_64 gtk2-devel.x86_64 alsa-lib-devel.x86_64

for 32 bit, you also need yasm - so
yum install zlib-devel.i686 gtk2-devel.i686 alsa-lib-devel.i686 yasm-devel.i686

The error message from configure is almost worthless (except for yasm) - it mumbles about needing zlib even if it is alsa that is required. The config.log file is worthless for gtk, zlib and alsa as the last line only says checking on the gui.

--- After adding the above I was able to build mplayer and gmplayer successfully.

On the 64 bit machine, all runs fine. On the 32 bit machine mplayer runs fine, but gmplayer brings up a window for graphics for only a split second and then just continues with the audio portion. I logged stuff to see what happened - mostly the same, but ..
gmplayer used a full path to the video while mplayer uses ./

Here is the trailing stuff from mplayer stdout:

[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
================================================== ========================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.92.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
================================================== ========================
================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 96.0 kbit/3.40% (ratio: 11999->352800)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [alsa] 44100Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [gl_nosw] 640x360 => 640x360 Planar YV12
A: 0.2 V: 0.0 A-V: 0.231 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
...

Here is the comparable portion from gmplayer stdout:

================================================== ========================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.92.100 (internal)
AUDIO: 44100 Hz, 2 ch, floatle, 96.0 kbit/3.40% (ratio: 11999->352800)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [alsa] 44100Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A: 0.0 (00.0) of 278.8 (04:38.7) ??,?%
...

and stderr from gmplayer also logs
[AO_ALSA] Unable to find simple control 'PCM',0.
[AO_ALSA] Unable to find simple control 'PCM',0.
...

Obviously gmplayer launches mplayer poorly but I have no idea what is being left out of the path or ...

I can live without the graphics version but it sure would be nice to have it working.

PS - I had this working with fedora 16
Reply With Quote
  #2  
Old 8th March 2013, 01:44 AM
dobbi Offline
Registered User
 
Join Date: Jan 2011
Posts: 68
windows_7firefox
Re: fedora18 gmplayer installation

SMPlayer installs without a hitch and I find it more pleasant.

As for GMPlayer have you read the help first to see how one can launch it?
I could as easy as puting %f on the desktop launcher.

http://standards.freedesktop.org/des...t/ar01s06.html

or something else.
Reply With Quote
  #3  
Old 8th March 2013, 01:22 PM
rholme Offline
Registered User
 
Join Date: May 2009
Posts: 83
linuxfirefox
Re: fedora18 gmplayer installation

Thanks for the info on smplayer - will try it.

As for gmplayer - I can use it fine on the 64 bit machine, it is ONLY the 32 bit that fails (and that is strange as mplayer works there fine). If you do not know, gmplayer is a link to mplayer. I suspect that after determining that the "g" prefix is there that it starts the graphic interface in the parent and launches a child to do the video - and does not setup the environment right for the 32 bit.
Reply With Quote
  #4  
Old 8th March 2013, 01:33 PM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,220
linuxfirefox
Re: fedora18 gmplayer installation

moved to Using Fedora from Linux Chat. (seems to be a Fedora-related issue)
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #5  
Old 8th March 2013, 02:02 PM
rholme Offline
Registered User
 
Join Date: May 2009
Posts: 83
linuxfirefox
Re: fedora18 gmplayer installation

You could be right, but that is NOT my first guess.

As mplayer works fine on the 32 bit machine (video + audio) and the gmplayer (parent II suspect) launches the graphical interface forking (again guessing) the window that normally does audio and video BUT THEN THAT child window freaks claiming no video, I suspect it is gmplayer forking a child but not passing the environment along right on the 32 bit version. I noted that using the identical command line (minus the "g" prefix) that the output to stdout/stderr (did not separate) also reflected differing paths to the short movie test I was trying (mplayer uses "./name" and gmplayer uses the fully qualified path.

But I have been wrong before, so you may be right.
Reply With Quote
  #6  
Old 9th March 2013, 09:58 PM
rholme Offline
Registered User
 
Join Date: May 2009
Posts: 83
linuxfirefox
Re: fedora18 gmplayer installation

OK, THANKS. I removed mplayer - 2d ays installing it gone but good lessons.

SMPLAYER is just what I wanted - total installation - 10 min (finding instructions took a few more).

It does run in debug mode (very verbose) for the 32 bit version. The 64 bit version is fine.
Reply With Quote
Reply

Tags
fedora18, gmplayer, install

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Two different looking with fedora17 and fedora18 priscilla Using Fedora 17 2nd March 2013 08:45 AM
TDE for Fedora18 mortimer777 Programming & Packaging 5 1st March 2013 08:47 PM
fedora18 vmware 9 alge1 Using Fedora 4 5th February 2013 08:54 AM
Fedora18 rd.luks.key not working tony4377 Using Fedora 2 4th February 2013 02:51 PM
Mate iso for Fedora18 kkshethin Guides & Solutions (No Questions) 0 18th January 2013 10:14 AM


Current GMT-time: 19:33 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat