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 12th September 2018, 18:35   #921  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,511
Decoding using vlc nightly on the above ~1 Mbps 1080p encode from YouTube is working very well - takes about 10% CPU on my i7-6700k
Blue_MiSfit is offline   Reply With Quote
Old 12th September 2018, 19:05   #922  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 838
Quote:
Originally Posted by benwaggoner View Post
The era of HW encoders is behind us. HEVC was too complex to do with ASIC or even with GPU pixel shaders. Encoding with modern complex codecs like AV1 is going to be CPU, and maybe FPGA.
How can something be too complex for ASIC? (And not for FPGA, which is essentially an ASIC you can program)

Quote:
Originally Posted by foxyshadis View Post
Holy cow, as soon as the extensions get support I'm going to be downloading everything both ways and testing. Hopefully AV1 broad release lives up to its promise.
Why not just download with youtube-dl?
mzso is offline   Reply With Quote
Old 12th September 2018, 19:22   #923  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 838
Is there some hidden way on youtube to find AV1 encoded videos? (I vaguely remember that they used to have something for VP9 when it was deployed)

Anyways, did anyone find more videos on Youtube than the one posted before?
mzso is offline   Reply With Quote
Old 13th September 2018, 00:31   #924  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,203
Quote:
Originally Posted by SmilingWolf View Post
Can you post the full cmake -G "MSYS Makefiles" etc. etc. log on pastebin as it appears on screen?
Or, better/more complete, the contents of <yourBuildDir>/CMakeFiles/CMakeError.log and CMakeOutput.log?
cmake output - https://pastebin.com/spXmNAJS

CMakeError.log - https://pastebin.com/aPnpqnGF

CMakeOutput.log - https://pastebin.com/JpnNx4Xm

P.S. i think some message test on russian and we can't see it in CMake logs
__________________
I7 2600K@4.2 /Asrock P67 Extreme4 Gen 3 /Kingston HyperX 8Gb 1866 (4x2) Kit /OCZ Vertex 3 256Gb /Gigabyte GTX 960 /BenQ EW2430 /LG 47LM620T /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 13th September 2018, 02:10   #925  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,511
Quote:
Originally Posted by mzso View Post
Why not just download with youtube-dl?
I think foxyshadis was referring to the availability of MSE decoders in the browsers.
Blue_MiSfit is offline   Reply With Quote
Old 13th September 2018, 04:29   #926  |  Link
marcomsousa
Registered User
 
Join Date: Jul 2018
Posts: 47
Quote:
Originally Posted by SmilingWolf View Post
YES! Fix confirmed!

EDIT: and patch sent: https://bugs.chromium.org/p/aomedia/...ail?id=2145#c7
Yours two patch requests was merge in master, congrats.
marcomsousa is offline   Reply With Quote
Old 13th September 2018, 07:32   #927  |  Link
SmilingWolf
I am maddo saientisto!
 
SmilingWolf's Avatar
 
Join Date: Aug 2018
Posts: 78
Quote:
Originally Posted by Aleksoid1978 View Post
cmake output - https://pastebin.com/spXmNAJS

CMakeError.log - https://pastebin.com/aPnpqnGF

CMakeOutput.log - https://pastebin.com/JpnNx4Xm

P.S. i think some message test on russian and we can't see it in CMake logs
It's the path

The "++" in "D:/Aleksoid/C++/Source/aom/" create an invalid regular expression that makes some of the cmake tests fail. The AVX2 one just happens to be the first file tested that triggers the problem.
Just rename the path to something like CPP and all the problems should go away

Quote:
Originally Posted by marcomsousa View Post
Yours two patch requests was merge in master, congrats.
Confirming that with these additions the master branch, as of commit 67645b8, compiles and works again with GCC 8.2 without adding any extra C/CXX option on the CMake command line.
Ping @LigH

EDIT:
New build, GCC 8.2 based, no extra C/CXX flags, 32/64bits, HBD/LDB, static libraries included (decoder+encoder, sorry Aleksoid1978 but this solution was simply faster than having 8 different build configs)
av1-1.0.0-566-g67645b8f5: https://mega.nz/#!BsxmTYyJ!dnoSK66uc...7QnZnFkEzEop08

Following the comments on issue 2147 I think I'll drop the CONFIG_LOWBITDEPTH=0 builds from now on
The CONFIG_LOWBITDEPTH=1 ones should work perfectly for 8/10/12 bits video and work faster for 8 bits on top, so no reason to keep the HBD-only builds around

Last edited by SmilingWolf; 14th September 2018 at 06:36.
SmilingWolf is offline   Reply With Quote
Old 13th September 2018, 08:26   #928  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,875
Thanks, I noticed via aomedia mail notification. I assume wiiaboo will revert the MABS patch soon.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 13th September 2018, 08:48   #929  |  Link
GTPVHD
Registered User
 
Join Date: Mar 2008
Posts: 247
https://www.youtube.com/playlist?lis...eZUlNUQAVLwrZS

AV1 beta testing on Youtube.
GTPVHD is offline   Reply With Quote
Old 13th September 2018, 10:43   #930  |  Link
Pushman
Registered User
 
