Skip to content

Safari on iPhone8 with iOS 16.5 doesn't show avifenc encoded AVIF #1441

@novomesk

Description

@novomesk

Hello,

@leo-barnes FYI,

I have a problem.avif which doesn't show in Safari browser for some reason. I'd like to know if there is something wrong with the file or it is something on Apple's side. It would be useful for me to know, what to do (or what to avoid) so that the AVIF images work in Safari.

problem.zip

File was created by encoding JPG image via avifenc 0.11.1, I believe libaom v3.6.1 was used.

Image works in Firefox and Chrome.

avifdec -i problem.avif
Image decoded: problem.avif
 * Resolution     : 5616x3744
 * Bit Depth      : 8
 * Format         : YUV444
 * Alpha          : Absent
 * Range          : Full
 * Color Primaries: 1
 * Transfer Char. : 13
 * Matrix Coeffs. : 5
 * ICC Profile    : Present (3144 bytes)
 * XMP Metadata   : Present (8762 bytes)
 * Exif Metadata  : Present (23122 bytes)
 * Transformations: None
 * Progressive    : Unavailable
 * 1 timescales per second, 1.00 seconds (1 timescales), 1 frame
 * Frame:
   * Decoded frame [0] [pts 0.00 (0 timescales)] [duration 1.00 (1 timescales)] [5616x3744]
heif-info problem.avif
MIME type: image/avif
main brand: avif
compatible brands: avif, mif1, miaf, MA1A

image: 5616x3744 (id=1), primary
  color profile: prof
  alpha channel: no
  depth channel: no
metadata:
  Exif: 23126 bytes
  XMP: 8762 bytes

Uploading to https://gpac.github.io/ComplianceWarden-wasm/avif.html shows:

Compliance Warden, version v31-master-rev0-gb1ce523.
+--------------------------------------+
| avif validation |
+--------------------------------------+

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

========================================
[avif] No errors.
========================================

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

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

[miaf][Rule #26] Error: Found 1 (ItemIds={1}) 'pixi' associated for 3 displayable (not hidden) images (ItemIds={1,2,3})

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

===== Involved rules descriptions:

[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] No errors.
========================================

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

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

========================================
[isobmff] No errors.
========================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions