[MPlayer-users] Problems with mplayer on PPC
Rogério Brito
linuxconsult at yahoo.com.br
Wed Apr 24 01:05:02 CEST 2002
Dear all (see attached files for complete information),
I'm using mplayer on a PowerPC notebook (an iBook 2, 600MHz)
and it seems that mplayer has some problems with it. Here are
the problems that I'm seeing (all this with the 0.90pre1):
1 - It seems that mplayer has problems with these machines
being big-endian when playing PCM audio (MP3 is fine):
when I extract a track from a CD, it is played correctly
in a x86 box, but it plays as whitenoise in this iBook.
xmms plays the same file without problems on the iBook.
If, on the other hand, I byte-swap it with sox, the file
sounds like white noise in x86, xmms plays it that way in
this iBook, but mplayer plays it fine.
It seems that mplayer doesn't have problems playing mp3
files created from WAV files.
Attached is a diff of mplayer's output playing the same
mp3 file on x86 and ppc. Notice that there are significant
differences.
Is a more verbose diff needed?
I am reporting this because videos with PCM audio has
problems playing on the iBook and I'm trying to isolate
the problem.
2 - is it possible to watch WMA/WMV files at all on non-x86
archs, with ffmpeg? I already tried passing "-vfm 5" to
mplayer, but that doesn't work. I guess that it's just not
available, right?
3 - mplayer doesn't write a correct header for audiodumps on
ppc, but it does correctly on x86. I have to strip the
wrong header or write a headerless file and convert it
with sox for the audio dump to be usable. I don't know if
this is related to endianness, but I'd guess so, by the
symptoms. Any sample file of this wanted?
Well, there is more, but I'll keep this short and send more
later. :-)
Thanks in advance, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito - linuxconsult at yahoo.com.br - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-------------- next part --------------
-------------------------------
Kernel:
Linux chagas 2.4.19-pre4-ben0-1 #1 Sun Apr 21 21:15:26 BRT 2002 ppc unknown
-------------------------------
ii libc6 2.2.5-4 GNU C Library: Shared libraries and Timezone
ii xserver-xfree8 4.1.0-16 the XFree86 X server
ii gcc 2.95.4-14 The GNU C compiler.
ii binutils 2.12.90.0.1-1 The GNU assembler, linker and binary utiliti
ii libgtk1.2 1.2.10-10 The GIMP Toolkit set of widgets for X
ii libglib1.2 1.2.10-4 The GLib library of C routines
ii libpng2 1.0.12-3 PNG library - runtime
ii libpng2-dev 1.0.12-3 PNG library - development
-------------------------------
/proc/cpuinfo:
cpu : 745/755
temperature : 4 C (uncalibrated)
clock : 600MHz
revision : 51.17 (pvr 0008 3311)
bogomips : 1196.03
machine : PowerBook4,1
motherboard : PowerBook4,1 MacRISC2 MacRISC Power Macintosh
detected as : 257 (iBook 2)
pmac flags : 00000003
L2 cache : 256K unified
memory : 128MB
pmac-generation : NewWorld
-------------------------------
/proc/meminfo:
total: used: free: shared: buffers: cached:
Mem: 130052096 115527680 14524416 0 13197312 50634752
Swap: 268427264 5197824 263229440
MemTotal: 127004 kB
MemFree: 14184 kB
MemShared: 0 kB
Buffers: 12888 kB
Cached: 46836 kB
SwapCached: 2612 kB
Active: 52560 kB
Inactive: 34808 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 127004 kB
LowFree: 14184 kB
SwapTotal: 262136 kB
SwapFree: 257060 kB
-------------------------------
My PCI devices:
00:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0027
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 16, cache line size 08
Capabilities: [80] AGP version 1.0
Status: RQ=7 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
00:10.0 VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x (rev 02) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Rage Mobility M3 AGP 2x
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255 (2000ns min), cache line size 08
Interrupt: pin A routed to IRQ 48
Region 0: Memory at 94000000 (32-bit, prefetchable) [size=64M]
Region 1: I/O ports at 802400 [size=256]
Region 2: Memory at 90000000 (32-bit, non-prefetchable) [size=16K]
Expansion ROM at 90020000 [disabled] [size=128K]
Capabilities: [50] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
Command: RQ=0 SBA+ AGP- 64bit- FW- Rate=<none>
Capabilities: [5c] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
01:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0028
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 16, cache line size 08
01:17.0 Class ff00: Apple Computer Inc.: Unknown device 0025
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16, cache line size 08
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=512K]
01:18.0 USB Controller: Apple Computer Inc.: Unknown device 0026 (prog-if 10 [OHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (750ns min, 21500ns max)
Interrupt: pin A routed to IRQ 27
Region 0: Memory at 80081000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
01:19.0 USB Controller: Apple Computer Inc.: Unknown device 0026 (prog-if 10 [OHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16 (750ns min, 21500ns max)
Interrupt: pin A routed to IRQ 28
Region 0: Memory at 80080000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
02:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0029
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 16, cache line size 08
02:0e.0 Class ffff: Apple Computer Inc.: Unknown device 0030 (rev ff) (prog-if ff)
!!! Unknown header type 7f
02:0f.0 Ethernet controller: Apple Computer Inc.: Unknown device 0024
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 16 (16000ns min, 16000ns max), cache line size 08
Interrupt: pin A routed to IRQ 41
Region 0: Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
Expansion ROM at f5100000 [disabled] [size=1M]
-------------- next part --------------
Detected audio file
Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 176400->176400
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Big-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 4/4 (32768 bytes/frag) free: 131072
Video: no video!!!
Start playing...
-------------- next part --------------
Detected audio file
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
init layer2&3 finished, tables done
mp3lib: using generic decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x20 ratio: 16000->176400
AO: [oss] 44100Hz Stereo Signed 16-bit (Big-Endian)
ao2: 44100 Hz 2 chans Signed 16-bit (Big-Endian)
audio_setup: sample format: Signed 16-bit (Big-Endian) (requested: Signed 16-bit (Big-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 4/4 (32768 bytes/frag) free: 131072
Video: no video!!!
Start playing...
-------------- next part --------------
Detected audio file
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Duron SF Spitfire (Type: 6, Stepping: 0)
extended cpuid-level: 6
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 16000->176400
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 128/128 (1024 bytes/frag) free: 131072
Video: no video!!!
Start playing...
-------------- next part --------------
--- mplayer-mp3-ibook.txt Tue Apr 23 19:43:02 2002
+++ mplayer-mp3-x86.txt Tue Apr 23 19:43:02 2002
@@ -1,16 +1,20 @@
Detected audio file
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
+CPU vendor name: AuthenticAMD max cpuid level: 1
+CPU: Advanced Micro Devices Duron SF Spitfire (Type: 6, Stepping: 0)
+extended cpuid-level: 6
+mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
-mp3lib: using generic decore!
+mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
-AUDIO: srate=44100 chans=2 bps=2 sfmt=0x20 ratio: 16000->176400
-AO: [oss] 44100Hz Stereo Signed 16-bit (Big-Endian)
-ao2: 44100 Hz 2 chans Signed 16-bit (Big-Endian)
-audio_setup: sample format: Signed 16-bit (Big-Endian) (requested: Signed 16-bit (Big-Endian))
+AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 16000->176400
+AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
+ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian)
+audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
-audio_setup: frags: 4/4 (32768 bytes/frag) free: 131072
+audio_setup: frags: 128/128 (1024 bytes/frag) free: 131072
Video: no video!!!
Start playing...
More information about the MPlayer-users
mailing list