patent free AVIF image format (AV1 key frame)
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 20
- Joined: Sat May 30, 2015 8:24 pm
patent free AVIF image format (AV1 key frame)
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/
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/
-
- Posts: 96
- Joined: Tue Sep 30, 2014 6:55 am
Re: patent free AVIF image format (AV1 key frame)
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.
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.
-
- Posts: 394
- Joined: Sat Nov 18, 2006 8:57 am
Re: patent free AVIF image format (AV1 key frame)
There's now an open source library for integrators: https://github.com/joedrago/avif
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.
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.
-
- Posts: 96
- Joined: Tue Sep 30, 2014 6:55 am
Re: patent free AVIF image format (AV1 key frame)
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.foxyshadis wrote: ↑Mon Apr 15, 2019 5:51 amThat'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.
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.
-
- Posts: 96
- Joined: Tue Sep 30, 2014 6:55 am
Re: patent free AVIF image format (AV1 key frame)
*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
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
-
- Posts: 96
- Joined: Tue Sep 30, 2014 6:55 am
Re: patent free AVIF image format (AV1 key frame)
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
... 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
-
- Author of XnView
- Posts: 44584
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: patent free AVIF image format (AV1 key frame)
See issue for current status and some details.
Pierre.
-
- Author of XnView
- Posts: 44584
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: patent free AVIF image format (AV1 key frame)
This problem is supposed to be fixed in XnView MP 0.96. Please check and confirm the bug fix here.
Pierre.
-
- Posts: 1
- Joined: Sat Jul 04, 2020 6:55 am
Re: patent free AVIF image format (AV1 key frame)
Does the 64-bit Linux version (debian package) of XnView MP 0.96.4 include the AVIF codecs?
XnView MP does not let me open an AVIF file (using the samples on http://download.opencontent.netflix.com ... mera/AVIF/ ). Nor does it let me save images as AVIF file. How do I get AVIF to work within XnView MP?
XnView MP does not let me open an AVIF file (using the samples on http://download.opencontent.netflix.com ... mera/AVIF/ ). Nor does it let me save images as AVIF file. How do I get AVIF to work within XnView MP?
-
- Posts: 1
- Joined: Mon Jul 13, 2020 11:38 am
- Location: Philippines
Re: patent free AVIF image format (AV1 key frame)
A couple of reports:
1. There is no AVIF support in 0.96.4 AppImage distribution.
2. No AVIF support in 0.96.4 deb distribution. (gdebi shows all dependencies met)
3. Settings "show all formats" checked, still no AVIF support even after a restart
4. The Flatpak link in your 0.96.x thread is linking to a Flatpak that is only version 0.93.x.
1. There is no AVIF support in 0.96.4 AppImage distribution.
2. No AVIF support in 0.96.4 deb distribution. (gdebi shows all dependencies met)
3. Settings "show all formats" checked, still no AVIF support even after a restart
4. The Flatpak link in your 0.96.x thread is linking to a Flatpak that is only version 0.93.x.
-
- Posts: 96
- Joined: Tue Sep 30, 2014 6:55 am
Re: patent free AVIF image format (AV1 key frame)
I can confirm it's working on Win64 - thanks!xnview wrote: ↑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.
I tried yuv444 and yuv400 images with 8, 10 and 12 bit depth. Firefox and Chrome support .avif now, too.
There seems to be a bug with rgb lossless images encoded by libavif, but I'm not sure it's a bug on the decoder end and will file a bug with libavif first. Lossless mode is not optimized (yet) anyway - only libaom supports it and not rav1e.
It will be interesting what the future of the heif container will be - you can even put vvc encoded images in it. But all these video codecs aren't designed with best intra compression in mind, but hardware compatibility - so jpeg-xl might be useful.
-
- Posts: 1
- Joined: Sat Aug 15, 2020 9:24 am
Re: patent free AVIF image format (AV1 key frame)
When I am in XnView browse mode i see avif thumbnails, and I'm able to open them by clicking them.
I'm not able to make XnView open avif files (files association) from Windows Explorer or other file browser just by double click them.
When I go to settings -> integration -> file association, AVIF extension do not appear there. Using Windows 7 64bit Home Premium.
I'm not able to make XnView open avif files (files association) from Windows Explorer or other file browser just by double click them.
When I go to settings -> integration -> file association, AVIF extension do not appear there. Using Windows 7 64bit Home Premium.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 394
- Joined: Sat Nov 18, 2006 8:57 am
Re: patent free AVIF image format (AV1 key frame)
FWIW, xnview integrates both libavif and libheif, and imho libheif is now better at decoding (and encoding) avif than libavif, so there might not be a reason to keep both. One of the nice things about the format being exactly the same, swapping out the compressor and calling it another format is pretty easy.