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 25th July 2018, 01:05   #781  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,405
Holy crap guys, the latest Chrome Canary has a significantly improved AV1 decoder. You can play this http://video.1ko.ch/codec-comparison...18-06_550.webm 1080p test stream using very little CPU.
Blue_MiSfit is offline   Reply With Quote
Old 25th July 2018, 03:05   #782  |  Link
hbbs
Registered User
 
Join Date: Nov 2015
Posts: 3
Quote:
Originally Posted by Blue_MiSfit View Post
Holy crap guys, the latest Chrome Canary has a significantly improved AV1 decoder. You can play this http://video.1ko.ch/codec-comparison...18-06_550.webm 1080p test stream using very little CPU.
It didn't work for me on today's canary anyway.

But this sample played on the latest mpv.

Do you have more samples?
hbbs is offline   Reply With Quote
Old 25th July 2018, 03:52   #783  |  Link
hbbs
Registered User
 
Join Date: Nov 2015
Posts: 3
Firefox Nightly also is playing this demo above.

That's a lot of improvement from the time of that bitmovin demo.

On Firefox Nightly remember to toggle "media.av1.enabled" to true.
hbbs is offline   Reply With Quote
Old 25th July 2018, 18:39   #784  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,405
Yeah you need to enable AV1 decoding in the options.

https://www.reddit.com/r/AV1/comment...anary_can_now/
Blue_MiSfit is offline   Reply With Quote
Old 26th July 2018, 08:17   #785  |  Link
excellentswordfight
Lost my old account :(
 
Join Date: Jul 2017
Posts: 38
Quote:
Originally Posted by Blue_MiSfit View Post
Yeah you need to enable AV1 decoding in the options.

https://www.reddit.com/r/AV1/comment...anary_can_now/
Is it lag free for you? I'm getting quite a lot of dropped frames. 20% ish usage on all cores, i7-7500U.
excellentswordfight is offline   Reply With Quote
Old 26th July 2018, 14:05   #786  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,824
The video itself is just laggy and poor quality. I have it working in MPC-HC (private test build). No drops.

Benchmark in GraphStudioNext gives 32fps. It seems to be single threaded by default. Need to check compile options later.
clsid is offline   Reply With Quote
Old 26th July 2018, 14:29   #787  |  Link
soresu
Registered User
 
Join Date: May 2005
Location: Swansea, Wales, UK
Posts: 49
I wonder how conducive AV1 is to decoding by GPU OpenCL, certainly seems like the ideal way to go prior to ASIC decoders being integrated into SoC's and GPU's. Presumably some of the hardware input from companies like AMD, nVidia and Intel covered this?
soresu is offline   Reply With Quote
Old 26th July 2018, 16:15   #788  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 723
Quote:
Originally Posted by soresu View Post
I wonder how conducive AV1 is to decoding by GPU OpenCL, certainly seems like the ideal way to go prior to ASIC decoders being integrated into SoC's and GPU's. Presumably some of the hardware input from companies like AMD, nVidia and Intel covered this?
OpenCL isn't silver bullet, copying data between GPU and CPU will likely be expensive for decoding operation.
iwod is offline   Reply With Quote
Old 26th July 2018, 17:26   #789  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 120
Quote:
Originally Posted by clsid View Post
The video itself is just laggy and poor quality. I have it working in MPC-HC (private test build). No drops.
Timing to the open version?
Park_Joy will bring to the clean water all the PR of the next-gen video format.
Gravitator is offline   Reply With Quote
Old 26th July 2018, 19:42   #790  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,405
I see only about 5% CPU usage on my i7 6700k. Upon reviewing a bit more there are some frame drops happening, so there's still work to do here for sure.

The quality is rough, but it's 500 Kbps, so quite impressive TBH.

Last edited by Blue_MiSfit; 26th July 2018 at 19:48.
Blue_MiSfit is offline   Reply With Quote
Old 26th July 2018, 23:52   #791  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 338
Quote:
Originally Posted by iwod View Post
OpenCL isn't silver bullet, copying data between GPU and CPU will likely be expensive for decoding operation.
Weren't those expensive memory copying operations exactly what AMD's HSA and hUMA were supposed to solve?

I realize that, back when HSA and hUMA were introduced, AMD only had APUs using the sub-par "Bulldozer" architecture and its evolutions - this meant there wasn't exactly much interest in tailoring software towards AMD CPUs at the time, but Ryzen is definitely a completely different beast.

Now obviously this would only work on Ryzen APUs, but that's not exactly an issue on laptops when all mobile Ryzen chips are APUs anyway (not counting those uber-performance laptops that use a full-fat AM4 desktop Ryzen CPU). Besides, I would imagine that most non-APU Ryzen processors could at least "brute-force" their way via the abundance of CPU cores and threads to decode the video stream (assuming that AV1 decoding could be made to take advantage of that many threads).

...of course, this assumes that Ryzen APUs even support HSA and hUMA. I mean, AMD hasn't mentioned anything about them for a while now, so who knows?


EDIT: I was reading through some of the older posts in this thread and I just had to respond to this:
Quote:
Originally Posted by foxyshadis View Post
I'm sorry, tell us again about how this codec isn't designed for your 20-year-old Pentium 4. That has nothing to do with optimizability under AVX/AVX2 or Altivec, which are the only instruction sets that matter today.
The first Pentium 4 was released in late 2000, but those were the lame Willamette models that needed RDRAM. Much more popular were the Northwood models that supported DDR memory, but those didn't come out until early 2002.

So no, not 20 years ago.

And AVX isn't supported on even the newest Sky/Kaby/Coffee Lake-based Pentium and Celeron CPUs either (and no, I don't mean the low-power Atom-based Celerons & Pentiums), including the ever-popular 2c/4t Pentium CPUs like the G4560 and G5400.

