View Single Post
Old 10th July 2020, 22:12   #29604  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,973
Quote:
Originally Posted by cartman0208 View Post
Also I coudn't make out any difference in encoding speed between 32bit and 64bit version.
I also see no difference in speed between 32 bit and 64 bit. That makes sense, since the actual encoding is being done by hardware anyway.

The one thing I did notice is that (like x264 and x265) you can't use the 64 bit version with a standard (not "+" version) of AVISYNTH. So in BD-Rebuilder I will only be including the 32 bit version of NCEncc in the TOOLS folder.

I have NVENCC working reliably within BD Rebuilder. I'm now working on the function of sizing predictions for constant quality mode (CQM). Since prediction (X264/x265 CRF) never really worked well with HEVC sources in the past, I'm also fixing that in the prediction algorithm. There are a few other minor support functions that will have to be adjusted as well.

All-in-all I'm pretty pleased with what I'm seeing (especially for UHD sources). The only real disadvantage of NVENC is the lack of a true 2-pass mode. But I don't think that's ever likely with a HW encoder.
Quote:
"C:\path\to\nvenc\nvencc64.exe" --avhw --vpp-pad 0,276,0,278 -i "X:\path\to\input.file" --codec hevc --preset quality --profile main10 --output-depth 10 --repeat-headers --chromaloc 2 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --qp-min 0 --vbrhq 0 --vbr-quality 25 --sar 1:1 --aud --pic-struct --vbv-bufsize 45000 --max-bitrate 48000 --gop-len 24 --slices 4 -o "X:\path\to\output.file"
By the way, the only reason "--vpp-pad 0,276,0,278" was a part of that command line is because the file I was using was imported from an MKV and the black padding had been removed in the original MKV file. So, during import, BD-RB sensed the sizing irregularity and inserted the necessary padding to make it UHD-BD compliant. Some of the other portions of the command line (e.g. --master-display) can also be specific to a source (UHD-BD keeps track of it, and BD-RB pulls the information to make sure the reencode matches). With recent changes to NVENCC you would also want to add the "--repeat-headers" parameter to it if the output is targeted at a UHD-BD disc.
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 10th July 2020 at 22:41.
jdobbs is offline   Reply With Quote