I´m wondering HOW to improve speeds on a X265 encode sa I´m useinge the below settings for Extra Options in HandBrake Nightly, please help recomend and IF possible Improve Speeds + Quality on my UHD HDR tests!
As it´s now a 2 min file with the settings below takes around 1 hour to encode, imagaine a 2h encode!
Theese folllowing settings are in my Extra Options: cpuid=1173503:frame-threads=4:numa-pools=20:uhd-bd=0:repeat-headers:ref=4:me=3:subme=3:hdr-opt:min-keyint=23:keyint=250:bframes=4:b-adapt=2:b-pyramid:profile=main10:level-idc=5.1:colorprim=bt2020:transfer=smpte-st-2084:colormatrix=bt2020nc:hrd:aud:chromaloc=2:max-cll=4000,1000:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,00):open-gop=0:deblock=-4,-4:strong-intra-smoothing=0
IF you see anything OFF or plain wrong in my Extra Options "code", please state it for me!
Other Settings:
Filters: No Filters activated at all.
HandBrake-20171202-7b461c4_x86_64-Win_GUIb]
Windows 7 X64
https://pastebin.com/embed_js/WyvXehEj
PLEASE HELP!
Improve my X265 UHD encode, help!
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Re: Improve my X265 UHD encode, help!
First question is - where did you get your "extra options" from? Do you understand the reasons for using each one, and how it affects the process?
Re: Improve my X265 UHD encode, help!
I´ve tryed to read up a bit to add thoose extra settings needed to get a UHD HDR compatibel file with so Close quality as the original UHD content I´ve played around with, BUT as the question sums up to it WHAT is Needed and what is NOT needed to get That and HOW can I get the FPS up so I dont have (like now) 2,7 FPS in the 1st Pass (Turbo Fist Pass) and around 0,2 FPS in my 2nd Pass with my 2-Pass Encode?
CPU: AMD FX(tm)-9590 Eight-Core Processor (4,7GHz)
Ram: 32721 MB,
GPU Information: AMD Radeon HD 5700 Series - 15.200.1062.1004 (1GB)
Re: Improve my X265 UHD encode, help!
Firstly, you should NEVER use an 8-bit program like HandBrake for HDR work, but I'm sick of talking about something that bloody obvious.
As for your settings, you've pumped a lot of redundant junk in there from the internet (I know you didn't copy the mastering display from the source because 0 is not an ST2084 candela minimum).
I could dissect each one as to why they're wrong/pointless, especially since you've purloined info intended for scripted command lines, but meh...
BTW, 2-pass encoding is the enemy of speed, just as low-bitrate is the enemy of quality. Yes, if you want to reduce a 75Mb/sec 4K source to a 20Mb/sec 4K encode, 2-pass will DEFINITELY do that, but a high CRF might also do the same in half the time. YOU have to decide what you want to accept as a compromise.
Anyway, simply try this in the HB GUI:
x265 10-bit, FPS Same+Constant, Medium Preset, No Tune, Main10 Profile, Auto Level, Constant Quality 25RF
Extra OPTS: hdr:max-cll=4000,1000:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1):deblock=-2,-3:strong-intra-smoothing=0:sao=0
Depending on source, only YOU can decide whether you then need to slow down the Preset, raise or lower the RF, or both. Or find a proper full 10-bit solution.
Re: Improve my X265 UHD encode, help!
Fastest way with minimum reduction in quality:
Anything else reduces quality and is slower.
If you're not going to get in to the nitty-gritty of x265 like WhatZit, do you have specific problems with the existing presets in the nightly builds?
A lot of what you find on internet are tweaks that (at best) address specific issues with specific sources, such as best rendering of a high-motion source, such as recorded game play. Applying them in the "general case" (random source) often makes matters worse.
Code: Select all
copy "C:\TEMP\_X265-2160p\oups\oups.mkv" "C:\TEMP\_Handbreak\oups.mkv"
If you're not going to get in to the nitty-gritty of x265 like WhatZit, do you have specific problems with the existing presets in the nightly builds?
A lot of what you find on internet are tweaks that (at best) address specific issues with specific sources, such as best rendering of a high-motion source, such as recorded game play. Applying them in the "general case" (random source) often makes matters worse.