Solved

MP3 and Linux (RH5.0)

Posted on 1998-04-11
19
263 Views
Last Modified: 2013-12-15
(I have a Sound Blaster 16 PnP "Authentic")  Does anyone know of a way to get mp3 files to play under Linux? I downloaded a player, and tried to install it, but compilation failed, because it couldn't find mpeg.h, or some special mpeg header with a similar name.  The sound works otherwise.
0
Comment
Question by:anavrin
  • 8
  • 6
  • 2
  • +3
19 Comments
 
LVL 1

Expert Comment

by:Talence
Comment Utility
If you give the URL of the place you got this from, I may try
to figure out if this can be fixed easily.
0
 

Author Comment

by:anavrin
Comment Utility
Well, I got the program off a cd I have that is the archives of sunsite.unc.edu
The program is playmp3.

0
 

Expert Comment

by:somberlain
Comment Utility
try a search for x11amp, it rox and dont eat up your CPU, i guess it even werkz w/ a 486-120, phear! theres lots of mp3 players and if something dont werk for ya, just get another. if u give the URL i can compile the thing on my box for ya, i run slackware which uses a different glibc than redhat 5, so it mite not werk even if i do compile it.
0
 
LVL 2

Expert Comment

by:wqclatre
Comment Utility
Take a look in :
ftp://ftp.redhat.com/pub/contrib/hurricane/i386/

There you have mpg123, jukebox, mpegplay or  xmp3player.

I like the jukebox programs.

You install teh programs with rpm -ivh filename

My favorite mpeg player is amp, but I don't remember the link now....Try altavista..
0
 

Author Comment

by:anavrin
Comment Utility
Every program I get keeps failing on the dependencies for libqt.so.1, but I installed qt, and it still wont work.  So, nothing will install.
0
 
LVL 2

Expert Comment

by:wqclatre
Comment Utility
If it's so that you have allredy installed qt.
(Use the latest qt-1.33-1rh5.i386.rpm and the qt-devel-1.33-1.rh5.i386.rpm found at ftp://ftp.redhat.com/pub/contrib/hurricane/i386/
And install with rpm -ivh filename. If you just upgrade a old package use rpm -Uvh filename)
)

You can install jukebox and the other packages using
rpm -ivh --nodeps filename
0
 

Author Comment

by:anavrin
Comment Utility
Well, when I installed qt with rpm the first time, I don't think the rpm worked, because all it did was copy the source to ../redhat/SOURCES directory, and I had to take the file, unzip it, read the INSTALL file, and do a Make on, it.  Well, if I am going to start over, how do I get rid of the old one completely, and be sure its gone?

0
 
LVL 2

Expert Comment

by:wqclatre
Comment Utility
Oh, it sounds like you used a Source rpm and not a binary rpm with qt.
DO a rpm -e qt and a rpm -e qt-devel to remove the packages.
If it says that you don't have those packages installed just install them.
0
 

Author Comment

by:anavrin
Comment Utility
well, I fixed the qt problem, but now, xamp, thinks its in the wrong architecture, jukebox, gives core dumps, xmp3player brings up a menu, does nothing, and then crashes.
do you know of anything that works?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 2

Expert Comment

by:wqclatre
Comment Utility
Those works fine for me,but I have installed all files in the redhat updates directory at:
ftp://ftp.redhat.com/pub/redhat/updates/5.0/i386/

Mabe it's your ld.so that's old. If you havn't upgrade it since you installed RH 5.0 I think it's a good idea to do so.

0
 

Author Comment

by:anavrin
Comment Utility
I have the newest version of ld.so
0
 
LVL 2

Expert Comment

by:wqclatre
Comment Utility
I can put some other Mpeg players on my ftp if you like to try them.

ftp://a201.ryd.student.liu.se/pub/Linux/misc/mp3

0
 

Author Comment

by:anavrin
Comment Utility
I tried your splay, and that doesn't work either.  The window comes up fine, I open a file, and that works, and it read it as an MP3 file,stereo, timelength,... But, then when I go to press play, nothing happens, it just sits there, nothing visual, or audio happens, I just see the "Play button" get pressed in, but nothing starts.  That is the same thing that happened with x11amp, and another one, I  forgot which one.
0
 
LVL 2

Expert Comment

by:wqclatre
Comment Utility
The sound works fine with other aplications????
What does cat /dev/sndstat says???
0
 

Author Comment

by:anavrin
Comment Utility
Sound works fine on everything else except (Real Audio Player)
This is what is in /dev/sndstat.

Sound Driver:3.5.4-960630
Kernel: Linux localhost.localdomain 2.0.32 #1 Wed Nov 19 00:46:45 EST 1997 i686
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.16)

Synth devices:
0: Yamaha OPL-3

Midi devices:

Timers:
0: System clock

Mixers:
0: Sound Blaster

0
 
LVL 19

Expert Comment

by:xterm
Comment Utility
Like I responded to one of your other posts earlier, your
sound is not set up correctly - take a look in your syslog
(/var/log/messages) - I'd be willing to bet that you are
getting Sound DMA errors.  

Is your sound support modular or built into the kernel?
It should be an easy fix if I know how you generated your
current kernel.
0
 

Author Comment

by:anavrin
Comment Utility
I used the default kernel, which I believe leaves the sound as modular, and I used sndconfig, the configurator for Sound Blaster PnP cards specifically, and it worked, and my sound works for au files, midi,wav,and cd's, but not for mp3's, and not for Real Audio either.  I really saw no reason to compile another kernel, since "this one works", but if you could tell me what needs to be fixed in my sound configuration, then I'll do it, but I don't know what seeing that it seems to work with the other sound fromats.  Thanks for the help.  
0
 
LVL 2

Expert Comment

by:gfreeman081597
Comment Utility
I'd be really interested in hearing the fix to that too, as I can't record or play Real Audio on my Sound Blaster 16 under RH5.0.  I need to be able to record with the RA server for WWW purposes...

Thanks, you guys are gods!
0
 
LVL 19

Accepted Solution

by:
xterm earned 50 total points
Comment Utility
Try sndconfig again and enter in the following values:

I assume your IRQ is correct, or it wouldn't work at all,
but the SB defaults are 8-bit DMA = 1, 16-bit DMA (or
secondary) = 5.  The midi base is 0x330, IRQ 9.

I assume your SB IRQ is 5 if you haven't changed the default.
Set all those to the same as the card, and it will work just
fine.

If you don't know what the card is set at, go to Creative's
site and grab the do$ drivers for the card & copy them to
a dos boot floppy & set the card to whatever you set in
sndconfig.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now