Page 1 of 1

patent free AVIF image format (AV1 key frame)

Posted: Mon Mar 04, 2019 6:28 am
by raysar
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/

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

Posted: Fri Mar 08, 2019 10:55 am
by Marsu42
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.

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

Posted: Mon Apr 15, 2019 5:51 am
by foxyshadis
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.

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

Posted: Sat Apr 20, 2019 8:11 pm
by Marsu42
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.

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

Posted: Sat Dec 28, 2019 1:03 pm
by Marsu42
*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

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

Posted: Sat Feb 15, 2020 3:28 pm
by Marsu42
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

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

Posted: Fri Mar 13, 2020 1:52 pm
by xnview
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.

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

Posted: Sat Mar 21, 2020 9:14 am
by xnview
This problem is supposed to be fixed in XnView MP 0.96. Please check and confirm the bug fix here.