[MPlayer-users] 100% cpu usage when playing a mp3 file with alsa9:surround40 -channels 4

Corey Hickey bugfood-ml at fatooh.org
Sat Oct 25 19:16:58 CEST 2003


Thomas Zangl - Mobil wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>  
> Hi,
> 
> Since I use mplayer (8 months) I experienced a 100% cpu usage when I play
> a mp3 file with the following command line:
> 
> mplayer -ao alsa9:surround40 -channels 4 "mymp3file"
> 
> if I just use mplayer -ao alsa9 it uses less than 1% cpu time.
> 
> Why? Whats the big diffrence between those 2 commandlines, except the first
> one (maybe) uses all 4 channels my soundcard provides.
> 
> Alsa Version is: ALSA-0.9.7
> I´ve got a SB Live! Value soundcard, using those modules:
> snd-emu10k1            74740   1
> snd-pcm                64928   0  [snd-emu10k1]
> snd-timer              15780   0  [snd-pcm]
> snd-rawmidi            15072   0  [snd-emu10k1]
> snd-util-mem            1376   0  [snd-emu10k1]
> snd-page-alloc          6740   0  [snd-emu10k1 snd-pcm]
> snd-ac97-codec         41880   0  [snd-emu10k1]
> snd-hwdep               5216   0  [snd-emu10k1]
> snd-seq-device          4320   0  [snd-emu10k1 snd-rawmidi]
> snd                    32804   0  [snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-rawmidi snd-util-mem snd-ac97-codec snd-hwdep snd-seq-device]
> 
> Any ideas? TIA,

What version of mplayer are you using? If it's anything earlier than
1.0pre2, you ought to update.

If you still have trouble after updating, then please post the _entire_
output of
$ mplayer -v -ao alsa9:surround40 -channels 4 "mymp3file"

-Corey



More information about the MPlayer-users mailing list