[MPlayer-users] 100% cpu usage when playing a mp3 file withalsa9:surround40 -channels 4
Thomas Zangl - Mobil
mobil at tzi.dhs.org
Sat Oct 25 19:31:36 CEST 2003
Am Sat, 25 Oct 2003 10:16:58 -0700, schrieb Corey Hickey <bugfood-ml at fatooh.org>:
Hi,
>What version of mplayer are you using? If it's anything earlier than
>1.0pre2, you ought to update.
Using the latest version Gentoo is offering.
(See the output later..)
>If you still have trouble after updating, then please post the _entire_
>output of
>$ mplayer -v -ao alsa9:surround40 -channels 4 "mymp3file"
MPlayer 1.0pre2-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1406 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 61 audio & 157 video codecs
CommandLine: '-ao' 'alsa9:surround40' '-channels' '4' '-v' 'mymp3'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 52 binds
get_path('mymp3.conf') -> '/root/.mplayer/mymp3.conf'
Playing mymp3
[file] File size is 11781562 bytes
STREAM: [file] mymp3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 0.00% (0 bytes) Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x85c2a88
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x85c2a88
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x85c2a88
Checking for REAL
DEMUXER: freeing demuxer at 0x85c2a88
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x85c2a88
DEMUXER: freeing demuxer at 0x85c32f0
Searching demuxer type for filename mymp3 ext: .mp3
Checking for MOV
DEMUXER: freeing demuxer at 0x85c32f0
Checking for VIVO
DEMUXER: freeing demuxer at 0x85c32f0
DEMUXER: freeing demuxer at 0x85c32f0
DEMUXER: freeing demuxer at 0x85c32f0
DEMUXER: freeing demuxer at 0x85c32f0
DEMUXER: freeing demuxer at 0x85c32f0
DEMUXER: freeing demuxer at 0x85c32f0
DEMUXER: freeing demuxer at 0x85c32f0
Checking for PVA
DEMUXER: freeing demuxer at 0x85c32f0
Checking for MPEG-TS...
TRIED UP TO POSITION 67044, FOUND 0, packet_size= 71
DEMUXER: freeing demuxer at 0x85c32f0
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 1 p101: 2 p1B6: 1 p12x: 7 sli: 5 a: 5 b: 2 c: 0 idr: 1 sps: 0 pps: 1 PES: 8 MP3: 101
Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 0x85c32f0
Checking for DV
DEMUXER: freeing demuxer at 0x85c32f0
==> Found audio stream: 0
demux_audio: audio data 0x26F - 0x0
Audio file detected.
Clip info:
Title:
Artist:
Album:
Year:
Comment:
Genre:
==========================================================================
Forced audio codec: a52
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 192 kbit Stereo, BPF: 627
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 24000->176400 (192.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/4ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 44100 Hz, 4 channels, Signed 16-bit (Little-Endian)
alsa-init: compiled for ALSA-0.9.7
alsa-init: soundcard set to surround40
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=16, fragcount=16
alsa-init: got buffersize=131072
alsa9: 44100 Hz/4 channels/8 bpf/131072 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 44100Hz 4ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/4ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
[libaf] Adding filter channels
[channels] Changing number of channels to 4
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
Video: no video
Freeing 0 unused video chunks
Starting playback...
alsa-space: free space = 131072, status=140376992, prepared --
[libaf] Reallocating memory in module channels, old len = 0, new len = 65540
A: 2.9 1.0% 98%
MPlayer interrupted by signal 2 in module: enable_cache
vo: x11 uninit called but X11 not inited..
MPlayer interrupted by signal 2 in module: play_audio
Uninit audio filters...
[libaf] Removing filter dummy
[libaf] Removing filter channels
uninit audio: mp3lib
DEMUXER: freeing demuxer at 0x85c32f0
DEMUXER: freeing sh_audio at 0x857fbb8
alsa-uninit: pcm closed
vo: x11 uninit called but X11 not inited..
--
----------------------------------------------------------------
,yours Thomas Zangl -thomas at tzi.dhs.org- -TZ1-6BONE-
-http://tzi.dhs.org - http://www.borg-kindberg.ac.at
Use YAMC! now! Get it at http://www.borg-kindberg.ac.at/yamc/
More information about the MPlayer-users
mailing list