ittiam-systems / libmpegh

MPEG-H 3D Audio Low Complexity Profile Decoder. Encoder: https://github.com/ittiam-systems/libmpeghe
http://www.ittiam.com/
BSD 3-Clause Clear License
86 stars 19 forks source link

[QUESTION] Can I pay someone to explain how to use this like I'm a 5th grader? #76

Closed tcafranz closed 4 months ago

tcafranz commented 4 months ago

I just want to decode the 360 audio files I got from tidal-dl and get the actual 12 or 24 wav files from each song. I'm familiar with some of this stuff but the rest is like reading hieroglyphics. I will literally pay someone to explain this like I'm a 5th grader.

sclsj commented 4 months ago

Are you familiar with the Terminal and how to compile programs?

You should also adjust the CICP to fit the channel layout you have in your setup. The 12 or 24 channel wav you mentioned is the default output which won't work for everyone.

Now unfortunately the 360 audio files follow the specs of Sony but the decoder follows the specs of mpeg-h (which seems to be written partially by Fraunhofer-IIS) which seems to disagree on the channel layout (e.g. what exactly is 5/2.1) so I haven't figured out the CICP indexes yet.

sclsj commented 4 months ago

TL;DR In Terminal run ia_mpeghd_testbench -ifile:<drag 360 file here> -ofile:<drag it here again and replace the file extension with wav>

sclsj commented 4 months ago

If you are using Windows, you can grab the compiled files from releases (both .lib and .exe) If you are using Linux / macOS / etc:

$ git clone "https://github.com/ittiam-systems/libmpegh"
$ cd libmpegh
$ mkdir bin
$ cd bin
$ cmake ..
$ cmake --build .

If that doesn't work, try (after git clone)

$ cd libmpegh
$ autoreconf -if
$ ./configure
$ make