mplayer fails to decode mp3 audio on ppc

Bug #85550 reported by Herbert V. Riedel
4
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Confirmed
Undecided
Unassigned
Declined for Feisty by William Grant

Bug Description

Binary package hint: mplayer

with a currently up-to-date feisty install on a pbook:

$ cat /proc/cpuinfo
processor : 0
cpu : 7447A, altivec supported
clock : 833.333000MHz
revision : 0.5 (pvr 8003 0105)
bogomips : 16.57
timebase : 8320000
platform : PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 00000019
L2 cache : 512K unified
pmac-generation : NewWorld

ii mplayer 1.0~rc1-0ubuntu3 The Ultimate Movie Player For Linux

seems to have problems playing videos with mp3 audio streams, or even any mp3 audio file I could find:
(a self compiled mplayer from svn would work flawless...)

$ /usr/bin/mplayer test.mp3
MPlayer 2:1.0~rc1-0ubuntu3 (C) 2000-2006 MPlayer Team
AltiVec found
CPU: PowerPC
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing test.mp3.
Audio file file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

MPlayer interrupted by signal 4 in module: init_audio_codec
- MPlayer crashed by an 'Illegal Instruction'.
  It may be a bug in our new runtime CPU-detection code...
  Please read DOCS/HTML/en/bugreports.html.
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Revision history for this message
William Grant (wgrant) wrote :

There's unfortunately not much we can do without a backtrace from GDB. Can you please follow the instructions in the error message, and obtain a backtrace?

Changed in mplayer:
status: Unconfirmed → Needs Info
Revision history for this message
didier (did447-deactivatedaccount) wrote :

From the built log:

cc -c -Wdeclaration-after-statement -O4 -mcpu=970 -mtune=970 -pipe -ffast-math -fomit-frame-pointer -maltivec -mabi=altivec -D_REENTR....

It looks like this stuff is compiled on and for a G5...

Changed in mplayer:
status: Needs Info → Confirmed
Revision history for this message
Herbert V. Riedel (hvr) wrote :

well, as the cause seems to be quite obvious, any chance to get the CFLAGS on ppc fixed in the ubuntu package for feisty? :)
(if needed I can test .deb's on my g4 system...)

Revision history for this message
Unai Uribarri (unaiur) wrote :

It seems that the answer was no and feisty has gone out without proper multimedia support. It's sad, but I can't play a DVD with feisty, and I've tried totem, kaffeine, mplayer, xine and vlc.
But the recipe to fix mplayer is easy:

sudo apt-get build-dep mplayer
sudo apt-get install fakeroot
apt-get source mplayer
cd mplayer-1.0~rc1
dpkg-buildpackage -rfakeroot -b
cd ..
sudo dpkg -i mplayer_1.0~rc1-0ubuntu9_powerpc.deb

Revision history for this message
Peter Garrett (peter-garrett) wrote :

Re: "can't play a DVD with feisty"

Off topic for the bug, but ...

I can play DVDs on an iBook G4 1.2 GHz, using vlc or totem ( vlc is much better though - totem seems to need a lot of cpu and the sound and picture are sometimes out of sync )

I also compiled my own mplayer, which works .

Revision history for this message
Herbert V. Riedel (hvr) wrote :

jfyi, mplayer seems to work for me on a 7447a/G4 powerpc in hardy

Revision history for this message
ski (skibrianski) wrote :

Herbert, please comment on bug 104630 [https://bugs.launchpad.net/ubuntu/+source/mplayer/+bug/104630] - this bug is still a duplicate. As discussed in the proper bug, the reason mplayer works on your G4 is the package is compiled for G4, with instructions that don't work on G3. To reiterate, this bug is still a duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.