Fraunhofer-IIS / mpeghdec

The Fraunhofer MPEG-H decoder (mpeghdec) is a C/C++ implementation of the MPEG-H Audio standard as defined in ISO/IEC 23008-3:2022
Other
61 stars 7 forks source link

Feature Request: Can you add "Binaural" to the DecoderTargetLayout options? #3

Closed bluewidy closed 1 year ago

bluewidy commented 1 year ago

In the CICP parameters, it would be nice to have "Binaural", a layout for headphones.

rzeh-iis commented 1 year ago

Our MPEG-H decoder renders the MPEG-H content to one of the defined speaker layouts. To have a binaural playback on headphones you will need to process one of the multi-channel PCM outputs with a binauralizer / virtualizer of your choice.

bluewidy commented 1 year ago

Fraunhofer's MPEG-H player already provides a binauralizer for headphones. Take a look at this screenshot:

MPEG-H VVplayer

This is VVplayer, the MPEG-H player provided by Fraunhofer. https://www.iis.fraunhofer.de/en/ff/amm/dl/software/mas.html#mhvp VVplayer relies on the MPEG-H decoder and supports binaural output in its "Target speaker layout". So what I would like to see is that binaural layout is added to the CICP parameters of the MPEG-H decoder provided by GitHub.

But are you trying to say that this is not feasible in the CLI environment?

rzeh-iis commented 1 year ago

Our mpeghdec doesn't contain binauralizer/virtualizer post-processing implementation. The VVPlayer uses the Fraunhofer binauralizer (https://www.iis.fraunhofer.de/en/ff/amm/consumer-electronics/cingo.html) which is not available as source code. Therefore yes, the mpeghdec decoder software and CLI example don't provide the binaural headphone output. If you develop your own player, you can attach any available binauralizer/virtualizer to the MPEG-H decoder output.

bluewidy commented 1 year ago

Okay, I'll close the issue, Thank you for your response.