ebu / ebu_adm_renderer

The EBU ADM Renderer, written in Python, is the reference implementation of EBU Tech 3388
https://ear.readthedocs.io
BSD 3-Clause Clear License
79 stars 13 forks source link

AttributeError: 'NoneType' object has no attribute 'audioIDs' #49

Closed 980202006 closed 5 months ago

980202006 commented 2 years ago

image

tomjnixon commented 2 years ago

I suspect your file might not have a CHNA chunk? This is required for a valid BW64 file.

If you think this should work, I'd need more details about the file to investigate.

It might also be worth trying the current master version, as the published version of the EAR is now quite old: https://ear.readthedocs.io/en/latest/install.html#install-ear

happyTonakai commented 6 months ago

I'm new to the ADM format. Can you give an example of yaml metadata for ear-utils make_test_bwf to generate a bwf file?

tomjnixon commented 6 months ago

I'm not sure how this is related to this issue, but there's an example in the file here:

https://github.com/ebu/ebu_adm_renderer/blob/090c4fb54347eff818389d6a2992eeb8fdd3125c/ear/cmdline/generate_test_file.py#L23-L53

It might be worth documenting this properly, but it's mostly intended to be used for testing the software itself -- I wouldn't want people to treat the YAML this accepts as a stable file format.

We should add an example to the documentation of using ear-utils replace_axml to ad ADM metadata to a plain wav file. This is the best way to do it, but it's not clear from the documentation.