Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > VP9 and AV1

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd March 2019, 20:40   #1561  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
Quote:
Originally Posted by Pushman View Post
https://github.com/Nevcairiel/LAVFilters/releases/tag/0.74
Note, there's a newer 0.74.1 version of LAVFilters in case anybody is thinking that above link is the newest version (which it's not):

https://github.com/Nevcairiel/LAVFilters/releases
__________________
____HTPC____  | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.5GHz 1.24v dual-core Haswell G3258
Radeon HD5870  | Intel iGPU      
2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600       
Nintendo Maniac 64 is offline   Reply With Quote
Old 23rd March 2019, 22:58   #1562  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Hi!

Is there anything out there that can encode valid AVIF images?
Does (dev versions of) Chrome/Firefox support viewing AVIF images? (Anything else?)
mzso is offline   Reply With Quote
Old 24th March 2019, 00:22   #1563  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by mzso View Post
Hi!

Is there anything out there that can encode valid AVIF images?
Does (dev versions of) Chrome/Firefox support viewing AVIF images? (Anything else?)
You can encode with this tool, for example:
https://github.com/Kagami/go-avif (binary: https://ci.appveyor.com/project/Kaga...uild/artifacts)

They also have a avif.js demo that can decode it using JavaScript (https://kagami.github.io/avif.js/). I don't think any browsers have native support yet, since the spec for AVIF was only officially signe-off a week ago or so.
Interestingly, the upcoming Windows 10 "19H1" seems to have native support, both in Explorer for thumbnails, as well as in Paint for importing - assuming the AV1 Video Extension is installed.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 24th March 2019, 00:44   #1564  |  Link
Wolfberry
Helenium(Easter)
 
Wolfberry's Avatar
 
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
AVIF is basically AV1 codec in HEIF container, so you can also use ffmpeg with libaom enabled (or ffmpeg + aomenc) to encode the pictures into ivf and then use MP4Box -add-image to convert the ivf files into avif.
__________________
Monochrome Anomaly
Wolfberry is offline   Reply With Quote
Old 24th March 2019, 01:36   #1565  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Wolfberry View Post
AVIF is basically AV1 codec in HEIF container, so you can also use ffmpeg with libaom enabled (or ffmpeg + aomenc) to encode the pictures into ivf and then use MP4Box -add-image to convert the ivf files into avif.
To be fair, any AVIF file is a HEIF file, but if your tool doesn't know what its doing, then a HEIF file with AV1 in it may not be valid AVIF (since it defines some constraints to make it easier on readers that only want to support AVIF and not the full HEIF spec).
That said, MP4Box actually supports AVIF however, but you should be passing "-brand avif" to make sure it makes a proper one.

Compatible software and some invocation commands are listed here:
https://github.com/AOMediaCodec/av1-avif/wiki
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 24th March 2019 at 01:40.
nevcairiel is offline   Reply With Quote
Old 24th March 2019, 01:44   #1566  |  Link
Wolfberry
Helenium(Easter)
 
Wolfberry's Avatar
 
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
Thanks for the link, SmilingWolf's script also adds -ab miaf, I guess that is optional?
__________________
Monochrome Anomaly
Wolfberry is offline   Reply With Quote
Old 24th March 2019, 02:30   #1567  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Wolfberry View Post
Thanks for the link, SmilingWolf's script also adds -ab miaf, I guess that is optional?
Yeah, sort of optional. The spec says it should be there, but its not clear to me if you need to use one of its profiles. You can have a whole list of alternate/compatible brands in such a file. The AVIF spec lists them:
https://aomediacodec.github.io/av1-a...es-constraints

"avif" from the AVIF spec itself.
"mif1" from HEIF
"miaf" from the MIAF spec
and finally "MA1B" or "MA1A" to identify the AV1 profile in use.
Or various alterations of the above for special types of images.

... this ISOBMFF image format stuff is a real mess.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 24th March 2019 at 02:33.
nevcairiel is offline   Reply With Quote
Old 6th April 2019, 07:59   #1568  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
I did a small comparison between lib-aom and lib-dav1d earlier this week.

I used LAV Video 0.73.1-31 x64 for lib-aom and LAV Video 0.74.1-1 for lib-dav1d (no idea if LAV uses the latest versions of both libraries, but should be close to latest)

The two systems mentioned below have Win 10 October Update and I used DXVA Checker v4.20 for both of them.

The AV1 sample is Chimera - AV1 - 1080p - 8bit - 6.7Mbps file.

Skylake system:
Core i5 6500 (4C/4T) at 3.2GHz (All core turbo 3.3GHz) using 1x8GB DIMM of DDR4-2133 MHz RAM (Single channel)

Haswell system:
Core i3 4170 (2C/4T) at 3.7GHz (No Turbo) using 2x8GB DIMMs of DDR3-1600 MHz RAM (Dual channel)

Benchmark results:
(min/avg/max fps)

Skylake Core i5 6500:

libaom 30/48/149 CPU usage 65%
dav1d 77/128/282 CPU usage 91%

Haswell Core i3 4170:

libaom 21/37/153 CPU usage 71%
dav1d 53/91/240 CPU usage 90%


Comments:

For both AVX2 capable CPUs, the speedup is similar ~2.5 times faster for dAV1d than libaom (2.46 for Haswell and 2.67 for Skylake) and the CPU usage also goes to ~90% for both.
The difference is huge for multi-threaded systems.

Core i5 6500 manages to be faster from 30% (using libaom) to 41% (using dav1d) than Core i3 4170.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 6th April 2019, 09:23   #1569  |  Link
dapperdan
Registered User
 
Join Date: Aug 2009
Posts: 201
MSU HEVC/AV1/VP9 encoding test results:


http://compression.ru/video/codec_comparison/hevc_2018/

Last edited by dapperdan; 6th April 2019 at 09:50.
dapperdan is offline   Reply With Quote
Old 9th April 2019, 01:11   #1570  |  Link
soresu
Registered User
 
Join Date: May 2005
Location: Swansea, Wales, UK
Posts: 196
Did anyone see the SVT-AV1 announcement from Intel/Netflix.
Link here.

Still havent seen a comprehensive comparison of it compared to libaom, x265 and vp9 quality wise.
soresu is offline   Reply With Quote
Old 9th April 2019, 03:38   #1571  |  Link
tnti
Registered User
 
Join Date: Jan 2017
Posts: 9
AV1 encoder's speed and compression rate reach the practical level of VOD

https://mp.weixin.qq.com/s?__biz=MzU...Dp&wx_header=1

关于对比rav1e和SVT-AV1,以下为来自Zoe Liu的回复:

“rav1e和SVT-AV1在github上的开源编码器,迄今为止还没有完成AV1标准中的最主要的编码工具集。对于任意一款AV1编码器,如果没有实现AV1标准的主要工具,只是在码流格式上符合AV1标准规范,而无法体现AV1的标准优势,其实还没有达到作为AV1编码器的基准要求。

我们对最新的SVT-AV1 github版本做了相对粗略的RD性能测试,其目前的编码效率还停留在AV1的前身VP9的大致水平。对这样开发阶段的编码器,放到AV1类别里面做编码性能与速度评估,不仅没有意义,对这样的开源项目也是不公平的。”

The following is the content of machine translation:
Regarding the comparison between rav1e and SVT-AV1, the following is a response from Zoe Liu:



"Rav1e and SVT-AV1 open source coders on GitHub have not yet completed the most important coding tool set in AV1 standard. For any AV1 encoder, if there is no main tool to implement the AV1 standard, it only conforms to the AV1 standard in bit stream format, but can not reflect the standard advantages of AV1. In fact, it has not reached the standard requirements as AV1 encoder.



We have done a relatively rough RD performance test for the latest version of SVT-AV1 github, and its coding efficiency is still at the approximate level of VP9, the predecessor of AV1. It is not only meaningless to evaluate the coding performance and speed of the coder in the AV1 category, but also unfair to such open source projects.
tnti is offline   Reply With Quote
Old 9th April 2019, 12:21   #1572  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,120
Intel to make their own AV1 software decoder:

https://www.phoronix.com/scan.php?pa...-Decode-FFmpeg
https://trello.com/c/oEZQai7L/26-av1-decoder
hajj_3 is offline   Reply With Quote
Old 9th April 2019, 13:19   #1573  |  Link
utack
Registered User
 
Join Date: Apr 2018
Posts: 63
Quote:
Originally Posted by hajj_3 View Post
Seems like they were not happy dav1d runs well on Ryzen
utack is offline   Reply With Quote
Old 9th April 2019, 14:00   #1574  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,120
Quote:
Originally Posted by utack View Post
Seems like they were not happy dav1d runs well on Ryzen
Hopefully the dav1d decoder will copy any improvements that intel makes in their decoder. I have an intel kaby lake chip so i'm not complaining about intel making a new software decoder :P
hajj_3 is offline   Reply With Quote
Old 9th April 2019, 15:45   #1575  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by utack View Post
Seems like they were not happy dav1d runs well on Ryzen
Well dav1d certainly won't get slower through any of their efforts.
That said, dav1d puts a lot of effort into AVX2, which current-gen Ryzen doesn't even do particularly fast, so..

Additionally, that Trello "av1 decoder" task existed before dav1d was even a thing, and contrary to the Phoronix article, dav1d is actually quite decently fast on 8-bit content (work on speeding up 10-bit has started).
BUT, one should know that an encoder basically contains a decoder already, because it has to practically decode encoded frames to get accurate reference frame information, so splitting that out may always be an option.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 9th April 2019 at 15:49.
nevcairiel is offline   Reply With Quote
Old 9th April 2019, 16:13   #1576  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 729
Dav1d will be always better for us end users, I think that's almost certain. SVT encoders are kind enterprise code which likely won't be too receptive about various issues of users in the wild, who have weird needs like non-AVX2 CPUs, non-mod16/8/4 video (for example) and integration into various players which the coders of these server-side encoders for commercial use are not going to see as important or even be aware of.
Dav1d devs are going to be more in touch with this and generally, the ffmpeg circle sort of development has proved itself with decoders.
mandarinka is offline   Reply With Quote
Old 10th April 2019, 00:43   #1577  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
Quote:
Originally Posted by nevcairiel View Post
Yeah, sort of optional. The spec says it should be there, but its not clear to me if you need to use one of its profiles. You can have a whole list of alternate/compatible brands in such a file. The AVIF spec lists them:
https://aomediacodec.github.io/av1-a...es-constraints

"avif" from the AVIF spec itself.
"mif1" from HEIF
"miaf" from the MIAF spec
and finally "MA1B" or "MA1A" to identify the AV1 profile in use.
Or various alterations of the above for special types of images.

... this ISOBMFF image format stuff is a real mess.
As I read it, "miaf" is required for AVIF, and defines a fair number of important constraints. I wish it was possible to view MIAF's draft standard, but if you aren't in MPEG, ISO, or IEC it looks like that's not possible at all for at least another month.

Last edited by foxyshadis; 10th April 2019 at 05:28.
foxyshadis is offline   Reply With Quote
Old 10th April 2019, 17:56   #1578  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
Quote:
Originally Posted by nevcairiel View Post
That said, dav1d puts a lot of effort into AVX2, which current-gen Ryzen doesn't even do particularly fast, so..
Though Intel does seem to like segmenting their CPU lineup with regards to AVX feature-set.
__________________
____HTPC____  | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.5GHz 1.24v dual-core Haswell G3258
Radeon HD5870  | Intel iGPU      
2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600       
Nintendo Maniac 64 is offline   Reply With Quote
Old 11th April 2019, 07:47   #1579  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Even the current Ryzen architecture is very fast using dAV1d probably due to the highly multi-threaded nature of both (dAV1d and Ryzen)

The multi-threaded gain seems to be more significant than the AVX2 loss for current-gen Ryzen.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all

Last edited by NikosD; 11th April 2019 at 16:35. Reason: Added the word "fast" :)
NikosD is offline   Reply With Quote
Old 14th April 2019, 17:02   #1580  |  Link
soresu
Registered User
 
Join Date: May 2005
Location: Swansea, Wales, UK
Posts: 196
Seems that rav1e is prioritising chunked/segment encoding early on to maximise parallelism, they just opened a new project list to target specific tasks. Link here.
soresu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.