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

Feature request: Can you add "binaural" to the target speaker layout options? #63

Open bluewidy opened 11 months ago

Vamsi100858 commented 11 months ago

Hi @bluewidy ,

Can you please elaborate about the functionality you are expecting with the flag "binaural" .

bluewidy commented 11 months ago

Binaural refers to a layout where you can feel the virtualization of 3D audio on your headphones. So what I expect is what is in this screenshot. The MPEG-H VVplayer provided by Fraunhofer already provides binaural for the target speaker layout. I hope you can hack this.

MPEG-H VVPlayer
bluewidy commented 11 months ago

And I tried the brir parameter with my brir file and it doesn't work. Here is the brir file I used. bluewindys_IRs_for_7.1.4.zip

SakethSathuvalli commented 11 months ago

Can You share the command line ?

bluewidy commented 11 months ago

ia_mpeghd_testbench.exe -ifile:sine_1khz_cicp19.mp4 -ibrir:bluewindys_IRs_for_7.1.4.wav -ofile:result.wav

SakethSathuvalli commented 11 months ago

ia_mpeghd_testbench.exe -ifile:sine_1khz_cicp19.mp4 -ibrir:bluewindys_IRs_for_7.1.4.wav -ofile:result.wav

Can You please confirm if the file - bluewindys_IRs_for_7.1.4.wav - complies with the bitstream format as suggested in section 17.4.2 of MPEG-H 3D Audio specification document?

bluewidy commented 11 months ago

Oh... It looks like I need to pay CHF 208 to see the document...

bluewidy commented 11 months ago

I succeeded in reading the documentation via a different route. So if I understand correctly, I need to provide the directory containing the multiple BRIR files as an argument to the parameter, right?

SakethSathuvalli commented 11 months ago

I succeeded in reading the documentation via a different route. So if I understand correctly, I need to provide the directory containing the multiple BRIR files as an argument to the parameter, right?

Yes, You need to provide the path of the BRIR file (that complies) with the format specified by the MPEG-H 3DA specification document as parameter.

SakethSathuvalli commented 11 months ago

And I tried the brir parameter with my brir file and it doesn't work. Here is the brir file I used. bluewindys_IRs_for_7.1.4.zip

We will look into the possibility of a tool to convert this into a bitstream format that MPEG-H decoder expects.

bluewidy commented 11 months ago

Thank you