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 26th February 2019, 15:32   #1481  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
CDEF patch is merged now.
sneaker_ger is offline   Reply With Quote
Old 26th February 2019, 15:53   #1482  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Here is an up-to-date performance comparison of aomdec vs dav1d (I believe some of the tests are still running as I write this)
https://docs.google.com/spreadsheets...gid=1835354908

Single-Threading, it still loses in some cases on SSE 4.1 CPUs (aom implements mostly SSE4.1 for pre-AVX), but Multi-Threading it makes up for that.
One missing part is prep_8tap, which can have a decent impact.

Their goal for releasing dav1d 0.2.0 is to be faster then aomdec in 8-bit in all targeted scenarios.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 26th February 2019 at 16:04.
nevcairiel is offline   Reply With Quote
Old 26th February 2019, 17:03   #1483  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
There are some user benchmarks on an iPhone with crazy results.


1080p with 46 to 74 fps. Years ago we told people they would never be able to watch new codecs on a phone if it didn't have ASIC for the codec ...
sneaker_ger is offline   Reply With Quote
Old 26th February 2019, 17:27   #1484  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by sneaker_ger View Post
Years ago we told people they would never be able to watch new codecs on a phone if it didn't have ASIC for the codec ...
They really still shouldn't want to/have to, since it'll make the phone hot and the battery empty.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 26th February 2019, 18:00   #1485  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Alliance for Open Media codecs

Quote:
Originally Posted by sneaker_ger View Post
There are some user benchmarks on an iPhone with crazy results.





1080p with 46 to 74 fps. Years ago we told people they would never be able to watch new codecs on a phone if it didn't have ASIC for the codec ...
Fun way to amaze yourself - figure out how long ago you first got a computer that was more powerful than your current phone (benchmark/metric of your choice). A modern iPhone has lots of fast cores with SIMD instructions and a pretty darn powerful GPU. It would smoke any hot gaming rig of 10 years ago, and a typical laptop of 5 years ago.

Generally each new codec generation aims to be more than twice as complex to decode as the prior generation. With Moore’s Law gains, computing devices get a LOT more than 2x faster in that time.

The bigger challenge with software codecs is getting them integrated into hardware DRM required to play premium content above 480p.

It’s exciting to see these perf gains with AV1. Hopefully we’ll get to a reasonably “done” version of dav1d later this year so we can ballpark decoder requirements for AV1 versus other codecs. I’m particularly interested in how much parallelism is possible. VP9 was nearly single-threaded, which was problematic

A big question for AV1’s viability is how many extra transistors (and thus how much extra die size and SoC cost) full HW decode will take. I’ve not heard any details from anyone who has taped out an implementation yet. Anyone else?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book

Last edited by benwaggoner; 26th February 2019 at 18:08.
benwaggoner is offline   Reply With Quote
Old 26th February 2019, 18:16   #1486  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by nevcairiel View Post
Single-Threading, it still loses in some cases on SSE 4.1 CPUs (aom implements mostly SSE4.1 for pre-AVX), but Multi-Threading it makes up for that.
Unfortunately, in single-threading mode, dav1d looses even using SSSE3 in Dua Lipa clip.

It needs further optimization for pre-AVX2 SIMD, but the multi-threading performance especially for AVX2 is impressive.
__________________
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 26th February 2019, 20:10   #1487  |  Link
EwoutH
Registered User
 
Join Date: Feb 2019
Location: Delft, Netherlands
Posts: 15
@nevcairiel You're fast

That bench included !604 (prep_8tap), so this is most likely the performance as it's going to look like at 0.2.0 release. Not all prep_8tap functions are converted to ssse3 yet, so there is potentially another 5-12% speedup possible for ssse3, highly depending on content.
EwoutH is offline   Reply With Quote
Old 28th February 2019, 08:34   #1488  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 756
Quote:
Originally Posted by GTPVHD View Post
https://aomediacodec.github.io/av1-avif/

v1.0.0, 19 February 2019 but page still says it is a draft.
That is the Image format AVIF you are looking at. Not sure if that is what you want.
iwod is offline   Reply With Quote
Old 28th February 2019, 10:45   #1489  |  Link
Q3CPMA
Registered User
 
Q3CPMA's Avatar
 
