LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2006, 03:17 AM   #1
Wheat_Thins
Member
 
Registered: Nov 2005
Location: Michigan
Distribution: Primary: Ubuntu 8.10
Posts: 94

Rep: Reputation: 15
Mplayer Audio Device


Just compiled Mplayer for an Ubuntu system last night.

I threw these options to the compiler:

Code:
./configure --enable-gui --enable-menu --enable-mmx --enable-mmx2 --enable-sse --enable-sse2
I then followed it up by installing a default font, along with a default skin (Xmms)

The only problem is that with EVERY thing (MP3, avi, wmv, mpg, and anything else you can name) I open I get a

Code:
"could not open/initialize audio device -> no sound."
I prefer ALSA sound if possible but it seems it is not even listed in the Audio preferences tab. The onlything in the audio tab is:

mpegp
oss
null
pcm

The only one of these I can pick without getting the error is PCM but then the movie/song runs 500X faster then normal.

Any ideas?

Thanks in Advance!
 
Old 05-06-2006, 08:58 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Recompile with --enable-alsa? I guess it didn't build in the support or something, you might need to install a alsa-devel style package first, not sure with Fedora.
 
Old 05-06-2006, 09:48 PM   #3
Wheat_Thins
Member
 
Registered: Nov 2005
Location: Michigan
Distribution: Primary: Ubuntu 8.10
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cs-cam
Recompile with --enable-alsa? I guess it didn't build in the support or something, you might need to install a alsa-devel style package first, not sure with Fedora.
Thanks, I was not aware of the fact that --enable-alsa is even an option to pass during compile. I will give it a try.
 
Old 05-06-2006, 10:13 PM   #4
Wheat_Thins
Member
 
Registered: Nov 2005
Location: Michigan
Distribution: Primary: Ubuntu 8.10
Posts: 94

Original Poster
Rep: Reputation: 15
Thanks!

Quote:
Originally Posted by cs-cam
Recompile with --enable-alsa? I guess it didn't build in the support or something, you might need to install a alsa-devel style package first, not sure with Fedora.

Thanks alot man, it turns out the reason why it was not automatically passing alsa to be built was because I was missing the ALSA dev package. I am switching over from Fedora and in Fedora it was always called ASLA-devel, but in Ubuntu its called ALSA-Source, so that is why I missed it. But I downloaded it, rebuilt, and installed and now it works like a champ.

You made my day! I can now watch my Music vids!
 
Old 05-07-2006, 12:37 AM   #5
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Glad I could help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why I can't use USB audio device when onboard audio enabled in install RockyZ Fedora 6 03-28-2009 08:40 PM
Mplayer sound error: "Could not open/initialize audio device -> no sound" GTBlackwell Linux - Software 9 06-11-2008 03:23 PM
cannot open audio device deus_machinarum SUSE / openSUSE 8 06-20-2005 05:44 PM
Problem with my audio device AJ_Cantos Slackware 10 05-03-2005 11:03 PM
Is it possible to lock the audio device? 7ux_spirit Red Hat 0 04-04-2004 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration