patent free AVIF image format (AV1 key frame)

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
raysar
Posts: 14
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: 87
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: 87
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.

Post Reply