Smpeg on Mac OS X

Hi all,
I was really hoping that someone had put together a smpeg.Framework
for Mac OS X, but alas I could not find one. If I were to attempt this
task on my own, where would I start? I’m new to Mac OS X and my C/C++ is
very rusty so all hints/tips welcome.

If there is another cross-platform alternative to smpeg to play mp3
files on Mac OS X, Win32 and Linux, that is also in Framework order,
then I would love to hear about it.

Thanks,

Dominique.

Dominique Louis escribi?:

Hi all,
I was really hoping that someone had put together a smpeg.Framework
for Mac OS X, but alas I could not find one. If I were to attempt this
task on my own, where would I start? I’m new to Mac OS X and my C/C++ is
very rusty so all hints/tips welcome.

If there is another cross-platform alternative to smpeg to play mp3
files on Mac OS X, Win32 and Linux, that is also in Framework order,
then I would love to hear about it.

Thanks,

Maybe ‘ffmpeg’ is what you’re looking for? See here
(http://ffmpeg.mplayerhq.hu/documentation.html) for some information,
there’s even an ffmpeg and SDL tutorial in that page. I’m not quite sure
that ffmpeg can decode mp3 (I know it does support a hefty number of
audio codecs), but I’d surprised if it didn’t. Hope this helps.

I haven’t touched smpeg in a few years, but we did have a framework
going at one point. Look for an Xcode project in the source. It will
build a framework. I think the last update was to support Universal
Binaries.

-EricOn 12/4/07, Dominique Louis wrote:

Hi all,
I was really hoping that someone had put together a smpeg.Framework
for Mac OS X, but alas I could not find one. If I were to attempt this
task on my own, where would I start? I’m new to Mac OS X and my C/C++ is
very rusty so all hints/tips welcome.

If there is another cross-platform alternative to smpeg to play mp3
files on Mac OS X, Win32 and Linux, that is also in Framework order,
then I would love to hear about it.

Thanks,

Dominique.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi all,
I was really hoping that someone had put together a smpeg.Framework
for Mac OS X, but alas I could not find one. If I were to attempt this
task on my own, where would I start? I’m new to Mac OS X and my C/C+

  • is
    very rusty so all hints/tips welcome.

If there is another cross-platform alternative to smpeg to play mp3
files on Mac OS X, Win32 and Linux, that is also in Framework order,
then I would love to hear about it.

OK, this is the original post. I should really read things in order.

If your game is GPL, libmad is an excellent way to play mp3s. If you
download Aleph One for Mac OS X and Show Package Contents you can get
a universal binary Framework:

http://marathon.sourceforge.net/

And if you download the source code, the project file to build it is
included.

I keep meaning to make these Frameworks (libmad, speex, libsndfile,
also SMPEG, vorbis and ogg from E. Wing) available on my web site
separately for people who want them, but I guess I haven’t done so yet.

If your game can not be GPL, there is also an SMPEG Framework in
there, as mentioned in my previous post.

GregoryOn Dec 4, 2007, at 3:16 AM, Dominique Louis wrote:

E. Wing wrote:

If you are just using SDL_mixer, I think we might already compile in
smpeg support into it, so it doesn’t really matter. We built an smpeg
static library which I think gets built into our SDL_mixer
distribution.

Yes that did the trick. I now have sound! Woohoo! Thanks again for all
your help.

Gregory Smith wrote:

I have to imagine this project file I have for a universal binary
SMPEG framework came from you:

http://www.treellama.org/smpeg-xcode-universal.tar.gz
(extracted from Aleph One’s libraries sources tarball)

It would be great if someone could commit this to the official smpeg
branch just in case it’s needed at a later date.

Dominique.