AOMediaCodec / av1-avif

AV1 Image File Format Specification - ISO-BMFF/HEIF derivative
https://aomediacodec.github.io/av1-avif/
BSD 2-Clause "Simplified" License
463 stars 40 forks source link

animals_00_multilayer_lsel.avif: both decoded frames have the same spatial_id #163

Closed 0xC0000054 closed 3 years ago

0xC0000054 commented 3 years ago

The two layers have different width and height values, but the same temporal_id and spatial_id.

Layer 0:

aviflayer0

Layer 1:

aviflayer1

leo-barnes commented 3 years ago

How are you getting the spatial_id of the layers? If you're using libaom, there's a bug that @wantehchang fixed pretty recently that causes the wrong spatial_id to be returned. This is the issue: https://bugs.chromium.org/p/aomedia/issues/detail?id=2993

0xC0000054 commented 3 years ago

How are you getting the spatial_id of the layers?

That is what is displayed in the debugger when using libaom 3.1.1.

...there's a bug that @wantehchang fixed pretty recently that causes the wrong spatial_id to be returned. This is the issue: bugs.chromium.org/p/aomedia/issues/detail?id=2993

I saw that after I opened this issue, that fix was committed after the release of libaom 3.1.1.

leo-barnes commented 3 years ago

@0xC0000054 Can you try if the issue still reproduces with the fix from @wantehchang? The files should be correct as far as I can tell.

0xC0000054 commented 3 years ago

Can you try if the issue still reproduces with the fix from @wantehchang? The files should be correct as far as I can tell.

That patch did fix the issue, so the file is read correctly in libaom 3.1.2 and later.