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 > High Efficiency Video Coding (HEVC)
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th January 2020, 22:35   #7321  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by jlpsvk View Post
yeah... avx512 produces much more heat... so probably safety issue...
This was also true of the initial AVX2 implementation, but the more recent ones get much better. I hope we'll see much more perfomant AVX-512 in the next-gen Xeon.

Still, MCW claims that performance gains can be found with it at slower presets at 4K, and I've got some test 8K samples to check.

Sent from my SM-T837V using Tapatalk
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 7th January 2020, 22:39   #7322  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,815
Quote:
Originally Posted by benwaggoner View Post
This was also true of the initial AVX2 implementation, but the more recent ones get much better. I hope we'll see much more perfomant AVX-512 in the next-gen Xeon.

Still, MCW claims that performance gains can be found with it at slower presets at 4K, and I've got some test 8K samples to check.

Sent from my SM-T837V using Tapatalk
Avx512 won't help xeons when AMD just Has epyc2/threadriper 3990x with 2x more cores
Personally I prefer 2x more cores supporting avx-256 than 28 cores with avx-512.
Besides Intel Has created a huge mess with that extension.

https://pbs.twimg.com/media/DXSRqJXX...jpg&name=small

Last edited by Atak_Snajpera; 7th January 2020 at 22:51.
Atak_Snajpera is offline   Reply With Quote
Old 8th January 2020, 00:32   #7323  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by Atak_Snajpera View Post
Besides Intel Has created a huge mess with that extension.

https://pbs.twimg.com/media/DXSRqJXX...jpg&name=small
That "mess" looks far better if you remove the Knights Landing/Knights Mill stuff, which is only on Xeon Phi and of no relevance to something like x265 anyway - and Cannon Lake is dead, so could also remove that circle.

So what software currently does is develop against the Skylake-X subset (like x265 did), or the Icelake subset if they want to use more advanced features in the future. Two levels to care about, really. Before AVX512, we also had a number of small additional sets to augment SSE and AVX, but those get rarely talked about, since many of them arrived with AVX(2) at the same time. There were FMA3 and FMA4 of course (one for Intel, one for AMD, although AMD switched over in later CPUs), BMI1 and BMI2, XOP, and probably more that are of no direct video relevance that I forgot.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th January 2020 at 00:40.
nevcairiel is offline   Reply With Quote
Old 8th January 2020, 00:49   #7324  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by Atak_Snajpera View Post
Avx512 won't help xeons when AMD just Has epyc2/threadriper 3990x with 2x more cores
Personally I prefer 2x more cores supporting avx-256 than 28 cores with avx-512.
I'm testing on the hardware I have, which is basically a c5.18xlarge.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 8th January 2020, 02:50   #7325  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by benwaggoner View Post
I'm testing on the hardware I have, which is basically a c5.18xlarge.
Anyhoo, I encoded 2400 frames of some 8K source with preset slower with and without AVX512.

Just one test run, but I got 1.41 fps with AVX512 and 1.38 without. Also, my office got warm .
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 8th January 2020, 08:37   #7326  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Quote:
Originally Posted by Magik Mark View Post
Oh I see. Can you refer me to the table detailing max buffer for every profile? Thanks


Sent from my iPhone using Tapatalk
https://en.wikipedia.org/wiki/High_E...ers_and_levels
Blue_MiSfit is offline   Reply With Quote
Old 8th January 2020, 13:52   #7327  |  Link
estir
Registered User
 
Join Date: Dec 2019
Posts: 3
Quote:
Originally Posted by froggy1 View Post
While SSIM is (much) better than PSNR, it isn't perfect.
It's not much better. it's not even always better than PSNR.
Anyway PSNRHVS is better than both of them (better even than MS-SSIM), but for some reason no modern codec uses it for RDO.
estir is offline   Reply With Quote
Old 10th January 2020, 04:40   #7328  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
x265.exe 3.2+29-c5ff729 has arrived.

