Opened 22 months ago

Last modified 7 months ago

#7621 new enhancement

Add .avif support (AV1 Image File Format

Reported by: Ewout Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Netflix released samples of the new AV1 Image File Format (AVIF), it would be nice if support could be added for this format.

Change History (8)

comment:1 Changed 22 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords mov av01 added
  • Priority changed from normal to wish
  • Version changed from unspecified to git-master

comment:3 Changed 21 months ago by Ewout

Current debug commandline if .avif is used as input:

Opening an input file: C:\Users\Ewout\AVIF\Chimera-AV1-8bit-1920x1080-6736kbps-6.avif.
[NULL @ 000001c464c4a780] Opening 'C:\Users\Ewout\AVIF\Chimera-AV1-8bit-1920x1080-6736kbps-6.avif' for reading
[file @ 000001c464c4b900] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001c464c4a780] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001c464c4a780] ISO: File Type Major Brand: mif1
    Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001c464c4a780] moov atom not found
[AVIOContext @ 000001c464c53bc0] Statistics: 66192 bytes read, 3 seeks
C:\Users\Ewout\AVIF\Chimera-AV1-8bit-1920x1080-6736kbps-6.avif: Invalid data found when processing input

Current debug commandline if .avif is used as output:

Opening an output file: png-to-avif.avif.
[NULL @ 0000021f3f4ecc40] Unable to find a suitable output format for 'png-to-avif.avif'
png-to-avif.avif: Invalid argument
[AVIOContext @ 0000021f3f4f3b00] Statistics: 115667 bytes read, 0 seeks

comment:4 Changed 21 months ago by Ewout

  • Blocked By set to #7600

Depends somewhat on #7600 for lossless encoding.

Microsoft is going to support AVIF in Windows 10.

comment:5 Changed 21 months ago by cehoyos

  • Blocked By #7600 deleted

Definitely independent of ticket #7600.

comment:6 Changed 17 months ago by Ewout

Aside from using libaom directly for encoding and muxing into an .avif file, libavif could also be considered.

comment:7 Changed 17 months ago by cehoyos

  • Keywords av01 removed

comment:8 Changed 7 months ago by birdie

  • Cc added

AV1 decoding support is already there, the container format is probably already supported as well, why doesn't ffmpeg understand AVIF files? ;-)

Note: See TracTickets for help on using tickets.