Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web demo] 3OA + Stereo not playing together in Binaural #22

Open
crawflord opened this issue Jan 7, 2025 · 3 comments
Open

[Web demo] 3OA + Stereo not playing together in Binaural #22

crawflord opened this issue Jan 7, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@crawflord
Copy link

I used FFMPEG to create an IAMF file from 3OA and stereo wav . Uploaded to the Web Demo and when binaural is selected it will only play the 3OA file. When the stereo is selected it will play back both together. In binaural mode are both supposed to play? In the demo of 3OA and stereo it seems like they do.

@jwcullen
Copy link
Collaborator

jwcullen commented Jan 7, 2025

Can you try creating the file with headphones_rendering_mode=binaural for both the 3OA and stereo audio element?

See Encoding 3rd order Ambisonics and stereo wavs to IAMF.

By default, the headphones_rendering_mode is set to binaural for the ambisonics input, and stereo for the stereo input, with the assumption that the stereo input is a non-diegetic sound source. If both sound sources should be binauralized instead of downmixed to stereo, change both instances of headphones_rendering_mode to binaural.

@crawflord
Copy link
Author

crawflord commented Jan 7, 2025 via email

@jwcullen jwcullen added the bug Something isn't working label Jan 7, 2025
@jwcullen
Copy link
Collaborator

jwcullen commented Jan 7, 2025

3OA downmixed to binaural, with non-diegetic stereo should be possible. Tagged as bug, will have to look into what is going wrong.

If you feel like trying a workaround, then you could try encoding the IAMF with iamf-tools instead of the longer FFmpeg command.

See 3OA and stereo templates here. They are preconfigured for binauralized 3OA + non-diegetic stereo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants