Musepack translator?

Musepack (MPC) audio offers lots of advantages over MP3, and it’s fairly popular. There’s also a Musepack library under the BSD license here.

Haiku media kit has a decoder already implemented, by Axel, an age ago. And VLC builds will support it too if I bother to add it… it works but I took it out of my configure line for some reason

MYOB wrote:
Haiku media kit has a decoder already implemented, by Axel, an age ago. And VLC builds will support it too if I bother to add it... it works but I took it out of my configure line for some reason

Good because I thought I was going crazy; I knew I had seen something dealing with Musepack in the tree before.

Maybe this thread (or even forum) isn’t the proper place for these questions, but what the hey… I’m not too familiar with translations and whatnot in BeOS (never was, even when I used it regularly!).

I couldn’t find a Musepack translator in the tree, so how is Axel’s work implemented if not as a translator? And will any app be able to decode Musepack streams? Sorry to ask so many (likely dumb) questions, but I’m just confused since it’s not–AFAICT–a translator. I didn’t see an MP3 translator either, but I know we support that… so is audio different than images, etc. in terms of how we handle it?

Just a curious soul still trying to figure things out. :oops:

j_freeman wrote:
MYOB wrote:
Haiku media kit has a decoder already implemented, by Axel, an age ago. And VLC builds will support it too if I bother to add it... it works but I took it out of my configure line for some reason

Good because I thought I was going crazy; I knew I had seen something dealing with Musepack in the tree before.

Maybe this thread (or even forum) isn’t the proper place for these questions, but what the hey… I’m not too familiar with translations and whatnot in BeOS (never was, even when I used it regularly!).

I couldn’t find a Musepack translator in the tree, so how is Axel’s work implemented if not as a translator? And will any app be able to decode Musepack streams? Sorry to ask so many (likely dumb) questions, but I’m just confused since it’s not–AFAICT–a translator. I didn’t see an MP3 translator either, but I know we support that… so is audio different than images, etc. in terms of how we handle it?

Just a curious soul still trying to figure things out. :oops:

It’s not categorized as a “translator” per-se - but rather as a media add-on:

http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/add-ons/media/plugins/

umccullough wrote:
It's not categorized as a "translator" per-se - but rather as a media add-on:

http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/add-ons/media/plugins/

Ah, I see.

So what is the rule when determining whether a component should be implemented as a Media add-on or as a translator? (I really need to pick up a copy of the BeOS Bible, sheesh…)

Also, I’m perusing the Musepack addon source… it seems it uses the LGPL musepack library, so does this mean we have encoding and decoding available? (Decoding is available under the BSD, which is why I’m asking.)

It’s good to see that we have Musepack support built in, though. Now we just needa add APE support. :smiley:

I think that Media Addons are strictly for audio and video, while Translators are for text and images.
How extensible are the systems, though? Can Media Addons support returning metadata found in a file, such as the basic track info or more complex subtitles, back to the program that uses the addon? Can the Translation system be easily extended to support new formats, such as vector graphics?