Last edited by Nintendo Maniac 64; 27th July 2018 at 01:29.
Nintendo Maniac 64 is offline   Reply With Quote
Old 27th July 2018, 12:13   #792  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 789
Quote:
Originally Posted by Nintendo Maniac 64 View Post
Weren't those expensive memory copying operations exactly what AMD's HSA and hUMA were supposed to solve?
It did solve it. It's just that no-one bothered using it.

Too bad. If things wen the other way around it could have opened up a bunch of algorithms to use together. Intel (ARM) would have been forced to follow and we might have some pretty cool stuff by now. Maybe we'd be at a brink of two layer CPU+GPU APUs.
mzso is offline   Reply With Quote
Old 27th July 2018, 18:35   #793  |  Link
IgorC
Registered User
 
Join Date: Apr 2004
Posts: 1,286
Quote:
Originally Posted by Blue_MiSfit View Post
Holy crap guys, the latest Chrome Canary has a significantly improved AV1 decoder. You can play this http://video.1ko.ch/codec-comparison...18-06_550.webm 1080p test stream using very little CPU.
Thank you for the video.

Slow motion parts have very good quality (considering it's 1080p@550k). However high motion moment is looking ugly.
Rate-control isn't well tuned, I guess.
IgorC is offline   Reply With Quote
Old 27th July 2018, 20:20   #794  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 338
Quote:
Originally Posted by mzso View Post
It did solve it. It's just that no-one bothered using it.
That's why I mentioned the whole "Bulldozer was a bit sub-par", because as Itanium proved, devs aren't really going to develop for something that's fast at new things if it's also a complete dog at old things.

And that's also why I mentioned Ryzen, because it's totally not a dog at all, and those Ryzen APUs are arguably even more competitive in mobile (at least if you ignore those 6core Intel parts, but I would be very surprised if mobile Zen2-based APUs weren't also sporting at least 6 cores).

But again, I have literally no idea if Ryzen APUs support HSA and hUMA, and I've even tried researching the subject.


If there's any consolation, I imagine that any future AMD-powered console would support this functionality, and heck even Intel's renewed focus on graphics may result in something similar in the future.

Last edited by Nintendo Maniac 64; 27th July 2018 at 20:22.
Nintendo Maniac 64 is offline   Reply With Quote
Old 28th July 2018, 12:02   #795  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 296
AOM AV1 v1.0.0-245-ge4d148435
Built on July 28, 2018, GCC 7.3.0

Code:
https://aomedia.googlesource.com/aom
Barough is offline   Reply With Quote
Old 29th July 2018, 00:47   #796  |  Link
utack
Registered User
 
Join Date: Apr 2018
Posts: 3
Is it just me, or is the tuning of libaom stil way off?
It completely murders some darker and "flat" areas, where x265 retains a lot of detail
Example (especially bottom right, from a 30s clip, same bitrate):
http://screenshotcomparison.com/comparison/117597

Is there some optimization coming, that takes human perception into consideration and distributes bitrate accordingly?

Last edited by utack; 29th July 2018 at 00:50.
utack is offline   Reply With Quote
Old 29th July 2018, 01:18   #797  |  Link
Tommy Carrot
Registered User
 
Tommy Carrot's Avatar
 
Join Date: Mar 2002
Posts: 840
I don't think it has any visual tuning yet, it's only being tuned for a variety of metrics. Also, AV1 uses golden frames (imho a bad legacy from vp9), so the frame quality varies quite considerably, so judging individual frames are not necessarily an accurate way to compare quality.
Tommy Carrot is offline   Reply With Quote
Old 29th July 2018, 06:35   #798  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,380
Any codec that smooths that much is obviously PSNR-tuned.

It was funny waking up this morning and seeing Monty log on to the IRC channel with, "'mornin. How close are we to 1.0?" Crackin' the whip.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. ~ Ed Howdershelt
foxyshadis is offline   Reply With Quote
Old 29th July 2018, 13:50   #799  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 674
Quote:
Originally Posted by Nintendo Maniac 64 View Post
And AVX isn't supported on even the newest Sky/Kaby/Coffee Lake-based Pentium and Celeron CPUs either (and no, I don't mean the low-power Atom-based Celerons & Pentiums), including the ever-popular 2c/4t Pentium CPUs like the G4560 and G5400.
Very important point. I actually found that some multimedia devs weren't aware of this in the past, thinking they only need to write AVX2 now. It's rather unfortunate that Intel insists on this.

The Atom cores matter too though, IMHO. There is a huge number of devices with them and they actually improve a lot currently (Goldmont, Goldmont+), much more than Intel big cores. Yet they still keep only 128bit SIMD (SSE-SSE4) so it would really be good if the devs of important format's decoders took time to implement SSE* functions and not just AVX2 ones. After all, there is also a huge number of fast CPUs that don't have AVX2, like Sandy/Ivy Bridge CPUs a la i5-2500/2400 or i7-2600K.

---------------------------
Hmm, BTW. Are there some good estimates as to what CPU will be needed for comfortable decoding of 4K content (24 - 30 fps) in AV1 with all bells and whistles of the format used? (10bit etc, all the compression tools on, high bitrates including spikes in motion, VBR with no streaming-style constraints...). With some sane headroom.

Last edited by mandarinka; 29th July 2018 at 14:06.
mandarinka is offline   Reply With Quote
Old 29th July 2018, 15:30   #800  |  Link
Jamaika
Registered User
 
Join Date: Jul 2015
Posts: 492
Quote:
Originally Posted by mandarinka View Post
Yet they still keep only 128bit SIMD (SSE-SSE4) so it would really be good if the devs of important format's decoders took time to implement SSE* functions and not just AVX2 ones. After all, there is also a huge number of fast CPUs that don't have AVX2, like Sandy/Ivy Bridge CPUs a la i5-2500/2400 or i7-2600K.
Little real. The creators of the new JPEG codecs google or dropbox aren't interested in prehistory.
Jamaika 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 15:35.


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