http://msystem.waw.pl/x265/
filler56789 is offline   Reply With Quote
Old 10th January 2020, 14:51   #7329  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 483
x265 v3.2+31-6b348d5b56d8 (32 & 64-bit 8/10/12bit Multilib Windows Binaries) (GCC 9.2.0)
Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default
Barough is offline   Reply With Quote
Old 10th January 2020, 20:17   #7330  |  Link
l00t
Where's my loot?
 
Join Date: May 2019
Posts: 63
Quote:
Originally Posted by jlpsvk View Post
yeah... avx512 produces much more heat... so probably safety issue...
But why? The CPU is at 60oC at 100%, it should allow higher clocks...
l00t is offline   Reply With Quote
Old 10th January 2020, 22:56   #7331  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 105
Umm, hdr-opt replaced to hdr10-opt. Is it mean that hdr-opt does nothing in previous releases?
redbtn is offline   Reply With Quote
Old 10th January 2020, 23:06   #7332  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by redbtn View Post
Umm, hdr-opt replaced to hdr10-opt. Is it mean that hdr-opt does nothing in previous releases?
No, it got replaced to make it more clear that it's meant for HDR10 content
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 11th January 2020, 00:50   #7333  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 105
Quote:
Originally Posted by froggy1 View Post
No, it got replaced to make it more clear that it's meant for HDR10 content
Yeah, I mean it does nothing for hrd content. I used it for a year, thinking it doing optimization for HDR.
redbtn is offline   Reply With Quote
Old 11th January 2020, 05:56   #7334  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by redbtn View Post
Yeah, I mean it does nothing for hrd content. I used it for a year, thinking it doing optimization for HDR.
How do you know?
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 11th January 2020, 11:14   #7335  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 756
I am wondering if x265 has any plans for VVC / H.266? We are may be 6 months away from it being finalised.

Last edited by iwod; 11th January 2020 at 16:19.
iwod is offline   Reply With Quote
Old 11th January 2020, 11:26   #7336  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 105
Quote:
Originally Posted by froggy1 View Post
How do you know?
Quote:
This patch deprecates the existing option '--hdr-opt' as the name sounds generic
even though the feature does QP optimizations only for HDR10 content
So i guess for HDR it doesn't nothing.
redbtn is offline   Reply With Quote
Old 11th January 2020, 11:47   #7337  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
Quote:
Originally Posted by redbtn View Post
So i guess for HDR it doesn't nothing.
"HDR" by itself means nothing. Its a marketing name, and does not describe any sort of specific video format for which one could optimize for.

What kind of HDR? HDR10/PQ? HLG? DV?

Thats why the name of the option was changed. HDR by itself is a category of formats, not any specific format one could apply any optimizations for.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 11th January 2020 at 13:53.
nevcairiel is offline   Reply With Quote
Old 11th January 2020, 12:59   #7338  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
As far as I know, --hdr-opt simply did/does some adjustments to the encoding parameters. You could apply it to SDR content if you like. Not that it would be useful though..
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 13th January 2020, 20:48   #7339  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by Boulder View Post
As far as I know, --hdr-opt simply did/does some adjustments to the encoding parameters. You could apply it to SDR content if you like. Not that it would be useful though..
It would be counterproductive in fact. IIRC, hdr10-opt adjusts delta qp for chroma based on luma levels to better match the characteristics of the PQ EOTF. By default x265 is more optimized for gamma. hdr10-opt would thus be bad for 709 or HLG. Dolby Vision, except in profiles that have a backwards compatible PQ base layer, doesn't even use Y'Cb'Cr, and in Profile 5 does some crazy dynamic range adjustments, so not helpful there.

There's probably fruitful research to be done for how to adapt chroma qp relative to luma based on each macroblock's luma levels in a psychovisual model.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 13th January 2020, 23:07   #7340  |  Link
utack
Registered User
 
Join Date: Apr 2018
Posts: 63
I am surprised how much difference "slower" makes compared to "slow"
It is probably expected due to all the extra bframes giving a quality gain and much more lookahead making different choices what to prioritize, but was not fully aware of it before testing.
utack is offline   Reply With Quote
Reply


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 22:13.


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