Help - Search - Members - Calendar
Full Version: mpc on OSX
Hydrogenaudio Forums > Lossy Audio Compression > MPC
1stunna
well, sorta. instructions posted here macosxhints

they have it "working". i dont (just get a lot of hissing over faint music). i can get it to decode properly (just get a lot of hissing over faint music), and play the resultant file fine. thought yall might like this, and/or be able to help me.
danchr
QUOTE(1stunna @ Apr 2 2003 - 09:13 PM)
they have it "working". i dont (just get a lot of hissing over faint music)

They don't know what they're doing. What they think is "hissing over faint music" is actually noise; the result of little endian sound being played on a big endian system. I have successfully ported both mppdec 1.1 and the prerelease sv8 available on Frank Klem's page. It needed a lot of changes to the Makefile (especially the encoder), and a few changes to the code. Although I have nothing to compare to, it seems to be working quite well.
Dibrom
QUOTE(danchr @ Apr 6 2003 - 08:58 AM)
QUOTE(1stunna @ Apr 2 2003 - 09:13 PM)
they have it "working". i dont (just get a lot of hissing over faint music)

They don't know what they're doing. What they think is "hissing over faint music" is actually noise; the result of little endian sound being played on a big endian system. I have successfully ported both mppdec 1.1 and the prerelease sv8 available on Frank Klem's page. It needed a lot of changes to the Makefile (especially the encoder), and a few changes to the code. Although I have nothing to compare to, it seems to be working quite well.

Could you make these changes available to the public, or at least perhaps send the appropriate changes to Frank so that he can roll them back into the official releases?
1stunna
QUOTE(Dibrom @ Apr 6 2003 - 12:40 PM)
Could you make these changes available to the public, or at least perhaps send the appropriate changes to Frank so that he can roll them back into the official releases?

i second this request. you are a great man danchr
Stratus Fear
The mppdec binary for OS X on Frank's page works just fine (no hiss).
danchr
QUOTE(Dibrom @ Apr 6 2003 - 12:40 PM)
Could you make these changes available to the public, or at least perhaps send the appropriate changes to Frank so that he can roll them back into the official releases?

I sent them to Frank as soon as I had something functional. If it is of interest to anyone else, I put the patches here.

QUOTE(1stunna @ Apr 6 2003 - 08:17 PM)
i second this request. you are a great man danchr

Hehe, you wouldn't be saying that if you actually knew me B)

BTW, I know someone who is working on a WMA plugin for QuickTime. Changing that to use MPC shouldn't be too difficult. Does anyone know if there will be a libmpc in the future, for integration with MPlayer and stuff?
1stunna
im not sure about the wma QT plugin, but there is an ogg one out there. i have the source if you want

also, i cant get the files to play with the code from franks site. im using

% mppdec FILENAME.mpc | esdcat

should i use something else? im just entirely lost.

and about those changes. are those in the compiled binaries on franks site, and if not, how does one go about implementing said changes?

thanks
c15zyx
QUOTE(1stunna @ Apr 11 2003 - 10:29 AM)
about those changes. are those in the compiled binaries on franks site, and if not, how does one go about implementing said changes?

Changes are made to the source code by the command "patch < patchfile.diff" in the source directory. Then you can compile by doing "make --makefile=Makefile.darwin" ("make --makefile=Makefile.darwin mppenc"?). Compiles ok, but the output of the encoder seems to be messed up and isn't recognized by the 1.1 decoder. Please let me know if i'm doing the patch patch and build process wrong.........
danchr
The Ogg Vorbis decoder is open source and has it's own home page. If I find the time, I may take a look at it.

The changes have not been applied to the version on Frank's page. You need to download it and apply my changes as described above. (Sometimes "patch -p0 < patchfile" works when the other does not.)

As far as I can tell, the version I patched is a prerelease encoder, and it's incompatible with version 1.1. With the encoder, there is a decoder, and the two seem to work well together. At least on my mac they do...

Anyway, "make -f Makefile.darwin" seems simpler wink.gif
Frank Klemm
I lost all mails of the last 3 weeks (usage of mutt + disk space shortage on /var: is this bug fixed in a
newer version???). There were some MacOSX related mails. Resending them would be nice.
danchr
QUOTE(Frank Klemm @ Apr 12 2003 - 02:52 PM)
Resending them would be nice.

Done.
1stunna
so, is there any chance of mpc gettin some sort of easier interface on OSX?
Stratus Fear
QUOTE(danchr @ Apr 12 2003 - 06:03 AM)
The changes have not been applied to the version on Frank's page. You need to download it and apply my changes as described above. (Sometimes "patch -p0 < patchfile" works when the other does not.)

The one on Frank's page seems to work (at least for me). Might it be something with the release of esound that I'm using?
danchr
QUOTE(1stunna @ Apr 17 2003 - 10:35 PM)
so, is there any chance of mpc gettin some sort of easier interface on OSX?

It would require a some work, but it's certainly possible. It would be made a lot easier by an MPC library. In it's current state, MPC has simply been ported to Darwin. Integration into the OS is an entirely different matter. I would like to see MPC support in MPlayer and Quicktime, though smile.gif

QUOTE(Stratus Fear @ Apr 18 2003 - 11:22 AM)
The one on Frank's page seems to work (at least for me).  Might it be something with the release of esound that I'm using?

I just use the one in Fink. I'll look into it to see if I can add some sort of autodetection or whatever.
Horosu
Could anyone tell me how could I transcode the .mpc files in .wav (or .aiff) ?

The decoder on Frank's page just seems to produce some weird screaching sound when attempting to transcode .mpc files...However, the same decoder works via esound (installed by fink) for listening, using the command

% mppdec FILENAME.mpc | esdcat

I am surely missing something....
danchr
It seems my patch didn't include /sw. I changed it, and it should do so now.
icewarlock
Could there also possibly be a Audion/iTunes plug-in for MPC that could be developed? That would be nice and happy...
SNYder
An Audion and iTunes plug-in would be great smile.gif I'd love to be able to take my mpc's with me to school without having to transcode them to MP3 first.
danchr
QUOTE(icewarlock @ Apr 28 2003 - 08:50 PM)
Could there also possibly be a Audion/iTunes plug-in for MPC that could be developed? That would be nice and happy...

That would be made much easier by a libmpc or the likes. Currently, you'd have to extract the relevant sources and redo it every time they are changed.
1stunna
QUOTE(danchr @ Apr 29 2003 - 10:48 PM)
That would be made much easier by a libmpc or the likes. Currently, you'd have to extract the relevant sources and redo it every time they are changed.

what would this entail? as in, how difficult would it be? i have very (very) little coding experience (in C), but i have a summer coming up, and not a lot to do.
danchr
I don't think it would be difficult. The trouble wouldn't be doing it, though, but doing it The Right Way. If you can figure out how to use the MPC code, there is Apple sample code and open source code which can help you achieve the goal. The problem now is that, to my understanding, there isn't any clean interface to MPC other than mppdec. Creating such an interface would probably require some understanding of how the MPC source code works.
1stunna
should all of this be put off until the next version of mpc is released?
danchr
QUOTE(1stunna @ Apr 30 2003 - 10:22 PM)
should all of this be put off until the next version of mpc is released?

If the current approach (forking MPC to create a plugin) should be use, yes. Or at least until there is a better way to use MPC.

Anyway, it won't be done by me right now or in the near future. I don't have the time.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.