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)

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th January 2020, 22:56   #7341  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 136
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   #7342  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,605
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

AMD Ryzen 7 3700X
froggy1 is offline   Reply With Quote
Old 11th January 2020, 00:50   #7343  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 136
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   #7344  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,605
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

AMD Ryzen 7 3700X
froggy1 is offline   Reply With Quote
Old 11th January 2020, 11:14   #7345  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 755
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   #7346  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 136
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   #7347  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 9,861
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   #7348  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,662
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   #7349  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,048
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   #7350  |  Link
utack
Registered User
 
Join Date: Apr 2018
Posts: 43
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
Old 14th January 2020, 18:36   #7351  |  Link
Barough
Registered User
 
Barough's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 341
x265 v3.2+34-8e6db24c1517 (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 14th January 2020, 22:21   #7352  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,048
Quote:
Originally Posted by utack View Post
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.
I've kinda thought of slower as the first "real" x265 preset, where most of the stuff that makes HEVC better are in play. The quality gap between slower and placebo is smaller than that between slow and slower.

Except for lossless, where placebo has a pretty significant efficiency gain over even veryslow.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 15th January 2020, 06:22   #7353  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,587
I'd say "Slow" is a good compromise, but yeah, "Slower" is really where all the magic happens
Blue_MiSfit is offline   Reply With Quote
Old 15th January 2020, 14:35   #7354  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 581
I have 16 threads CPU. Is there a way to instruct x265 to use only 14?

Need the rest for other apps
__________________
Aora Master - Intel i9 - RTX 2060 - DDR4 24GB Predator - LG OLED C9 - Yamaha A3030 - Windows 10 x64 - Kodi with DSplayer - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 15th January 2020, 15:36   #7355  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,349
Quote:
Originally Posted by Magik Mark View Post
I have 16 threads CPU. Is there a way to instruct x265 to use only 14?

Need the rest for other apps
I would just run x265.exe in IDLE priority. You may also use Process Explorer to change affinity to only 14 logical processors.

Last edited by Atak_Snajpera; 15th January 2020 at 15:38.
Atak_Snajpera is offline   Reply With Quote
Old 15th January 2020, 18:03   #7356  |  Link
vpupkind
Registered User
 
Join Date: Jul 2007
Posts: 22
Quote:
Originally Posted by benwaggoner View Post
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.
ISO/IEC 23008-14 does that. I haven't had too much luck with their recommendations -- they destroyed textures in very bright scenes (think icy mountains).
vpupkind is offline   Reply With Quote
Old 15th January 2020, 23:55   #7357  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,048
Quote:
Originally Posted by Magik Mark View Post
I have 16 threads CPU. Is there a way to instruct x265 to use only 14?
--pools "14" should exactly limit it to 14 cores.

https://x265.readthedocs.io/en/defau...l#thread-pools
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 16th January 2020, 07:15   #7358  |  Link
Rousseau
Registered User
 
Join Date: Jun 2017
Posts: 4
Quote:
Originally Posted by Barough View Post
x265 v3.2+34-8e6db24c1517 (32 & 64-bit 8/10/12bit Multilib Windows Binaries) (GCC 9.2.0)
Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default

multi-pass-opt-analysis / distortion causes a crash in this build.
Rousseau is offline   Reply With Quote
Old 16th January 2020, 11:21   #7359  |  Link
Magik Mark
Registered User
 
Join Date: Dec 2014
Posts: 581
Quote:
Originally Posted by benwaggoner View Post
--pools "14" should exactly limit it to 14 cores.



https://x265.readthedocs.io/en/defau...l#thread-pools


Thanks alot!


Sent from my iPhone using Tapatalk
__________________
Aora Master - Intel i9 - RTX 2060 - DDR4 24GB Predator - LG OLED C9 - Yamaha A3030 - Windows 10 x64 - Kodi with DSplayer - Lav - MadVR
Magik Mark is offline   Reply With Quote
Old 16th January 2020, 23:54   #7360  |  Link
jlpsvk
Registered User
 
Join Date: Dec 2014
Posts: 204
Is there any way to fully utitlise x265 with single process (without distrubuted encoding) on Ryzen 9 3950X (16c/32t) without quality loss?
__________________
AMD Ryzen 9 3950X, 32GB DDR4-3200 CL16, RTX 2070, 1TB NVMe SSD, 56TB NAS

Last edited by jlpsvk; 17th January 2020 at 00:06.
jlpsvk 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 09:04.


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