MPEGGroup / FileFormatConformance

MPEG File Format Conformance Framework
https://mpeggroup.github.io/FileFormatConformance/
BSD 3-Clause Clear License
10 stars 3 forks source link

Handling deprecated 4CCs #72

Open podborski opened 1 year ago

podborski commented 1 year ago

Summary

Some 4CCs have been deprecated (e.g. mere) but those are still registered at mp4ra (and this will stay like that). Some of those appear in this warning message:

2023-09-06 13:55:56.465 | WARNING  | construct.boxes:main:336 - Missing boxes in standard features (126): {'auvd', 'feci', 'heic', 'mjpg', 'mint', 'mp4a', 'nclx', 'auxv', 'mp7b', 'geom', 'Exif', 'cdec', 'ecam', 'heix', 'prof', 'isob', 'rICC', 'tile', 'lhti', 'lhte', '1pic', 'sdhd', 'spsc', 'icam', 'vvis', 'iovl', 'vvic', 'evmi', 'relo', 'iphd', 'hvci', 'ochd', 'heis', 'hvti', 'vide', 'iso4', 'mtyp', 'mime', 'pict', 'mif2', 'jpeg', 'levl', 'ctab', 'slid', 'spvi', 'eroi', 'vwsc', 'frar', 'hvce', 'odhd', 'iden', 'null', 'plvi', 'tesc', 'ilvi', 'clip', 'iso2', 'comp', 'jpgs', 'isom', 'm4ae', 'unif', 'rgan', 'mp41', 'mp42', 'isoa', 'scsz', 'm7hd', 'evir', 'vvhd', 'hevs', 'iso9', 'mp4v', 'heim', 'rtvi', 'soun', 'iso3', 'hevm', 'bitr', 'ipmc', 'cgsc', 'iso8', 'load', 'evm1', 'avci', 'hevx', 'matt', 'mere', 'nvws', 'mask', 'avcs', 'volv', 'mp7t', 'mp4s', 'msf1', 'evbi', 'evms', 'mjhd', 'iso6', 'pnot', 'kmat', 'mski', 'aSEI', 'iso7', 'mp71', 'fgsc', 'hvcx', 'resc', 'mif1', 'meco', 'iso5', 'iods', 'isoc', 'hevc', 'mela', 'prfl', 'imif', 'evbs', 'nras', 'crgn', 'imap', 'mpsz', 'esds', 'crhd', 'elvi', 'hapt'}

we need a way to deal with deprecated ones. Perhaps adding an optional deprecated flag to json files would be an option.

Steps to reproduce

No response

podborski commented 1 year ago

We would need to modify the schema to not allow for other properties when deprecated: true is present. Related