LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-21-2006, 05:04 PM   #1
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
MPlayer-1.0pre8 crashes on FC6 when trying to play MP3 file


Hi again guys

I've got the above problem - Mplayer crashes on my FC6 system when trying to play an MP3 file. I have compiled the following libraries ass regards MP3 / sound support:

-rwxrwxrwx 1 root root 1516235 May 5 2006 flac-1.1.2.tar.gz
-rwxrwxrwx 1 root root 1255629 May 5 2006 lame-3.96.1.tar.gz
-rwxrwxrwx 1 root root 387583 May 5 2006 libao-0.8.6.tar.gz
-rwxrwxrwx 1 root root 338143 May 5 2006 libid3tag-0.15.1b.tar.gz
-rwxrwxrwx 1 root root 502379 May 5 2006 libmad-0.15.1b.tar.gz
-rwxrwxrwx 1 root root 419959 May 5 2006 libogg-1.1.2.tar.gz
-rwxrwxrwx 1 root root 1911650 May 5 2006 libtheora-1.0alpha5.tar.gz
-rwxrwxrwx 1 root root 1307726 May 5 2006 libvorbis-1.1.1.tar.gz

Here's the messsage from MPlayer:

[rylan@StefanLinux Mp3]$ mplayer Weezer\ -\ Buddy\ Holy.mp3
mplayer: /usr/local/lib/libpng12.so.0: no version information available (required by mplayer)
mplayer: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)
MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) D CPU 3.40GHz (Family: 15, Model: 6, Stepping: 4)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Playing Weezer - Buddy Holy.mp3.
Audio file file format detected.
Clip info:
Title: Weezer - Buddy Holly
Artist:
Album:
Year:
Comment:
Genre: Other
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3


MPlayer interrupted by signal 11 in module: init_audio_codec
- 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.
[rylan@StefanLinux Mp3]$

Clearly, it crashes when trying to open mp3lib (lame?) Any ideas how to fix this?

Thanks!
 
Old 12-21-2006, 05:44 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I have compiled the following libraries
"compiled"?? You didn't install them via yum? Did you compile mplayer too? (www.mjmwired.net)

flac-1.1.2.tar.gz
lame-3.96.1.tar.gz
libao-0.8.6.tar.gz
libid3tag-0.15.1b.tar.gz
libmad-0.15.1b.tar.gz
libogg-1.1.2.tar.gz
libtheora-1.0alpha5.tar.gz
libvorbis-1.1.1.tar.gz

... yup - all compiled from source. I see lame here for mp3's. But note:
Quote:
Lame is an open source MP3 encoder. MPlayer uses lame for compressing audio into MP3 audio when encoding files from MPEG or other sources. Lame is not required to decode MP3 audio.
...from http://www.mjmwired.net/resources/mplayer-fedora.html - Probably you should read through this to see what you did differently.

It may be that you have just stuck things someplace that mplayer dosn't expect them. Did the ./configure step detect all the codecs and libs?

Oh - and mjm routinely disables SELinux - if you do not, this may be an issue.

Of course, this assumes you compiled mplayer as well. If you installed mplayer via yum, then you should yum install the support libs and codecs as well.
 
Old 12-23-2006, 02:42 AM   #3
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Original Poster
Rep: Reputation: 103Reputation: 103
Hi Simon

I managed to fix this. It was because I was attempting to compile Mplayer with GCC-4 (I think - the version that comes with FC6) and not GCC-3.4. I switched Mplayer's compile over to GCC-3.4 and it now seems to be working fine.

Thanks for the help, anyway!

Regards,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPlayer v1.0pre8 source sskuartfe Linux - Newbie 3 09-19-2006 02:47 AM
Amarok crashes when trying to play mp3 from mobile harddisk network drive Rotterdam Linux - Networking 0 09-09-2006 01:48 PM
Mplayer-1.0pre8 shotokan General 7 06-29-2006 01:07 AM
XMMS crashes when trying to play mp3 JermJHart Mandriva 11 12-23-2004 07:56 AM
Mplayer crashes in an attempt to play most mpgs and DVDs goofyheadedpunk Slackware 5 11-18-2004 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration