Fedora Linux Support Community & Resources Center
  #1  
Old 6th March 2013, 02:21 PM
rholme Offline
Registered User
 
Join Date: May 2009
Posts: 83
linuxfirefox
mplayer audio in fedora18

Built and installed mplayer on Fedora 18 (had working before in F-16, 12).

I had some issues with needed development versions of gtk and zlib to build - apparently the .h files needed are only in the development release, even though the libraries appear to be here by default.
The below fixed the config and make for mplayer for me (64 bit version).
yum install zlib-devel.x86_64 gtk2-devel.x86_64

However my mplayer has NO SOUND AT ALL and it used to work fine. Other system sound tests work fine as does Skype.
The only difference I see is that in Fedora 16 (and 12), the system-settings sound showed both the intenal (on the monitor) speakers AND the external plugged in SONY speakers that I use.
The fedora 18 system-settings sound menu now only shows ONE output device (internal), but when I test THERE, it uses the speakers (as does skype)..

I tried mplayer -ao XXX with each of the 5 below options (well not null).
Most of them just say "No Audio" as there is no device.
"mplayer -ao help" yields:

Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output

Suggestions appreciated.

Last edited by rholme; 6th March 2013 at 02:33 PM.
Reply With Quote
  #2  
Old 6th March 2013, 03:19 PM
bonedome's Avatar
bonedome Offline
Registered User
 
Join Date: Apr 2010
Location: uk
Posts: 726
windows_98_nt_2000ie
Re: mplayer audio in fedora18

Hello
I've been away for a while but looking at that list of audio drivers, neither alsa or pulse are listed, have a look in the configue log near the bottom should be a list of enabled drivers.
mplayer should find everything required i.e you don't need to add any options to configure but if something is not found you might find in the log it just says something like alsa (not found) I've never come across this so maybe there is some alsa or pulse devel package required.
You will have to do a make clean (or is it distclean) before make again if memory serves
__________________
fedora 14 fluxbox and gnome2 hp compaq nx9030 laptop 2Gb ram, helicopter landing pad, jacuzzi, mini fridge, gateway to alternative dimension
Reply With Quote
  #3  
Old 6th March 2013, 03:53 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: mplayer audio in fedora18

You don't really have to compile mplayer yourself. Just enable rpmfusion repository and
Code:
yum install mplayer
Now if this mplayer (probably located in /usr/bin/mplayer) has SOUND then you compiled it wrong ;-)
Reply With Quote
  #4  
Old 6th March 2013, 04:03 PM
vallimar Offline
Registered User
 
Join Date: Jul 2008
Posts: 809
windows_7chrome
Re: mplayer audio in fedora18

You really, really need to pay more attention to the configure status output about what will/won't be compiled and install dependencies for the options you want. You should install alsa-libs-devel and pulseaudio-libs-devel (and dependencies) to get usable audio since I'm almost certain you aren't setup to use oss audio.

Until you get more experience with what sorts of things you will/won't need, you should install the source rpm packages and at least go over the spec file to get an idea of what options and dependencies a working build has/uses.

You should also learn how to build your own rpm's and install those, as mixing hand-compiled, loose packages with rpm's can lead to problems.
Reply With Quote
  #5  
Old 6th March 2013, 09:53 PM
rholme Offline
Registered User
 
Join Date: May 2009
Posts: 83
linuxfirefox
Re: mplayer audio in fedora18

You hit the nail on the head. Although I had alsa installed, it was not finding it.

I had to install the alsa-devel package - then reconfigure and install

SOUND now works using alsa.

It is interesting that three installed packages require development versions in order for the configure script to work.

THANKS
Reply With Quote
Reply

Tags
audio, fedora18, mplayer

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
mplayer no audio gconnery Using Fedora 4 18th January 2007 08:10 PM


Current GMT-time: 05:56 (Friday, 24-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