LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   No Audio when trying new Mplayer (https://www.linuxquestions.org/questions/linux-software-2/no-audio-when-trying-new-mplayer-222218/)

breakerfall 08-25-2004 10:31 AM

No Audio when trying new Mplayer
 
Hi... I have been able to use Mplayer 1.0 pre3 just fine but recently I wanted to upgrade to pre5. I download and compile it and bam - it won't play audio with a video clip. I'm given the error message "Could not open/initialize audio device -> no sound".

This is pretty frustrating. I ran >mplayer -ao help and ALSA is listed there. I ran mplayer as root and audio worked, but I'm not sure what's causing the problem at all. A small while ago, I made the switch from devfs to udev - could that be an issue? If so, how do I fix it?

Thanks. :)

sarti 08-25-2004 07:29 PM

I think its aRts problem
 
I really dont think that its aRts problem:D but I have found a way to solve that problem

In your console you have to kill your aRtsd process. To view your processes just type

Code:

ps x
that will show your running processes, then you'll have to kill your aRts process, every process have its number, that is shown in the left side of the process, you have to kill the one that looks like this:

Code:

1543?    xxxx    /opt/kde3/artsd ...
if your #### is 1543? then you'll need to kill the process this way:

Code:

kill 1543
then you'll be able to play the audio in your video.

The bad side of doing this is that you only can play one thing at a time, xmms or mplayer or the sounds from KDE or ...
But for immediate results work fine...:D

sorry about my spelling i'm guatemalan

breakerfall 08-25-2004 07:58 PM

Thanks for the reply, but I don't use a sound server like arts or esd... I have hardware mixing and only use ALSA. :)

Besides, this is only a problem when compiling and running the new version of Mplayer. The older version still works fine. I have to run the new version as SU to hear audio. :(


All times are GMT -5. The time now is 02:19 AM.