From 40a19ed2dc392547e0879c47c89783fa1fe62958 Mon Sep 17 00:00:00 2001 From: Dimitri Podborski Date: Wed, 18 Oct 2023 21:47:59 -0700 Subject: [PATCH] add files from m63203. HEIF region items. Canon --- .../region-derived-crop.heic | 3 + .../region-derived-crop.json | 14 + .../region-derived-crop_gpac.ext.json | 16 + .../region-derived-crop_gpac.json | 423 +++++++++++++++++ .../region-derived-mirror.heic | 3 + .../region-derived-mirror.json | 14 + .../region-derived-mirror_gpac.ext.json | 16 + .../region-derived-mirror_gpac.json | 416 ++++++++++++++++ .../region-derived-rotation.heic | 3 + .../region-derived-rotation.json | 14 + .../region-derived-rotation_gpac.ext.json | 16 + .../region-derived-rotation_gpac.json | 416 ++++++++++++++++ .../region-ellipse.heic | 3 + .../region-ellipse.json | 14 + .../region-ellipse_gpac.ext.json | 16 + .../region-ellipse_gpac.json | 370 +++++++++++++++ .../region-list-large.heic | 3 + .../region-list-large.json | 14 + .../region-list-large_gpac.ext.json | 16 + .../region-list-large_gpac.json | 311 ++++++++++++ .../region-list.heic | 3 + .../region-list.json | 14 + .../region-list_gpac.ext.json | 16 + .../region-list_gpac.json | 311 ++++++++++++ .../region-mask-inline.heic | 3 + .../region-mask-inline.json | 14 + .../region-mask-inline_gpac.ext.json | 16 + .../region-mask-inline_gpac.json | 311 ++++++++++++ .../region-mask.heic | 3 + .../region-mask.json | 14 + .../region-mask_gpac.ext.json | 16 + .../region-mask_gpac.json | 447 ++++++++++++++++++ .../region-point.heic | 3 + .../region-point.json | 14 + .../region-point_gpac.ext.json | 16 + .../region-point_gpac.json | 311 ++++++++++++ .../region-polygon.heic | 3 + .../region-polygon.json | 14 + .../region-polygon_gpac.ext.json | 16 + .../region-polygon_gpac.json | 370 +++++++++++++++ .../region-polyline.heic | 3 + .../region-polyline.json | 14 + .../region-polyline_gpac.ext.json | 16 + .../region-polyline_gpac.json | 311 ++++++++++++ .../region-rectangle.heic | 3 + .../region-rectangle.json | 14 + .../region-rectangle_gpac.ext.json | 16 + .../region-rectangle_gpac.json | 370 +++++++++++++++ 48 files changed, 4763 insertions(+) create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-point.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-point.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.heic create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.ext.json create mode 100644 data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.json diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.heic new file mode 100644 index 0000000..6f68228 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:314e57ba69f8845e40c32adbda2fad6344648a8cfedf768e72c91fc2957128a0 +size 148193 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.json new file mode 100644 index 0000000..fb7e9d9 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Derived region item using a 'clap' transformative item property.", + "mdms_number": "m63203", + "rel_filepath": "./region-derived-crop.heic", + "associated_files": [], + "version": 1, + "md5": "bd46c217623b796a24c55bb3448a90ec", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.ext.json new file mode 100644 index 0000000..9ce0128 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-derived-crop.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.json new file mode 100644 index 0000000..74f7f4d --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-crop_gpac.json @@ -0,0 +1,423 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-derived-crop.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2952", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "2" + }, + "ItemLocationBox": { + "@Size": "72", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2984", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148167", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "26", + "@extent_index": "0" + } + }, + { + "@item_ID": "2", + "@data_reference_index": "0", + "@base_offset": "0", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "0", + "@extent_index": "0" + } + }, + { + "@item_ID": "3", + "@data_reference_index": "0", + "@base_offset": "0", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "0", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "104", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "2", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "iden" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "3", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "iden" + } + ] + }, + "ItemReferenceBox": { + "@Size": "68", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": [ + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "dimg", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "2", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "drgn", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "3", + "ItemReferenceBoxEntry": { + "@ItemID": "100" + } + }, + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "3", + "ItemReferenceBoxEntry": { + "@ItemID": "2" + } + } + ] + }, + "ItemPropertiesBox": { + "@Size": "2637", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2594", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D4742004869626973637573000000" + }, + "CleanApertureBox": { + "@Size": "40", + "@Type": "clap", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@cleanApertureWidthN": "600", + "@cleanApertureWidthD": "1", + "@cleanApertureHeightN": "300", + "@cleanApertureHeightD": "1", + "@horizOffN": "200", + "@horizOffD": "1", + "@vertOffN": "100", + "@vertOffD": "1" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "35", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "4", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + }, + { + "@item_ID": "2", + "@association_count": "1", + "Property": { + "@index": "6", + "@essential": "1" + } + }, + { + "@item_ID": "3", + "@association_count": "1", + "Property": { + "@index": "6", + "@essential": "1" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "145217", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "145209" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.heic new file mode 100644 index 0000000..8d1aabc --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75e4598f61e77c95279364e96b9f51ca44f0681d9553b217b5421005f5b9455f +size 148162 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.json new file mode 100644 index 0000000..b0b4192 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Derived region item using an 'imir' transformative item property.", + "mdms_number": "m63203", + "rel_filepath": "./region-derived-mirror.heic", + "associated_files": [], + "version": 1, + "md5": "d488e0206c35f8c792f14179d1f62ea8", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.ext.json new file mode 100644 index 0000000..3eb1e7d --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-derived-mirror.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.json new file mode 100644 index 0000000..409e91d --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-mirror_gpac.json @@ -0,0 +1,416 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-derived-mirror.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2921", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "2" + }, + "ItemLocationBox": { + "@Size": "72", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2953", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148136", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "26", + "@extent_index": "0" + } + }, + { + "@item_ID": "2", + "@data_reference_index": "0", + "@base_offset": "0", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "0", + "@extent_index": "0" + } + }, + { + "@item_ID": "3", + "@data_reference_index": "0", + "@base_offset": "0", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "0", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "104", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "2", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "iden" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "3", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "iden" + } + ] + }, + "ItemReferenceBox": { + "@Size": "68", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": [ + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "dimg", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "2", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "drgn", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "3", + "ItemReferenceBoxEntry": { + "@ItemID": "100" + } + }, + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "3", + "ItemReferenceBoxEntry": { + "@ItemID": "2" + } + } + ] + }, + "ItemPropertiesBox": { + "@Size": "2606", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2563", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D4742004869626973637573000000" + }, + "ImageMirrorBox": { + "@Size": "9", + "@Type": "imir", + "@Specification": "iff", + "@Container": "ipco", + "@axis": "vertical" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "35", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "4", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + }, + { + "@item_ID": "2", + "@association_count": "1", + "Property": { + "@index": "6", + "@essential": "1" + } + }, + { + "@item_ID": "3", + "@association_count": "1", + "Property": { + "@index": "6", + "@essential": "1" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "145217", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "145209" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.heic new file mode 100644 index 0000000..6e51902 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5311a1c55a990ba3e21c8fd0e523ec54dc43a9f638416e3c38bb2544f11bfd11 +size 148162 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.json new file mode 100644 index 0000000..7914dbd --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Derived region item using an 'irot' transformative item property.", + "mdms_number": "m63203", + "rel_filepath": "./region-derived-rotation.heic", + "associated_files": [], + "version": 1, + "md5": "41319670f9b58c6d6f406405ed377c43", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.ext.json new file mode 100644 index 0000000..bec4adb --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-derived-rotation.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.json new file mode 100644 index 0000000..1a1ef65 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-derived-rotation_gpac.json @@ -0,0 +1,416 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-derived-rotation.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2921", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "2" + }, + "ItemLocationBox": { + "@Size": "72", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2953", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148136", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "26", + "@extent_index": "0" + } + }, + { + "@item_ID": "2", + "@data_reference_index": "0", + "@base_offset": "0", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "0", + "@extent_index": "0" + } + }, + { + "@item_ID": "3", + "@data_reference_index": "0", + "@base_offset": "0", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "0", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "104", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "2", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "iden" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "3", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "iden" + } + ] + }, + "ItemReferenceBox": { + "@Size": "68", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": [ + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "dimg", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "2", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "drgn", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "3", + "ItemReferenceBoxEntry": { + "@ItemID": "100" + } + }, + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "3", + "ItemReferenceBoxEntry": { + "@ItemID": "2" + } + } + ] + }, + "ItemPropertiesBox": { + "@Size": "2606", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2563", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D4742004869626973637573000000" + }, + "ImageRotationBox": { + "@Size": "9", + "@Type": "irot", + "@Specification": "iff", + "@Container": "ipco", + "@angle": "90" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "35", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "4", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + }, + { + "@item_ID": "2", + "@association_count": "1", + "Property": { + "@index": "6", + "@essential": "1" + } + }, + { + "@item_ID": "3", + "@association_count": "1", + "Property": { + "@index": "6", + "@essential": "1" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "145217", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "145209" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.heic new file mode 100644 index 0000000..db4b75a --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30c1adc8f28ab6c2879ddc14d1a27a8ebaec698acc392e7a6001be8136ad7301 +size 183599 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.json new file mode 100644 index 0000000..142d0b7 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Ellipse region with 'udes' annotation.", + "mdms_number": "m63203", + "rel_filepath": "./region-ellipse.heic", + "associated_files": [], + "version": 1, + "md5": "f52ecc1163fcac8a54e19b4ca706dd7d", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.ext.json new file mode 100644 index 0000000..e6e85b7 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-ellipse.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D474200526F7365000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.json new file mode 100644 index 0000000..c1bc9ea --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-ellipse_gpac.json @@ -0,0 +1,370 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-ellipse.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2844", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "58", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2876", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148059", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "16", + "@extent_index": "0" + } + }, + { + "@item_ID": "2", + "@data_reference_index": "0", + "@base_offset": "148075", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "35524", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "83", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "2", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + } + ] + }, + "ItemReferenceBox": { + "@Size": "40", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": [ + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "2", + "ItemReferenceBoxEntry": { + "@ItemID": "100" + } + } + ] + }, + "ItemPropertiesBox": { + "@Size": "2592", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2550", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D474200526F7365000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "34", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "3", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + }, + { + "@item_ID": "2", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "180731", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "180723" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.heic new file mode 100644 index 0000000..f04d031 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1de18b40ab7ad0b07e1c867e949f7b120a36e084b051a98a1750a5aa81a255a6 +size 148053 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.json new file mode 100644 index 0000000..5428679 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "One rectangle and two points regions in a single region item, with 'udes' annotation, where the regions are defined using a field_size of 32.", + "mdms_number": "m63203", + "rel_filepath": "./region-list-large.heic", + "associated_files": [], + "version": 1, + "md5": "a90c09d75d771a26ad5a973021a3f0fd", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.ext.json new file mode 100644 index 0000000..bbee154 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-list-large.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.json new file mode 100644 index 0000000..f5730c4 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list-large_gpac.json @@ -0,0 +1,311 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-list-large.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2792", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "44", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2824", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148007", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "46", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "62", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + } + ] + }, + "ItemReferenceBox": { + "@Size": "26", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + } + }, + "ItemPropertiesBox": { + "@Size": "2589", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2554", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "27", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "2", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "145237", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "145229" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list.heic new file mode 100644 index 0000000..fde076d --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:732ad04fd3ec2da620e75af11cd663253d703f55254c56bf52ec21580f7f989a +size 148033 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list.json new file mode 100644 index 0000000..6ecf4f0 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "One rectangle and two points regions in a single region item, with 'udes' annotation.", + "mdms_number": "m63203", + "rel_filepath": "./region-list.heic", + "associated_files": [], + "version": 1, + "md5": "146d8111c45a2a4558689323074935f2", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.ext.json new file mode 100644 index 0000000..0514905 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-list.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.json new file mode 100644 index 0000000..b2510e4 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-list_gpac.json @@ -0,0 +1,311 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-list.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2792", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "44", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2824", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148007", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "26", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "62", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + } + ] + }, + "ItemReferenceBox": { + "@Size": "26", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + } + }, + "ItemPropertiesBox": { + "@Size": "2589", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2554", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "27", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "2", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "145217", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "145209" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.heic new file mode 100644 index 0000000..542aa2e --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55c33949546ec8923679cb0896b146d717fe42ae6e8fccdf1e0930cb9bd0218a +size 165462 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.json new file mode 100644 index 0000000..74c5e92 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Mask region with 'udes' annotation, where the mask is defined inline in the region item.", + "mdms_number": "m63203", + "rel_filepath": "./region-mask-inline.heic", + "associated_files": [], + "version": 1, + "md5": "058534c39c00cfd80e33db286b25b7ba", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.ext.json new file mode 100644 index 0000000..81fa789 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-mask-inline.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D474200526F7365000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.json new file mode 100644 index 0000000..20c1c95 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask-inline_gpac.json @@ -0,0 +1,311 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-mask-inline.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2788", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "44", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2820", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148003", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "17459", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "62", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + } + ] + }, + "ItemReferenceBox": { + "@Size": "26", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + } + }, + "ItemPropertiesBox": { + "@Size": "2585", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2550", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D474200526F7365000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "27", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "2", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "162650", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "162642" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.heic new file mode 100644 index 0000000..6859127 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d22ded43670a4e3ce59c8fa4c52a9951d7467702f97219021f854f7154264ec +size 152553 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.json new file mode 100644 index 0000000..c245ee0 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Mask region with 'udes' annotation, where the mask is defined as an item.", + "mdms_number": "m63203", + "rel_filepath": "./region-mask.heic", + "associated_files": [], + "version": 1, + "md5": "f3061c0cd579f6ce0013865891d053f2", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.ext.json new file mode 100644 index 0000000..adf2024 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-mask.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D474200526F7365000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.json new file mode 100644 index 0000000..e1b00b9 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-mask_gpac.json @@ -0,0 +1,447 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-mask.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "5285", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "58", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "5317", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "2", + "@data_reference_index": "0", + "@base_offset": "150500", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "2037", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "152537", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "16", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "83", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "2", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + } + ] + }, + "ItemReferenceBox": { + "@Size": "40", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": [ + { + "@Size": "14", + "@Type": "mask", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "2" + } + }, + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + } + ] + }, + "ItemPropertiesBox": { + "@Size": "5033", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "4991", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": [ + { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "408", + "@image_height": "342" + } + ], + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": [ + { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + { + "@Size": "2421", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "4", + "@general_profile_compatibility_flags": "8000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "fc800000000", + "@level_idc": "63", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "Unknown", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "23", + "@content": "data:application/octet-string,40010C01FFFF0408000003009FC800000300003F959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "41", + "@content": "data:application/octet-string,4201010408000003009FC800000300003FC03320159F796566924CAE6C08000003000800000300C840" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2299", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFF62CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D30206670733D32352F3120696E7075742D7265733D3430387833343220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D30207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D32206368726F6D616C6F633D3020646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + } + ], + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D474200526F7365000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "34", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "3", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "2", + "@association_count": "4", + "Property": [ + { + "@index": "5", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "6", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "7", + "@essential": "0" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "147244", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "147236" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-point.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point.heic new file mode 100644 index 0000000..8412abf --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b547f02192754d44bd35b2e727ad43b17a81c7654f9279e32784e5535cb2623 +size 148023 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-point.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point.json new file mode 100644 index 0000000..9443725 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Point region with 'udes' annotation.", + "mdms_number": "m63203", + "rel_filepath": "./region-point.heic", + "associated_files": [], + "version": 1, + "md5": "424a5d28d13e6c728812ec9efcd20d6a", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.ext.json new file mode 100644 index 0000000..804a76b --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-point.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "33", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D474200486962697363757320627564000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.json new file mode 100644 index 0000000..1f149ed --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-point_gpac.json @@ -0,0 +1,311 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-point.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2796", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "44", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2828", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148011", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "12", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "62", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + } + ] + }, + "ItemReferenceBox": { + "@Size": "26", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + } + }, + "ItemPropertiesBox": { + "@Size": "2593", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2558", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "33", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D474200486962697363757320627564000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "27", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "2", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "145203", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "145195" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.heic new file mode 100644 index 0000000..dc97df9 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b6bf855a5ad5fc73ab82988aa91d350ca2e81e9f354b89d9890637a7e464bcd +size 183621 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.json new file mode 100644 index 0000000..c083a60 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Polygon region with 'udes' annotation.", + "mdms_number": "m63203", + "rel_filepath": "./region-polygon.heic", + "associated_files": [], + "version": 1, + "md5": "f64e181244303546937cc6942b1cadc9", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.ext.json new file mode 100644 index 0000000..67dc9a6 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-polygon.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D474200526F7365000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.json new file mode 100644 index 0000000..af721b3 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polygon_gpac.json @@ -0,0 +1,370 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-polygon.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2844", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "58", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2876", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148059", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "38", + "@extent_index": "0" + } + }, + { + "@item_ID": "2", + "@data_reference_index": "0", + "@base_offset": "148097", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "35524", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "83", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "2", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + } + ] + }, + "ItemReferenceBox": { + "@Size": "40", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": [ + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "2", + "ItemReferenceBoxEntry": { + "@ItemID": "100" + } + } + ] + }, + "ItemPropertiesBox": { + "@Size": "2592", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2550", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "25", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D474200526F7365000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "34", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "3", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + }, + { + "@item_ID": "2", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "180753", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "180745" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.heic new file mode 100644 index 0000000..e14daf9 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:280f6ae1cafce4b71013177b427a9d8d99226f110181686d2ae52dbbc0d5236d +size 148052 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.json new file mode 100644 index 0000000..4f56714 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Polyline region with 'udes' annotation.", + "mdms_number": "m63203", + "rel_filepath": "./region-polyline.heic", + "associated_files": [], + "version": 1, + "md5": "fe19f2cef267b48be3a74ef962ebb844", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.ext.json new file mode 100644 index 0000000..c9d6aae --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-polyline.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "32", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D474200526F736520626F72646572000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.json new file mode 100644 index 0000000..7b4970b --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-polyline_gpac.json @@ -0,0 +1,311 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-polyline.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2795", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "44", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2827", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148010", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "42", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "62", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + } + ] + }, + "ItemReferenceBox": { + "@Size": "26", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + } + }, + "ItemPropertiesBox": { + "@Size": "2592", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2557", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "32", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D474200526F736520626F72646572000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "27", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "2", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "145233", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "145225" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.heic b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.heic new file mode 100644 index 0000000..6e83820 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.heic @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea963625d7a5355ccbed870cdee51f09190d6434c322ba4db76a5124c69a4dbe +size 197292 diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.json new file mode 100644 index 0000000..4d9b4ec --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle.json @@ -0,0 +1,14 @@ +{ + "contributor": "CANON Research Centre France", + "description": "Rectangle region with 'udes' annotation.", + "mdms_number": "m63203", + "rel_filepath": "./region-rectangle.heic", + "associated_files": [], + "version": 1, + "md5": "c08f6806b2ba3861f880e36cc1db3758", + "published": false, + "features": [], + "conforms_to": [], + "notes": "", + "license": "" +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.ext.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.ext.json new file mode 100644 index 0000000..a5238a3 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.ext.json @@ -0,0 +1,16 @@ +{ + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master", + "rel_filepath": "./region-rectangle.heic", + "extensions": [ + { + "location": "file.meta.iprp.ipco", + "box": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "ipco", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + } + ] +} diff --git a/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.json b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.json new file mode 100644 index 0000000..2e44792 --- /dev/null +++ b/data/file_features/under_consideration/heif_rgan_item_conformance/region-rectangle_gpac.json @@ -0,0 +1,370 @@ +{ + "IsoMediaFile": { + "@xmlns": "urn:mpeg:isobmff:schema:file:2016", + "@Name": "region-rectangle.heic", + "FileTypeBox": { + "@Size": "24", + "@Type": "ftyp", + "@Specification": "p12", + "@Container": "file otyp", + "@MajorBrand": "mif1", + "@MinorVersion": "0", + "BrandEntry": [ + { + "@AlternateBrand": "mif1" + }, + { + "@AlternateBrand": "heic" + } + ] + }, + "MetaBox": { + "@Size": "2848", + "@Type": "meta", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "file moov trak moof traf udta", + "HandlerBox": { + "@Size": "45", + "@Type": "hdlr", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "mdia meta minf", + "@hdlrType": "pict", + "@Name": "pict Handler", + "@reserved1": "0", + "@reserved2": "data:application/octet-string,000000000000000000000000" + }, + "PrimaryItemBox": { + "@Size": "14", + "@Type": "pitm", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@item_ID": "1" + }, + "ItemLocationBox": { + "@Size": "58", + "@Type": "iloc", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "@offset_size": "0", + "@length_size": "4", + "@base_offset_size": "4", + "@index_size": "0", + "ItemLocationEntry": [ + { + "@item_ID": "1", + "@data_reference_index": "0", + "@base_offset": "2880", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "145183", + "@extent_index": "0" + } + }, + { + "@item_ID": "100", + "@data_reference_index": "0", + "@base_offset": "148063", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "16", + "@extent_index": "0" + } + }, + { + "@item_ID": "2", + "@data_reference_index": "0", + "@base_offset": "148079", + "@construction_method": "0", + "ItemExtentEntry": { + "@extent_offset": "0", + "@extent_length": "49213", + "@extent_index": "0" + } + } + ] + }, + "ItemInfoBox": { + "@Size": "83", + "@Type": "iinf", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemInfoEntryBox": [ + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "1", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + }, + { + "@Size": "27", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "100", + "@item_protection_index": "0", + "@item_name": "Region", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "rgan" + }, + { + "@Size": "21", + "@Type": "infe", + "@Version": "2", + "@Flags": "0", + "@Specification": "p12", + "@Container": "iinf", + "@item_ID": "2", + "@item_protection_index": "0", + "@item_name": "(null)", + "@content_type": "(null)", + "@content_encoding": "(null)", + "@item_type": "hvc1" + } + ] + }, + "ItemReferenceBox": { + "@Size": "40", + "@Type": "iref", + "@Version": "0", + "@Flags": "0", + "@Specification": "p12", + "@Container": "meta", + "ItemReferenceBox": [ + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "100", + "ItemReferenceBoxEntry": { + "@ItemID": "1" + } + }, + { + "@Size": "14", + "@Type": "cdsc", + "@Specification": "p12", + "@Container": "iref", + "@from_item_id": "2", + "ItemReferenceBoxEntry": { + "@ItemID": "100" + } + } + ] + }, + "ItemPropertiesBox": { + "@Size": "2596", + "@Type": "iprp", + "@Specification": "iff", + "@Container": "meta", + "ItemPropertyContainerBox": { + "@Size": "2554", + "@Type": "ipco", + "@Specification": "iff", + "@Container": "iprp", + "ImageSpatialExtentsPropertyBox": { + "@Size": "20", + "@Type": "ispe", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "@image_width": "2016", + "@image_height": "1512" + }, + "PixelAspectRatioBox": { + "@Size": "16", + "@Type": "pasp", + "@Specification": "p12", + "@Container": "video_sample_entry ipco", + "@hSpacing": "1", + "@vSpacing": "1" + }, + "HEVCConfigurationBox": { + "@Size": "2465", + "@Type": "hvcC", + "@Specification": "p15", + "@Container": "hvc1 hev1 hvc2 hev2 encv resv ipco dvh1 dvhe", + "HEVCDecoderConfigurationRecord": { + "@nal_unit_size": "4", + "@configurationVersion": "1", + "@profile_space": "0", + "@tier_flag": "0", + "@profile_idc": "1", + "@general_profile_compatibility_flags": "60000000", + "@progressive_source_flag": "1", + "@interlaced_source_flag": "0", + "@non_packed_constraint_flag": "0", + "@frame_only_constraint_flag": "1", + "@constraint_indicator_flags": "0", + "@level_idc": "150", + "@min_spatial_segmentation_idc": "0", + "@parallelismType": "0", + "@chroma_format": "YUV 4:2:0", + "@luma_bit_depth": "8", + "@chroma_bit_depth": "8", + "@avgFrameRate": "0", + "@constantFrameRate": "0", + "@numTemporalLayers": "1", + "@temporalIdNested": "1", + "ParameterSetArray": [ + { + "@nalu_type": "32", + "@complete_set": "0", + "ParameterSet": { + "@size": "24", + "@content": "data:application/octet-string,40010C01FFFF016000000300900000030000030096959809" + } + }, + { + "@nalu_type": "33", + "@complete_set": "0", + "ParameterSet": { + "@size": "46", + "@content": "data:application/octet-string,420101016000000300900000030000030096A003F08017A596566924CAE6E04040B4820000030002000003003210" + } + }, + { + "@nalu_type": "34", + "@complete_set": "0", + "ParameterSet": { + "@size": "7", + "@content": "data:application/octet-string,4401C172B46240" + } + }, + { + "@nalu_type": "39", + "@complete_set": "0", + "ParameterSet": { + "@size": "2337", + "@content": "data:application/octet-string,4E0105FFFFFFFFFFFFFFFFFF1C2CA2DE09B51747DBBB55A4FE7FC2FC4E7832363520286275696C642031393929202D20332E342B33312D3637323266636531663A5B4D6163204F5320585D5B636C616E672031322E302E305D5B3634206269745D20386269742B31306269742B3132626974202D20482E3236352F4845564320636F646563202D20436F7079726967687420323031332D3230313820286329204D756C7469636F7265776172652C20496E63202D20687474703A2F2F783236352E6F7267202D206F7074696F6E733A2063707569643D31313131303339206672616D652D746872656164733D3320777070206E6F2D706D6F6465206E6F2D706D65206E6F2D70736E72206E6F2D7373696D206C6F672D6C6576656C3D322062697464657074683D3820696E7075742D6373703D31206670733D32352F3120696E7075742D7265733D32303136783135313220696E7465726C6163653D3020746F74616C2D6672616D65733D30206C6576656C2D6964633D3020686967682D746965723D31207568642D62643D30207265663D33206E6F2D616C6C6F772D6E6F6E2D636F6E666F726D616E6365206E6F2D7265706561742D6865616465727320616E6E657862206E6F2D617564206E6F2D68726420696E666F20686173683D30206E6F2D74656D706F72616C2D6C6179657273206F70656E2D676F70206D696E2D6B6579696E743D3235206B6579696E743D32353020676F702D6C6F6F6B61686561643D3020626672616D65733D3420622D61646170743D3220622D707972616D696420626672616D652D626961733D302072632D6C6F6F6B61686561643D3230206C6F6F6B61686561642D736C696365733D38207363656E656375743D343020686973742D7363656E656375743D30207261646C3D30206E6F2D73706C696365206E6F2D696E7472612D72656672657368206374753D3634206D696E2D63752D73697A653D38206E6F2D72656374206E6F2D616D70206D61782D74752D73697A653D33322074752D696E7465722D64657074683D312074752D696E7472612D64657074683D31206C696D69742D74753D302072646F712D6C6576656C3D302064796E616D69632D72643D302E3030206E6F2D7373696D2D7264207369676E68696465206E6F2D74736B6970206E722D696E7472613D30206E722D696E7465723D30206E6F2D636F6E73747261696E65642D696E747261207374726F6E672D696E7472612D736D6F6F7468696E67206D61782D6D657267653D33206C696D69742D726566733D31206E6F2D6C696D69742D6D6F646573206D653D31207375626D653D32206D6572616E67653D35372074656D706F72616C2D6D7670206E6F2D6672616D652D647570206E6F2D686D652077656967687470206E6F2D77656967687462206E6F2D616E616C797A652D7372632D70696373206465626C6F636B3D303A302073616F206E6F2D73616F2D6E6F6E2D6465626C6F636B2072643D332073656C6563746976652D73616F3D34206561726C792D736B69702072736B6970206E6F2D666173742D696E747261206E6F2D74736B69702D66617374206E6F2D63752D6C6F73736C65737320622D696E747261206E6F2D73706C697472642D736B697020726470656E616C74793D30207073792D72643D322E3030207073792D72646F713D302E3030206E6F2D72642D726566696E65206E6F2D6C6F73736C65737320636271706F6666733D3020637271706F6666733D302072633D637266206372663D32382E302071636F6D703D302E3630207170737465703D342073746174732D77726974653D302073746174732D726561643D30206970726174696F3D312E3430207062726174696F3D312E33302061712D6D6F64653D322061712D737472656E6774683D312E303020637574726565207A6F6E652D636F756E743D30206E6F2D7374726963742D6362722071672D73697A653D3332206E6F2D72632D677261696E2071706D61783D36392071706D696E3D30206E6F2D636F6E73742D766276207361723D30206F7665727363616E3D3020766964656F666F726D61743D352072616E67653D3120636F6C6F727072696D3D32207472616E736665723D3220636F6C6F726D61747269783D35206368726F6D616C6F633D31206368726F6D616C6F632D746F703D31206368726F6D616C6F632D626F74746F6D3D3120646973706C61792D77696E646F773D3020636C6C3D302C30206D696E2D6C756D613D30206D61782D6C756D613D323535206C6F67322D6D61782D706F632D6C73623D38207675692D74696D696E672D696E666F207675692D6872642D696E666F20736C696365733D31206E6F2D6F70742D71702D707073206E6F2D6F70742D7265662D6C6973742D6C656E6774682D707073206E6F2D6D756C74692D706173732D6F70742D727073207363656E656375742D626961733D302E303520686973742D7468726573686F6C643D302E3033206E6F2D6F70742D63752D64656C74612D7170206E6F2D61712D6D6F74696F6E206E6F2D6864723130206E6F2D68647231302D6F7074206E6F2D6468647231302D6F7074206E6F2D6964722D7265636F766572792D73656920616E616C797369732D72657573652D6C6576656C3D3020616E616C797369732D736176652D72657573652D6C6576656C3D3020616E616C797369732D6C6F61642D72657573652D6C6576656C3D30207363616C652D666163746F723D3020726566696E652D696E7472613D3020726566696E652D696E7465723D3020726566696E652D6D763D3120726566696E652D6374752D646973746F7274696F6E3D30206E6F2D6C696D69742D73616F206374752D696E666F3D30206E6F2D6C6F77706173732D64637420726566696E652D616E616C797369732D747970653D3020636F70792D7069633D31206D61782D617573697A652D666163746F723D312E30206E6F2D64796E616D69632D726566696E65206E6F2D73696E676C652D736569206E6F2D686576632D6171206E6F2D737674206E6F2D6669656C642071702D61646170746174696F6E2D72616E67653D312E3030207363656E656375742D61776172652D71703D30636F6E666F726D616E63652D77696E646F772D6F6666736574732072696768743D3020626F74746F6D3D30206465636F6465722D6D61782D726174653D30206E6F2D7662762D6C6976652D6D756C74692D7061737380" + } + } + ] + } + }, + "PixelInformationPropertyBox": { + "@Size": "16", + "@Type": "pixi", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "ipco", + "BitPerChannel": [ + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + }, + { + "@bits_per_channel": "8" + } + ] + }, + "UnknownBox": { + "@Size": "29", + "@Type": "udes", + "@Specification": "unknown", + "@Container": "unknown", + "@data": "0x00000000656E2D4742004869626973637573000000" + } + }, + "ItemPropertyAssociationBox": { + "@Size": "34", + "@Type": "ipma", + "@Version": "0", + "@Flags": "0", + "@Specification": "iff", + "@Container": "iprp", + "@entry_count": "3", + "AssociationEntry": [ + { + "@item_ID": "1", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + }, + { + "@item_ID": "100", + "@association_count": "1", + "Property": { + "@index": "5", + "@essential": "0" + } + }, + { + "@item_ID": "2", + "@association_count": "4", + "Property": [ + { + "@index": "1", + "@essential": "0" + }, + { + "@index": "2", + "@essential": "0" + }, + { + "@index": "3", + "@essential": "1" + }, + { + "@index": "4", + "@essential": "0" + } + ] + } + ] + } + } + }, + "MediaDataBox": { + "@Size": "194420", + "@Type": "mdat", + "@Specification": "p12", + "@Container": "file", + "@dataSize": "194412" + } + }, + "mp4boxVersion": "MP4Box - GPAC version 2.3-DEV-rev526-gef57f603-master" +}