Discussion:
[mad-user] Use on Dreamcast/Linux
Adrian McMenamin
2001-12-23 13:45:07 UTC
Permalink
I have compiled mad/madplay on SH4 for Linux (Dreamcast) to test the /dev/dsp
driver I am writing for this machine.

I can play one MP3 - MPEG II at 22k sampling - everything else seems to
result in a "Segmentation fault" (that includes trying to play the one
working mp3 with option -v).

All the others I have tried are MPEG I and all seem to have 44.1k sampling
rates.

Questions I have:

Anybody know of a test suite of MP3s that I could use to try to isolate the
problem?

Anybody had a similar problem on a different platform and might be able to
tell me what's up?


Adrian
Marcus Kwok
2001-12-23 18:57:30 UTC
Permalink
Post by Adrian McMenamin
Anybody know of a test suite of MP3s that I could use to try to isolate the
problem?
ftp://ftp.tnt.uni-hannover.de/pub/MPEG/audio/mpeg1/compliance/

This page has some test patterns that might be helpful. Good luck.
--
Marcus B. Kwok |
338178 Georgia Tech Station | AOL Instant Messenger: SLuGHEAd78
Atlanta, GA 30332 | ICQ: 20039767
http://gtf.org/ricecake/ | ***@gtf.org
Marcus Kwok
2001-12-24 00:47:14 UTC
Permalink
Post by Marcus Kwok
Post by Adrian McMenamin
Anybody know of a test suite of MP3s that I could use to try to isolate
the problem?
ftp://ftp.tnt.uni-hannover.de/pub/MPEG/audio/mpeg1/compliance/
This page has some test patterns that might be helpful. Good luck.
Thanks for this - but these were still not much good. None played but that
might have been for a number of different reasons. All the layer III examples
appeared to be MPEG 1s - I really need a range of MPEG 2s as well.
ftp://ftp.tnt.uni-hannover.de/pub/MPEG/audio/mpeg2/

This has some mpeg 2 test patterns as well. I don't think they were
meant to be played, but rather I think they are there to make sure your
decoder works properly. Like, you decode the files and compare the
output to another decoder that you know works properly. Sorry if this
isn't what you were looking for, but I hope it helps.
--
Marcus B. Kwok |
338178 Georgia Tech Station | AOL Instant Messenger: SLuGHEAd78
Atlanta, GA 30332 | ICQ: 20039767
http://gtf.org/ricecake/ | ***@gtf.org
Gareth
2002-02-10 12:50:51 UTC
Permalink
Hi,
I have compiled mad-0.13.0b which went off fine but i am interested in playing with minimad.c. The problem is i can't see how to compile it. I tried 'gcc minimad.c' but it can't find mad.h. How do i tell the compiler how to find all the necessary files? I am using mandrake 8.0.

Thanks.
Gareth
2002-02-10 17:34:36 UTC
Permalink
Thanks, that worked fine. The only thing is minimad seems to do nothing, I tried ./minimad and it just goes straight back to the command prompt. I tried giving it a filename, ./minimad track.mp3, and the same thing happens. Can you give me some pointers as to how i start using it, or is there some basic documentation that i can read up on it?
you need to tell it to use libmad
so do gcc minimad.c -o minimad -lmad
-Mat
Post by Gareth
Hi,
I have compiled mad-0.13.0b which went off fine but i am interested in
playing with minimad.c. The problem is i can't see how to compile it. I
tried 'gcc minimad.c' but it can't find mad.h. How do i tell the compiler
how to find all the necessary files? I am using mandrake 8.0.
Thanks.
Carlos Gonzalez
2001-12-23 21:12:08 UTC
Permalink
Anybody knows how to equalize 24 bit sound in winamp with mad and a
terratec ewx 24/96? Any plugin?

--
Carlos Gonzalez
Rob Leslie
2002-02-10 18:41:21 UTC
Permalink
Post by Gareth
I have compiled mad-0.13.0b which went off fine but i am interested in
playing with minimad.c. The problem is i can't see how to compile it. I
tried 'gcc minimad.c' but it can't find mad.h. How do i tell the compiler
how to find all the necessary files? I am using mandrake 8.0.
Try: make minimad

In the future, please ask development-related questions on the mad-dev list
rather than this one. Thanks.
--
Rob Leslie
***@mars.org
Rob Leslie
2002-02-10 18:53:22 UTC
Permalink
Post by Gareth
Thanks, that worked fine. The only thing is minimad seems to do nothing, I
tried ./minimad and it just goes straight back to the command prompt. I
tried giving it a filename, ./minimad track.mp3, and the same thing
happens. Can you give me some pointers as to how i start using it, or is
there some basic documentation that i can read up on it?
`minimad' reads data from stdin and writes PCM samples to stdout. So:

./minimad <track.mp3 >track.pcm

Follow-ups to mad-dev, please.
--
Rob Leslie
***@mars.org
Continue reading on narkive:
Loading...