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

How to programmatically get info about e.g. the streams in a file before decoding it. #131

Open
olilarkin opened this issue Feb 2, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@olilarkin
Copy link

Hello,

Thanks for the tremendous effort on IAMF.

I am integrating support into my project @SpatialAudioKit . I would like to be able to probe an iamf or mp4 file with iamf stream before decoding it, in order to set up audio routings. It's not immediately obvious how i can do this. Can you provide any pointers?

thanks

oli

@yilun-zhangs
Copy link
Collaborator

Hi @olilarkin
Unfortunately, even there is one interface IAMF_decoder_get_stream_info() already, but it could not provide more detail information.

We will consider to expand IAMF_StreamInfo{} to include elements numbers, element type, channels, layout, ambisonics orders, etc..

@yilun-zhangs yilun-zhangs added the enhancement New feature or request label Feb 5, 2025
@yilun-zhangs
Copy link
Collaborator

Hi @olilarkin

I have checked that ffmpeg supports to probe basic information
I am not sure if ffmpeg could satisfy your requirement before libiamf support it.

Thanks.

@olilarkin
Copy link
Author

Thanks, i am aware of ffprobe/libavformat, unfortunately the license is probably too prohibitive. It would be great to get that functionality in libaimf!

Whilst i have your attention i wondered if AOMediaCodec/iamf-tools@c6521c7 indicates that another IAMF decoder will be open sourced?

@yilun-zhangs
Copy link
Collaborator

Hi @jwcullen
The decoder mentioned in that commit will be open sourced? I think the decoder is used to generated rendered reference file for each TC in tests directory, right?

Hi @olilarkin
Regarding the probe function, we will continue to consider it.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants