patent free AVIF image format (AV1 key frame)

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderator: Dreamer

Post Reply
raysar
Posts: 15
Joined: Sat May 30, 2015 8:24 pm

patent free AVIF image format (AV1 key frame)

Post by raysar » Mon Mar 04, 2019 6:28 am

Spec of AVIF format is in 1.0
https://www.phoronix.com/scan.php?page= ... ormat-v1.0

Encoder and decoder will be arrive soon.
AV1 and avif use the same decoding algorithm and develop to be the reference of video format on internet.
All futur CPU will support harware av1/avif decoding like H264 for now.

First image ref are on netflix server: http://download.opencontent.netflix.com ... mera/AVIF/

Marsu42
Posts: 90
Joined: Tue Sep 30, 2014 6:55 am

Re: patent free AVIF image format (AV1 key frame)

Post by Marsu42 » Fri Mar 08, 2019 10:55 am

Here's the final spec (needs formal approval from the board though): https://aomediacodec.github.io/av1-avif/

And here's a rather interesting presentation with pdf on the format ... the heif image container is generic and has different extensions for still/animated av1, x265 and x264: https://developer.apple.com/videos/play/wwdc2017/513

So for xnview to support it directly without patent problems, it's probably built-in av1 with x264/x265 support from the os (or plugins)

Unfortunately, these formats don't support lossless mode, so webp's excellent implemenation will keep being around for that.

User avatar
foxyshadis
Posts: 384
Joined: Sat Nov 18, 2006 8:57 am

Re: patent free AVIF image format (AV1 key frame)

Post by foxyshadis » Mon Apr 15, 2019 5:51 am

There's now an open source library for integrators: https://github.com/joedrago/avif

Marsu42 wrote:
Fri Mar 08, 2019 10:55 am
Unfortunately, these formats don't support lossless mode, so webp's excellent implemenation will keep being around for that.
That's not true in any way, shape, or form. AV1 lossless fits inside AVIF just fine. (As does HEVC lossless in HEIC.) There is no H.264 support in HEIF.

WebP is trash and the sooner that format disappears the better. It's lossless isn't actually so, and the only pixel format it supports is 8-bit YUV 4:2:0.

Marsu42
Posts: 90
Joined: Tue Sep 30, 2014 6:55 am

Re: patent free AVIF image format (AV1 key frame)

Post by Marsu42 » Sat Apr 20, 2019 8:11 pm

foxyshadis wrote:
Mon Apr 15, 2019 5:51 am
Marsu42 wrote:
Fri Mar 08, 2019 10:55 am
Unfortunately, these formats don't support lossless mode, so webp's excellent implemenation will keep being around for that.
That's not true in any way, shape, or form. AV1 lossless fits inside AVIF just fine. (As does HEVC lossless in HEIC.) There is no H.264 support in HEIF.

WebP is trash and the sooner that format disappears the better. It's lossless isn't actually so, and the only pixel format it supports is 8-bit YUV 4:2:0.
Thanks for enlightenment from the master himself about AV1, I didn't realize it does have a rgb lossless mode - there don't seem to be a lot of apps or docs around.

I'd like to humbly point out though that the webp docs state that lossless is _not_ encoeded in the vp8 yuv frame format, but in argb. The cwebp app has some optional pre-processing built-in like old-school png pre-processors, making it lossless or near-lossless.

https://developers.google.com/speed/web ... cification

Imho webp is here to stay in any case with all major browsers supporting it by now, plus a lot of embedded systems esp. Android. The lossy mode is outdated and limited, but the lossless mode is a nice png and gif replacement with better compression and more features.

Marsu42
Posts: 90
Joined: Tue Sep 30, 2014 6:55 am

Re: patent free AVIF image format (AV1 key frame)

Post by Marsu42 » Sat Dec 28, 2019 1:03 pm

*ping*

The avif is the still image format of av1, basically a modern webp (which is based on vp8). There is native support in recent Windows versions, but not in 1809 Enterprise builds or other older LTSC/LTSB versions.

https://en.wikipedia.org/wiki/AV1#AV1_I ... mat_(AVIF)

=> Since av1 seems to be the thing and even M$ supports it, native support in xnviewmp with libavif would be very nice.

Specs:
https://aomediacodec.github.io/av1-avif/

Lib:
https://github.com/AOMediaCodec/libavif

Samples:
http://download.opencontent.netflix.com ... mera/AVIF/
https://github.com/AOMediaCodec/av1-avi ... /Microsoft

Marsu42
Posts: 90
Joined: Tue Sep 30, 2014 6:55 am

Re: patent free AVIF image format (AV1 key frame)

Post by Marsu42 » Sat Feb 15, 2020 3:28 pm

The external decoder aomdec could be used just like other drop-in decoders ...

... current Windows build aomdec.exe:
https://ci.appveyor.com/project/marcomsousa/build-aom

... source code:
https://aomedia.googlesource.com/aom/+/ ... ads/master

ExifTool supports .avif by now, Browser support is coming and Netflix is behind .avif (using the AV1 codec): https://netflixtechblog.com/avif-for-ne ... 1d75675fe4

User avatar
xnview
Author of XnView
Posts: 33166
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: patent free AVIF image format (AV1 key frame)

Post by xnview » Fri Mar 13, 2020 1:52 pm

Marsu42 wrote:
Sat Feb 15, 2020 3:28 pm
The external decoder aomdec could be used just like other drop-in decoders ...
See issue for current status and some details.
Pierre.

User avatar
xnview
Author of XnView
Posts: 33166
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: patent free AVIF image format (AV1 key frame)

Post by xnview » Sat Mar 21, 2020 9:14 am

This problem is supposed to be fixed in XnView MP 0.96. Please check and confirm the bug fix here.
Pierre.

Post Reply