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 > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st March 2019, 22:27   #1501  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 838
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, 01:08   #1502  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 895
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, 06:31   #1503  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 47
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 VS2017 builds
Last build here | History
I also open source the build scripts at Github: here
marcomsousa is offline   Reply With Quote
Old 2nd March 2019, 07:07   #1504  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 47
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 VS2017 builds
Last build here | History
I also open source the build scripts at Github: here
marcomsousa is offline   Reply With Quote
Old 2nd March 2019, 08:14   #1505  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,758
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 08:20.
nevcairiel is offline   Reply With Quote
Old 2nd March 2019, 08:46   #1506  |  Link
Wolfberry
Helenium(Easter)
 
Wolfberry's Avatar
 
Join Date: Aug 2017
Location: Hsinchu, Taiwan
Posts: 104
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, 09:35   #1507  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,758
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, 11:03   #1508  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,411
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
Old 3rd March 2019, 16:03   #1509  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,115
Quote:
Originally Posted by Wolfberry View Post
Test on this build. i5-3570K.
Code:
-t 10 Stream2_AV1_4K_22.7mbps.webm -benchmark -f null -
libaom-av1 - max 15 fps
libdav1d - max 13 fps
libdav1d -threads 4 -tilethreads 4 - max 18 fps
libdav1d -threads 8 -tilethreads 1 - max 18 fps
I see progress compared to last time.

Please give me a link to a good 10-bit AV1 sample.

Last edited by v0lt; 3rd March 2019 at 18:02.
v0lt is offline   Reply With Quote
Old 3rd March 2019, 16:08   #1510  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,411
Quote:
Originally Posted by v0lt View Post
Please give me a link to a good 10-bit AV1 sample.
http://download.opencontent.netflix....x=AV1/Chimera/
sneaker_ger is offline   Reply With Quote
Old 3rd March 2019, 17:18   #1511  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,758
Note that 10-bit is not an optimization target at all yet, since its not in use in the real world at all yet either.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 3rd March 2019, 18:00   #1512  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,115
@nevcairiel
Why does libdav1d give a speed less than libaom-av1 with default settings? 8 and 10-bit. Poorly selected default settings?

i5-3570K, AV1 10-бит.
Code:
-ss 5 -t 20 Chimera-AV1-10bit-1920x1080-6191kbps.mp4 -benchmark -f null -
libaom-av1 - max 25 fps
libdav1d - max 21 fps
libdav1d -threads 4 -tilethreads 4 - max 25 fps
libdav1d -threads 8 -tilethreads 1 - max 26 fps
v0lt is offline   Reply With Quote
Old 3rd March 2019, 19:25   #1513  |  Link
soresu
Registered User
 
Join Date: May 2005
Location: Swansea, Wales, UK
Posts: 86
Dunno if anyone noticed the CNN restoration experiment commited to the "experimental" branch at the AOMedia git repo.
Link here.
soresu is offline   Reply With Quote
Old 3rd March 2019, 21:03   #1514  |  Link
EwoutH
Registered User
 
Join Date: Feb 2019
Location: Delft, Netherlands
Posts: 15
@v0lt Which version of dav1d are you using? You can use `dav1d --version` to check.

A big factor is because your CPU doesn't support AVX2 instructions, where dav1d is most optimized for (Haswell (4000-series) and newer support it). Your CPU i5-3570K falls back on SSSE3, which recently got a lot faster with dav1d.

Also can you try -tilethreads 4 without a threads option?

Anyway there is at least one patch incoming that's not yet in FFmpeg that will improve performance with 10 to 30% percent, depending on content.

Last edited by EwoutH; 3rd March 2019 at 21:06.
EwoutH is offline   Reply With Quote
Old 3rd March 2019, 21:21   #1515  |  Link
dapperdan
Registered User
 
Join Date: Aug 2009
Posts: 179
I interpreted volts question as being "if I can get faster results from dav1d by passing some settings, why can't it figure those out by default".

Presumably, if those patches land the default might beat libaom, but there would still be extra speed a ilavle as long as you knew the right options to pass.

There may well be a good reason for these not being the defaults though.
dapperdan is offline   Reply With Quote
Old 4th March 2019, 09:43   #1516  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 169
Through the synthetic test mode ffmpeg, I get higher rates of DAV1D than AOM. But in real conditions I get worse playing than AOM (via ffplay). We are waiting for optimization for SSSE3.
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB.
Gravitator is offline   Reply With Quote
Old 4th March 2019, 14:15   #1517  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,411
Quote:
Originally Posted by EwoutH View Post
Also can you try -tilethreads 4 without a threads option?
On i5-2500K with ffmpeg (binary from one post above) -tiletreads 4 (alone) is some 15% slower than -threads 6 -tilethreads 2. ("Blackmagic Pocket Cinema Camera 4K ‘Nature’-oAbB4dQOz4I" 1080p24)
sneaker_ger is offline   Reply With Quote
Old 4th March 2019, 16:21   #1518  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,115
Quote:
Originally Posted by EwoutH View Post
@v0lt Which version of dav1d are you using? You can use `dav1d --version` to check.
ffmpeg-4.2-N-93276-g3b23eb283a-win64-static provided by Wolfberry. But the links are gone.

Quote:
Originally Posted by Wolfberry View Post
Thank. This build works better.

i5-3570K
Code:
ffmpeg -hide_banner -t 10 -c:v <codec&parameters> -i Stream2_AV1_4K_22.7mbps.webm -benchmark -f null -
libaom-av1 - max 15 fps
libdav1d - max 16 fps
libdav1d -threads 4 -tilethreads 4 - max 24 fps
libdav1d -threads 8 -tilethreads 1 - max 21 fps
Code:
ffmpeg -hide_banner -ss 5 -t 20 -c:v <codec&parameters> -i Chimera-AV1-8bit-1920x1080-6736kbps.mp4 -benchmark -f null -
libaom-av1 - max 60 fps
libdav1d - max 64 fps
libdav1d -threads 4 -tilethreads 4 - max 105 fps
libdav1d -threads 8 -tilethreads 1 - max 87 fps
Code:
ffmpeg -hide_banner -ss 5 -t 20 -c:v <codec&parameters> -i Chimera-AV1-10bit-1920x1080-6191kbps.mp4 -benchmark -f null -
libaom-av1 - max 25 fps
libdav1d - max 21 fps
libdav1d -threads 4 -tilethreads 4 - max 26 fps
libdav1d -threads 8 -tilethreads 1 - max 27 fps
v0lt is offline   Reply With Quote
Old 4th March 2019, 17:58   #1519  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 2,889
Quote:
Originally Posted by mzso View Post
There's a solution.



Yay! Two more formats to sink into obscurity...
The time **IS** ripe for a new replacement for JPEG/GIF/PNG. We're looking at >>2x compression efficiency improvements. And HEIF is getting good traction in the Apple ecosystem.

I would prefer an AV1 in HEIF over a new file format, though. HEIF has a lot of great features as a container format.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 4th March 2019, 21:50   #1520  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,758
HEIFs tiling is pure cancer. It's a typical format designed by committee, overly complex for its own good.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel 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 06:36.


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