gpac / ComplianceWarden

A pluggable compliance checker (ISOBMFF, HEIF/MIAF/AVIF, AV1 HDR10+)
https://gpac.github.io/ComplianceWarden-wasm/
Other
16 stars 7 forks source link

construction_method shall be equal to 0 for MIAF image items that are coded image items. #24

Closed leo-barnes closed 3 years ago

leo-barnes commented 3 years ago

https://gpac.github.io/ComplianceWarden-wasm/avif.html gives me MIAF errors saying that I have construction_method > 0 for coded image items for animals_00_multilayer_lsel.avif.zip

This is incorrect. The file I'm testing has two grids that both use construction method 1, but all the tiles use construction method 0.

leo-barnes commented 3 years ago

It's also giving me the following HEIF errors:

Specification description: HEIF - ISO/IEC 23008-12 - 2nd Edition N18310

[heif][Rule #11] Error: 'grid' version shall be equal to 0, found 97 (itemId=2)
[heif][Rule #19] Error: Wrong arity for boxes { lsel } in parents { ipco }: expected in range [0-1], found 2

I've verified that the grid item bodies has version 0 and flags 0. Best guess is that the warden is getting confused by the file containing multiple grids.

rbouqueau commented 3 years ago

I can't see any error with the current version (the native one, not the wasm one). Closing.