LINUX.ORG.RU

История изменений

Исправление mydibyje, (текущая версия) :

Да сделал я скриншот из браузера, иначе бы не носился с этой картинкой, потому что теперь знаю что она без видимых артефактов, но хочется найти программу которая понимает такие авифки и игнорирует всякие блоатные спековые поля, которых в этой авифке нет и на отсутствие которых ругаются современные «правильные» конвертеры.

Браузер не исправляет картинку, он просто при показе игнорирует такие варнинги из валидатора https://gpac.github.io/ComplianceWarden-wasm/avif.html п:

Compliance Warden, version v33-master-rev0-g9fe2057
+--------------------------------------+
| avif validation |
+--------------------------------------+

Specification description: AVIF v1.0.0, 19 February 2019
https://aomediacodec.github.io/av1-avif/

[avif][Rule #7] Error: [ItemId=1] The values of the AV1CodecConfigurationBox shall match
the Sequence Header OBU in the AV1 Image Item Data:
AV1CodecConfigurationBox:
seq_profile=0
seq_level_idx_0=0
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=0
chroma_subsampling_y=0
chroma_sample_position=0
Sequence Header OBU in the AV1 Image Item Data:
seq_profile=1
seq_level_idx_0=31
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=0
chroma_subsampling_y=0
chroma_sample_position=0

[avif][Rule #7] Error: [ItemId=2] The values of the AV1CodecConfigurationBox shall match
the Sequence Header OBU in the AV1 Image Item Data:
AV1CodecConfigurationBox:
seq_profile=0
seq_level_idx_0=0
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=1
chroma_subsampling_y=0
chroma_sample_position=0
Sequence Header OBU in the AV1 Image Item Data:
seq_profile=0
seq_level_idx_0=31
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=1
chroma_subsampling_x=1
chroma_subsampling_y=1
chroma_sample_position=0

[avif][Rule #9] Error: Property "av1C" shall be marked as essential (item_ID=1)
[avif][Rule #9] Error: Property "av1C" shall be marked as essential (item_ID=2)

========================================
[avif] 4 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[avif][Rule #7] Section 2.2.1
The values of the fields in the AV1CodecConfigurationBox shall match those of the
Sequence Header OBU in the AV1 Image Item Data.

[avif][Rule #9] Section 2.2.1
AV1 Item Configuration Property [...] shall be marked as essential.

+--------------------------------------+
| miaf validation |
+--------------------------------------+

Specification description: MIAF (Multi-Image Application Format)
MPEG-A part 22 - ISO/IEC 23000-22 - w18260 FDIS - Jan 2019

[miaf][Rule #1] Error: The HandlerBox shall be the first contained box within the MetaBox
[miaf][Rule #2] Error: compatible_brands list shall contain 'miaf' (not found) and 'mif1' (not found)
[miaf][Rule #4] Error: 'hdlr' not found in MetaBox
[miaf][Rule #10] Error: [ItemID=2] MIAF missing Image spatial extents property
[miaf][Rule #26] Error: Found no 'pixi' associated for 2 displayable (not hidden) images (ItemIds={1,2})

========================================
[miaf] 5 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[miaf][Rule #1] Section 7.2.1.1
The HandlerBox shall be the first contained box within the MetaBox.

[miaf][Rule #2] Section 7.2.1.2
The FileTypeBox shall contain, in the compatible_brands list,
the following (in any order): 'mif1' (specified in ISO/IEC 23008-12)
[...]
Files conforming to the general restrictions in clause 7 shall include
the brand 'miaf' in the compatible_brands in the FileTypeBox.
/!\ this rule doesn't look for 'mif1' and 'miaf' brands rule-conformance:
if a brand is absent then its conformance rules won't be checked here /!\

[miaf][Rule #4] Section 7.2.1.5
The handler type for the MetaBox shall be 'pict'.

[miaf][Rule #10] Section 7.3.6.3
Every image item shall be associated with a Image spatial extents property

[miaf][Rule #26] Section 7.3.6.6
The pixel information property shall be associated with every image that is
displayable (not hidden)

+--------------------------------------+
| heif validation |
+--------------------------------------+

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

[heif][Rule #0] Error: 'mif1' brand not found in 'ftyp' box
[heif][Rule #3] Error: 'hdlr' not found in MetaBox
[heif][Rule #11] Error: Item ID=2: missing Image spatial extents property
[heif][Rule #27] Error: Wrong arity for boxes { hdlr } in parents { meta }: expected in range [1-1], found 0

========================================
[heif] 4 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[heif][Rule #0] Section 10.2.1.1
Files shall contain the brand 'mif1' in the compatible brands array of the
FileTypeBox.
/!\ this rule doesn't look for 'mif1' brands rule-conformance:
if a brand is absent then its conformance rules won't be checked here /!\

[heif][Rule #3] Section 6.2
The handler type for the MetaBox shall be 'pict'.

[heif][Rule #11] Section 6.5.3.1
Every image item shall be associated with one [image spatial extents property],
prior to the association of all transformative properties.

[heif][Rule #27] Section 9.3.1.1Box structure and arity for boxes defined in HEIF
This is rather a safety check than a formal rule.

+--------------------------------------+
| isobmff validation |
+--------------------------------------+

Specification description: ISO Base Media File Format
MPEG-4 part 12 - ISO/IEC 14496-12 - m17277 (6th+FDAM1+FDAM2+COR1-R4)

[isobmff][Rule #0] Warning: The major_brand "avif" should be repeated in the compatible_brands list
[isobmff][Rule #11] Error: Wrong arity for boxes { hdlr } in parents { meta }: expected in range [1-1], found 0

========================================
[isobmff] 1 error(s), 1 warning(s).
========================================

===== Involved rules descriptions:

[isobmff][Rule #0] Section 4.3.1: the major_brand should be repeated in the compatible_brands list

[isobmff][Rule #11] Table 1: box structure and arity
This is rather a safety check than a formal rule.

Исправление mydibyje, :

Да сделал я скриншот из браузера, иначе бы не носился с этой картинкой, потому что теперь знаю что она без видимых артефактов, но хочется найти программу которая понимает такие авифки и игнорирует всякие блоатные спековые поля, которых в этой авифке нет и на отсутствие которых ругаются современные «правильные» конвертеры.

Браузер не исправляет картинку, он просто игнорирует такие варнинги из валидатора https://gpac.github.io/ComplianceWarden-wasm/avif.html :

Compliance Warden, version v33-master-rev0-g9fe2057
+--------------------------------------+
| avif validation |
+--------------------------------------+

Specification description: AVIF v1.0.0, 19 February 2019
https://aomediacodec.github.io/av1-avif/

[avif][Rule #7] Error: [ItemId=1] The values of the AV1CodecConfigurationBox shall match
the Sequence Header OBU in the AV1 Image Item Data:
AV1CodecConfigurationBox:
seq_profile=0
seq_level_idx_0=0
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=0
chroma_subsampling_y=0
chroma_sample_position=0
Sequence Header OBU in the AV1 Image Item Data:
seq_profile=1
seq_level_idx_0=31
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=0
chroma_subsampling_y=0
chroma_sample_position=0

[avif][Rule #7] Error: [ItemId=2] The values of the AV1CodecConfigurationBox shall match
the Sequence Header OBU in the AV1 Image Item Data:
AV1CodecConfigurationBox:
seq_profile=0
seq_level_idx_0=0
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=1
chroma_subsampling_y=0
chroma_sample_position=0
Sequence Header OBU in the AV1 Image Item Data:
seq_profile=0
seq_level_idx_0=31
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=1
chroma_subsampling_x=1
chroma_subsampling_y=1
chroma_sample_position=0

[avif][Rule #9] Error: Property "av1C" shall be marked as essential (item_ID=1)
[avif][Rule #9] Error: Property "av1C" shall be marked as essential (item_ID=2)

========================================
[avif] 4 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[avif][Rule #7] Section 2.2.1
The values of the fields in the AV1CodecConfigurationBox shall match those of the
Sequence Header OBU in the AV1 Image Item Data.

[avif][Rule #9] Section 2.2.1
AV1 Item Configuration Property [...] shall be marked as essential.

+--------------------------------------+
| miaf validation |
+--------------------------------------+

Specification description: MIAF (Multi-Image Application Format)
MPEG-A part 22 - ISO/IEC 23000-22 - w18260 FDIS - Jan 2019

[miaf][Rule #1] Error: The HandlerBox shall be the first contained box within the MetaBox
[miaf][Rule #2] Error: compatible_brands list shall contain 'miaf' (not found) and 'mif1' (not found)
[miaf][Rule #4] Error: 'hdlr' not found in MetaBox
[miaf][Rule #10] Error: [ItemID=2] MIAF missing Image spatial extents property
[miaf][Rule #26] Error: Found no 'pixi' associated for 2 displayable (not hidden) images (ItemIds={1,2})

========================================
[miaf] 5 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[miaf][Rule #1] Section 7.2.1.1
The HandlerBox shall be the first contained box within the MetaBox.

[miaf][Rule #2] Section 7.2.1.2
The FileTypeBox shall contain, in the compatible_brands list,
the following (in any order): 'mif1' (specified in ISO/IEC 23008-12)
[...]
Files conforming to the general restrictions in clause 7 shall include
the brand 'miaf' in the compatible_brands in the FileTypeBox.
/!\ this rule doesn't look for 'mif1' and 'miaf' brands rule-conformance:
if a brand is absent then its conformance rules won't be checked here /!\

[miaf][Rule #4] Section 7.2.1.5
The handler type for the MetaBox shall be 'pict'.

[miaf][Rule #10] Section 7.3.6.3
Every image item shall be associated with a Image spatial extents property

[miaf][Rule #26] Section 7.3.6.6
The pixel information property shall be associated with every image that is
displayable (not hidden)

+--------------------------------------+
| heif validation |
+--------------------------------------+

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

[heif][Rule #0] Error: 'mif1' brand not found in 'ftyp' box
[heif][Rule #3] Error: 'hdlr' not found in MetaBox
[heif][Rule #11] Error: Item ID=2: missing Image spatial extents property
[heif][Rule #27] Error: Wrong arity for boxes { hdlr } in parents { meta }: expected in range [1-1], found 0

========================================
[heif] 4 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[heif][Rule #0] Section 10.2.1.1
Files shall contain the brand 'mif1' in the compatible brands array of the
FileTypeBox.
/!\ this rule doesn't look for 'mif1' brands rule-conformance:
if a brand is absent then its conformance rules won't be checked here /!\

[heif][Rule #3] Section 6.2
The handler type for the MetaBox shall be 'pict'.

[heif][Rule #11] Section 6.5.3.1
Every image item shall be associated with one [image spatial extents property],
prior to the association of all transformative properties.

[heif][Rule #27] Section 9.3.1.1Box structure and arity for boxes defined in HEIF
This is rather a safety check than a formal rule.

+--------------------------------------+
| isobmff validation |
+--------------------------------------+

Specification description: ISO Base Media File Format
MPEG-4 part 12 - ISO/IEC 14496-12 - m17277 (6th+FDAM1+FDAM2+COR1-R4)

[isobmff][Rule #0] Warning: The major_brand "avif" should be repeated in the compatible_brands list
[isobmff][Rule #11] Error: Wrong arity for boxes { hdlr } in parents { meta }: expected in range [1-1], found 0

========================================
[isobmff] 1 error(s), 1 warning(s).
========================================

===== Involved rules descriptions:

[isobmff][Rule #0] Section 4.3.1: the major_brand should be repeated in the compatible_brands list

[isobmff][Rule #11] Table 1: box structure and arity
This is rather a safety check than a formal rule.

Исходная версия mydibyje, :

Да сделал я скриншот из браузера, иначе бы не носился с этой картинкой, потому что теперь знаю что она без видимых артефактов, но хочется найти программу которая понимает такие авифки и игнорирует всякие блоатные спековые поля, которых в этой авифке нет и на отсутствие которых ругаются современные конвертеры.

Браузер не исправляет картинку, он просто игнорирует такие варнинги из валидатора https://gpac.github.io/ComplianceWarden-wasm/avif.html :

Compliance Warden, version v33-master-rev0-g9fe2057
+--------------------------------------+
| avif validation |
+--------------------------------------+

Specification description: AVIF v1.0.0, 19 February 2019
https://aomediacodec.github.io/av1-avif/

[avif][Rule #7] Error: [ItemId=1] The values of the AV1CodecConfigurationBox shall match
the Sequence Header OBU in the AV1 Image Item Data:
AV1CodecConfigurationBox:
seq_profile=0
seq_level_idx_0=0
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=0
chroma_subsampling_y=0
chroma_sample_position=0
Sequence Header OBU in the AV1 Image Item Data:
seq_profile=1
seq_level_idx_0=31
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=0
chroma_subsampling_y=0
chroma_sample_position=0

[avif][Rule #7] Error: [ItemId=2] The values of the AV1CodecConfigurationBox shall match
the Sequence Header OBU in the AV1 Image Item Data:
AV1CodecConfigurationBox:
seq_profile=0
seq_level_idx_0=0
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=0
chroma_subsampling_x=1
chroma_subsampling_y=0
chroma_sample_position=0
Sequence Header OBU in the AV1 Image Item Data:
seq_profile=0
seq_level_idx_0=31
seq_tier_0=0
high_bitdepth=0
twelve_bit=0
mono_chrome=1
chroma_subsampling_x=1
chroma_subsampling_y=1
chroma_sample_position=0

[avif][Rule #9] Error: Property "av1C" shall be marked as essential (item_ID=1)
[avif][Rule #9] Error: Property "av1C" shall be marked as essential (item_ID=2)

========================================
[avif] 4 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[avif][Rule #7] Section 2.2.1
The values of the fields in the AV1CodecConfigurationBox shall match those of the
Sequence Header OBU in the AV1 Image Item Data.

[avif][Rule #9] Section 2.2.1
AV1 Item Configuration Property [...] shall be marked as essential.

+--------------------------------------+
| miaf validation |
+--------------------------------------+

Specification description: MIAF (Multi-Image Application Format)
MPEG-A part 22 - ISO/IEC 23000-22 - w18260 FDIS - Jan 2019

[miaf][Rule #1] Error: The HandlerBox shall be the first contained box within the MetaBox
[miaf][Rule #2] Error: compatible_brands list shall contain 'miaf' (not found) and 'mif1' (not found)
[miaf][Rule #4] Error: 'hdlr' not found in MetaBox
[miaf][Rule #10] Error: [ItemID=2] MIAF missing Image spatial extents property
[miaf][Rule #26] Error: Found no 'pixi' associated for 2 displayable (not hidden) images (ItemIds={1,2})

========================================
[miaf] 5 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[miaf][Rule #1] Section 7.2.1.1
The HandlerBox shall be the first contained box within the MetaBox.

[miaf][Rule #2] Section 7.2.1.2
The FileTypeBox shall contain, in the compatible_brands list,
the following (in any order): 'mif1' (specified in ISO/IEC 23008-12)
[...]
Files conforming to the general restrictions in clause 7 shall include
the brand 'miaf' in the compatible_brands in the FileTypeBox.
/!\ this rule doesn't look for 'mif1' and 'miaf' brands rule-conformance:
if a brand is absent then its conformance rules won't be checked here /!\

[miaf][Rule #4] Section 7.2.1.5
The handler type for the MetaBox shall be 'pict'.

[miaf][Rule #10] Section 7.3.6.3
Every image item shall be associated with a Image spatial extents property

[miaf][Rule #26] Section 7.3.6.6
The pixel information property shall be associated with every image that is
displayable (not hidden)

+--------------------------------------+
| heif validation |
+--------------------------------------+

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

[heif][Rule #0] Error: 'mif1' brand not found in 'ftyp' box
[heif][Rule #3] Error: 'hdlr' not found in MetaBox
[heif][Rule #11] Error: Item ID=2: missing Image spatial extents property
[heif][Rule #27] Error: Wrong arity for boxes { hdlr } in parents { meta }: expected in range [1-1], found 0

========================================
[heif] 4 error(s), 0 warning(s).
========================================

===== Involved rules descriptions:

[heif][Rule #0] Section 10.2.1.1
Files shall contain the brand 'mif1' in the compatible brands array of the
FileTypeBox.
/!\ this rule doesn't look for 'mif1' brands rule-conformance:
if a brand is absent then its conformance rules won't be checked here /!\

[heif][Rule #3] Section 6.2
The handler type for the MetaBox shall be 'pict'.

[heif][Rule #11] Section 6.5.3.1
Every image item shall be associated with one [image spatial extents property],
prior to the association of all transformative properties.

[heif][Rule #27] Section 9.3.1.1Box structure and arity for boxes defined in HEIF
This is rather a safety check than a formal rule.

+--------------------------------------+
| isobmff validation |
+--------------------------------------+

Specification description: ISO Base Media File Format
MPEG-4 part 12 - ISO/IEC 14496-12 - m17277 (6th+FDAM1+FDAM2+COR1-R4)

[isobmff][Rule #0] Warning: The major_brand "avif" should be repeated in the compatible_brands list
[isobmff][Rule #11] Error: Wrong arity for boxes { hdlr } in parents { meta }: expected in range [1-1], found 0

========================================
[isobmff] 1 error(s), 1 warning(s).
========================================

===== Involved rules descriptions:

[isobmff][Rule #0] Section 4.3.1: the major_brand should be repeated in the compatible_brands list

[isobmff][Rule #11] Table 1: box structure and arity
This is rather a safety check than a formal rule.