Join Date: Nov 2017
Posts: 7
It has very high bitrate now.
Quote:
At time of writing, these transcodes are encoded at a very high bitrate for decoder performance testing.
Pushman is offline   Reply With Quote
Old 13th September 2018, 11:16   #931  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 924
I can't play the "halo infinite trailer" video (720p) lagfree with mpv. It seems that is uses gpu decoding? bcs cpu is only at max 5%
ChaosKing is offline   Reply With Quote
Old 13th September 2018, 11:42   #932  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,756
There is no GPU decoding for AV1 anywhere yet. But maybe the decoder has a bottleneck somewhere.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 13th September 2018, 11:43   #933  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,404
With mpv 2018-09-02 the 720p version of the halo trailer stutters here as well. I'm not sure it is related to shere AV1 decoding performance as LAV nightly (via MPC-HC) decodes completely smooth on i5-2500K with maybe 15% - 30% CPU. (Not that you have told us anything about your hardware ...)
sneaker_ger is offline   Reply With Quote
Old 13th September 2018, 11:45   #934  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 924
Ryzen 1700 @3.6ghz. gpu Rx480 8GB. I testet it in Chrome 70 now and it is very smooth.
I thought of gpu decoding bcs in the task manager you can see a "GPU 3d" if you show the gpu modules column when playing in mpv.

Last edited by ChaosKing; 13th September 2018 at 11:48.
ChaosKing is offline   Reply With Quote
Old 13th September 2018, 13:43   #935  |  Link
mzso
Registered User
 
Join Date: Oct 2009
Posts: 838
Quote:
Originally Posted by Pushman View Post
It has very high bitrate now.
AKA, decent bitrate.

Sadly, they play nowhere near smoothly on my R5 1600, even though 6/12 cores are utilized to around 30-40%.
mzso is offline   Reply With Quote
Old 13th September 2018, 14:52   #936  |  Link
Gravitator
Registered User
 
Join Date: May 2014
Posts: 169
Quote:
Originally Posted by mzso View Post
AKA, decent bitrate.

Sadly, they play nowhere near smoothly on my R5 1600, even though 6/12 cores are utilized to around 30-40%.
Check how it will be with the disabled SMT/HT?
Gravitator is offline   Reply With Quote
Old 13th September 2018, 15:01   #937  |  Link
clsid
Registered User
 
Join Date: Feb 2005
Posts: 4,972
It seems to already use only the physical cores by default. So that won't have any effect.
clsid is offline   Reply With Quote
Old 13th September 2018, 22:36   #938  |  Link
TD-Linux
Registered User
 
Join Date: Aug 2015
Posts: 32
Quote:
Originally Posted by sneaker_ger View Post
With mpv 2018-09-02 the 720p version of the halo trailer stutters here as well. I'm not sure it is related to shere AV1 decoding performance as LAV nightly (via MPC-HC) decodes completely smooth on i5-2500K with maybe 15% - 30% CPU. (Not that you have told us anything about your hardware ...)
ffmpeg bug, should be fixed in newer builds of mpv:+ffmpeg: https://git.ffmpeg.org/gitweb/ffmpeg...0015c26f4b09ba
TD-Linux is offline   Reply With Quote
Old 14th September 2018, 05:12   #939  |  Link
Clare
Registered User
 
Join Date: Apr 2016
Posts: 60
Quote:
Originally Posted by TD-Linux View Post
ffmpeg bug, should be fixed in newer builds of mpv:+ffmpeg: https://git.ffmpeg.org/gitweb/ffmpeg...0015c26f4b09ba
Still dropping many frames in 1080p with this commit.
CPU usage is around 10-13%.
Clare is offline   Reply With Quote
Old 14th September 2018, 08:23   #940  |  Link
Nintendo Maniac 64
Registered User
 
Nintendo Maniac 64's Avatar
 
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 403
I just did some performance testing with the 1080p 30fps AV1 encode of the Gus Kenworthy & Tom Wallisch X Games Slopestyle GoPro Preview video in MPC-HC v1.8.1 x64 with its built-in LAVfilters; I originally tried the Halo video but I found the X Games video to be much more demanding (but also much more motion-sick inducing, especially when playing at slower than real-time).

With my 4c/8t Nehalem Xeon x3470 I was only seeing ~25% CPU utilization at maximum even though I was unable to play back the video in real-time (it was somewhere between 16fps and 20fps). Mathematically that should mean that it's only using 2 threads, but disabling SMT and setting my BIOS to only enable 2 cores resulted in noticably worse performance, yet setting the BIOS to enable 3 cores without SMT resulted in the same 16-20fps performance I was originally seeing yet at only ~67% CPU utilization.

At least with the LAVfilters bundled with MPC-HC v1.8.1 x64, it would seem that the AV1 decoder can only utilize 3 cores and no SMT, yet even then the 2 less loaded cores are only hitting around half of their according core's available utilization.


And for reference, the 720p 30fps AV1 encode of that same video played back without a hitch on my Xeon - heck it left enough headroom that I could turn on a bunch of motion interpolation which greatly helped alleviate the motion sickness I got from watching the 1080p AV1 encode playback at sub-20fps frame rates (it's times like this that I thank the devs over at Nintendo for making F-Zero X and F-Zero GX native 60fps games).



Now I'm a bit out-of-the-loop, but I couldn't help but notice that YouTube-DL was using the .MP4 extension for AV1 downloads - is that in fact correct behavior? (and no, I don't mean AVC1, otherwise my PC would have been playing back the videos easy-peasy).

Last edited by Nintendo Maniac 64; 14th September 2018 at 09:15.
Nintendo Maniac 64 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 04:36.


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