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. |
23rd March 2019, 20:40 | #1561 | Link |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
|
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 |
24th March 2019, 00:22 | #1563 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Quote:
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 |
|
24th March 2019, 00:44 | #1564 | Link |
Helenium(Easter)
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 |
24th March 2019, 01:36 | #1565 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Quote:
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. |
|
24th March 2019, 01:44 | #1566 | Link |
Helenium(Easter)
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 |
24th March 2019, 02:30 | #1567 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Quote:
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. |
|
6th April 2019, 07:59 | #1568 | Link |
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 |
9th April 2019, 03:38 | #1571 | Link |
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. |
9th April 2019, 12:21 | #1572 | Link |
Registered User
Join Date: Mar 2004
Posts: 1,126
|
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 |
9th April 2019, 13:19 | #1573 | Link | |
Registered User
Join Date: Apr 2018
Posts: 63
|
Quote:
|
|
9th April 2019, 15:45 | #1575 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
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. |
9th April 2019, 16:13 | #1576 | Link |
Registered User
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. |
10th April 2019, 00:43 | #1577 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
Last edited by foxyshadis; 10th April 2019 at 05:28. |
|
10th April 2019, 17:56 | #1578 | Link |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
|
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 |
11th April 2019, 07:47 | #1579 | Link |
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" :) |
|
|