You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IN ARGS:
Output binaural
Output mode 2
Input file : C:\Programs\AOM Immersive Audio Model and Formats (IAMF) Player\test_000086.iamf
Binaural has 2 channels
===================== Get 3748 frames
===================== Get 240000 samples
But the file I get is just non-binaural stereo (HRTF doesn't seem to be applied).
If I set it to output 7.1 and virtualize it with something like HeSuVi, then I can hear externalization and positioning, so I'm not sure if I'm missing something or there's a bug with the binaural output mode or the HRTF file🤔
I put together a quick test here: iamfplayer binaural test.zip
Just gotta download default.tf manually since it's too big to attach here, then drag and drop the test_000086.iamf into Binaural.bat
Yup, same result: iamfplayer -sb -o2 "test_000096.iamf"
IN ARGS:
Output binaural
Output mode 2
Input file : C:\Programs\AOM Immersive Audio Model and Formats (IAMF) Player\test_000096.iamf
Binaural has 2 channels
===================== Get 236 frames
===================== Get 240000 samples
@ThreeDeeJay
Because libiamf will require bear and resonance libraries, which also require many third libraries. I did not provide them(I only provided linux libararies) in our git
So default, the Visual Studio solution dose not open this feature with preprocessor definition "DISABLE_BINAURALIZER"
If you want to use binarual feature, I can provide guide:
1, refer to https://github.com/AOMediaCodec/libiamf/blob/main/code/dep_external/README.md
Prepare all libraries(boost_filesystem.dll, boost_thread.dll, efl.dll, iamf2bear.lib iamf2bear.dll, iamf2resonance.lib, objectmodel.dll, panning.dll, pml.dll, rbbl.dll, rcl.dll, rrl.dll, visr.dll ) and place *dll in your working directory, please *lib in your building directory.
2, add preprocessor definition "DISABLE_BINAURALIZER=0" in iamf project of Visual studio solution.
Later I will think more how to enable binaural feature in Visual Studio solution.
Ah, that explains it. I'd appreciate an update to the VS solution to get more value out of #71, but I'll see if I can manage to do it with the manual method 👌
Compiling libiamf and iamfdec tool under windows PC using simple command: cmake -B build -DIAMF_BUILD_SHARED_LIB=OFF -DIAMF_TEST_TOOL=ON is supported,
so it also support to generate VS solution project.
Activity
jwcullen commentedon Nov 16, 2023
Can you see if you have the problem with test_000096.iamf?
ThreeDeeJay commentedon Nov 16, 2023
Yup, same result:
iamfplayer -sb -o2 "test_000096.iamf"binaural_test_000096.wav.zip
yilun-zhangs commentedon Nov 17, 2023
@ThreeDeeJay
Because libiamf will require bear and resonance libraries, which also require many third libraries. I did not provide them(I only provided linux libararies) in our git
So default, the Visual Studio solution dose not open this feature with preprocessor definition "DISABLE_BINAURALIZER"
If you want to use binarual feature, I can provide guide:
1, refer to https://github.com/AOMediaCodec/libiamf/blob/main/code/dep_external/README.md
Prepare all libraries(boost_filesystem.dll, boost_thread.dll, efl.dll, iamf2bear.lib iamf2bear.dll, iamf2resonance.lib, objectmodel.dll, panning.dll, pml.dll, rbbl.dll, rcl.dll, rrl.dll, visr.dll ) and place *dll in your working directory, please *lib in your building directory.
2, add preprocessor definition "DISABLE_BINAURALIZER=0" in iamf project of Visual studio solution.
Later I will think more how to enable binaural feature in Visual Studio solution.
ThreeDeeJay commentedon Nov 17, 2023
Ah, that explains it. I'd appreciate an update to the VS solution to get more value out of #71, but I'll see if I can manage to do it with the manual method 👌
yilun-zhangs commentedon Sep 9, 2026
Compiling
libiamfandiamfdectool under windows PC using simple command:cmake -B build -DIAMF_BUILD_SHARED_LIB=OFF -DIAMF_TEST_TOOL=ONis supported,so it also support to generate VS solution project.