Join Date: Jun 2015
Posts: 28
Personally, I find AVIF a lot more interesting than AV1 seeing as JPEG is technologically much more obsolete than AVC (if you don't consider 4K, of course). I just hope they don't force chroma subsampling like on webp.
Q3CPMA is offline   Reply With Quote
Old 28th February 2019, 13:01   #1490  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,120
Quote:
Originally Posted by Q3CPMA View Post
Personally, I find AVIF a lot more interesting than AV1 seeing as JPEG is technologically much more obsolete than AVC (if you don't consider 4K, of course). I just hope they don't force chroma subsampling like on webp.
Jpeg XL will be ratified later this year, that should be much nicer than AVIF.
hajj_3 is offline   Reply With Quote
Old 28th February 2019, 22:05   #1491  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 480
Quote:
Originally Posted by hajj_3 View Post
Jpeg XL will be ratified later this year, that should be much nicer than AVIF.
Will it be royalty free?
Rumbah is offline   Reply With Quote
Old 1st March 2019, 05:40   #1492  |  Link
Zebulon84
Registered User
 
Join Date: Apr 2015
Posts: 21
In this document (Final Call for Proposals for a Next-Generation Image Coding Standard (JPEG XL)) issued in last April, it is stated page 3:
Quote:
This new JPEG activity aims to develop a new image coding standard that provides state-of-the-art image compression performance, and that addresses shortcomings in current standards. To encourage widespread adoption, an important goal for this standard is to support a royalty-free baseline
So probably partially. But will il be enough to have wider adoption than previous standards (JPEG 2000, JPEG XR...) ?
Zebulon84 is offline   Reply With Quote
Old 1st March 2019, 23:27   #1493  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 930
Quote:
Originally Posted by nevcairiel View Post
They really still shouldn't want to/have to, since it'll make the phone hot and the battery empty.
There's a solution.


Quote:
Originally Posted by hajj_3 View Post
Jpeg XL will be ratified later this year, that should be much nicer than AVIF.
Yay! Two more formats to sink into obscurity...
mzso is offline   Reply With Quote
Old 2nd March 2019, 02:08   #1494  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,120
It looks like the dav1d decoder v0.2.0 has been released: https://code.videolan.org/videolan/d...f534b9fe6f169a
hajj_3 is offline   Reply With Quote
Old 2nd March 2019, 07:31   #1495  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
Quote:
Originally Posted by hajj_3 View Post
It looks like the dav1d decoder v0.2.0 has been released: https://code.videolan.org/videolan/d...f534b9fe6f169a
Isn't release yet, just a change for the next release.
Wait until there is a 0.2.0 tag and/or release.
https://code.videolan.org/videolan/dav1d/tags
__________________
AV1 win64 VS2019 builds
Last build here
marcomsousa is offline   Reply With Quote
Old 2nd March 2019, 08:07   #1496  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 80
Quote:
Originally Posted by Wolfberry View Post
The version has already bumped to 0.2.0
Are you sure that 0.2.0 is finished?
There isn't a tag neither a release version.

https://code.videolan.org/videolan/dav1d/tags
https://code.videolan.org/videolan/dav1d/releases

That change was in 25/02 and the other was 13 hours ago.

I think that the final version of 0.2.0 isn't release yet, but it's seems that will be release in the follow hours/days.

But I confirm that this is a litle strange. They have a version without being finished. That it seems that is the way before, they don't use -dev neither -snapshot.
__________________
AV1 win64 VS2019 builds
Last build here
marcomsousa is offline   Reply With Quote
Old 2nd March 2019, 09:14   #1497  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
The release is scheduled for Monday currently. The version bump means nothing, its only in preparation for the release, only tags really matter. You would typically do that a few days earlier to ensure everything comes out as expected.
Its not really that strange either, you guys are just overthinking it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 2nd March 2019 at 09:20.
nevcairiel is offline   Reply With Quote
Old 2nd March 2019, 09:46   #1498  |  Link
Wolfberry
Helenium(Easter)
 
Wolfberry's Avatar
 
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 99
Quote:
Originally Posted by nevcairiel View Post
The version bump means nothing.
Just like this commit

It seems like 0.1.1 is just a transition from 0.1.0 to 0.2.0 and will never get released. But I can be wrong, anyway.
__________________
Monochrome Anomaly
Wolfberry is offline   Reply With Quote
Old 2nd March 2019, 10:35   #1499  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
0.1.1 was never released indeed, the changelog entries being created for it have been recycled into the 0.2.0 changelog.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 2nd March 2019, 12:03   #1500  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Quote:
Originally Posted by Wolfberry View Post
Now dav1d is like 55% faster on i5-2500K (AVX, no AVX2) than libaom on Blackmagic Pocket Cinema "Nature" sample 1080p24.
sneaker_ger 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 19:10.


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