Posts: 23
Threads: 1
Joined: May 2020
So for the moment no solution in sight.
Have you already done NVEnc encoding with hdr10 + metadata? did it work?
here is a link with my json file of "godzilla king of monster":
https://uptobox.com/pgmebqzvqhdq
Thanks for your help
Posts: 10.598
Threads: 57
Joined: May 2017
24.05.2020, 19:27
(This post was last modified: 24.05.2020, 19:30 by Selur.)
I did test is a while back and then it worked, just tested now with:
ffmpeg -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "F:\TestClips&Co\files\HDR\HDR-10+\muxing\without HDR10+ data.mp4" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | NVEncC --y4m -i - --fps 24.000 --codec h265 --profile main10 --level auto --tier high --sar 1:1 --lookahead 16 --output-depth 10 --vbrhq 0 --vbr-quality 0.00 --max-bitrate 240000 --gop-len 0 --ref 3 --bframes 0 --no-b-adapt --mv-precision Q-pel --preset default --colormatrix bt2020nc --cuda-schedule sync --dhdr10-info "F:\TestClips&Co\files\HDR\HDR-10+\muxing\HDR-10+.json" --output "E:\Temp\without HDR10+ data_19_21_35_1310_01.265"
and NVEncC just closed and echoed:
Quote:--------------------------------------------------------------------------------
E:\Temp\without HDR10+ data_19_21_35_1310_01.265
--------------------------------------------------------------------------------
NVEncC (x64) 5.02 (r1541) by rigaya, May 23 2020 19:20:00 (VC 1925/Win/avx2)
OS Version Windows 10 x64 (18363)
CPU AMD Ryzen 7 1800X Eight-Core Processor (8C/16T)
GPU #0: GeForce GTX 1070 Ti (2432 cores, 1683 MHz)[PCIe3x16][445.87]
NVENC / CUDA NVENC API 9.1, CUDA 11.0, schedule mode: sync
Input Buffers CUDA, 29 frames
Input Info y4m(yv12(10bit))->p010 [AVX2], 3840x2160, 24/1 fps
Vpp Filters copyHtoD
Output Info H.265/HEVC main10 @ Level auto
3840x2160p 1:1 24.000fps (24/1fps)
Encoder Preset default
Rate Control VBRHQ
Bitrate 0 kbps (Max: 240000 kbps)
Target Quality auto
Initial QP I:20 P:23 B:25
VBV buf size auto
Lookahead on, 16 frames, Adaptive I Insert
GOP length 240 frames
B frames 0 frames [ref mode: disabled]
Ref frames 3 frames
AQ off
CU max / min auto / auto
VUI matrix:bt2020nc
Others mv:Q-pel
(also created a 0 byte large file)
-> seems like there's a problem with NVEncC or current NVIDIA drivers.
Cu Selur
Ps.: You should probably report the issue with a command line and files for him to reproduce to the NVEncC author over at
https://github.com/rigaya/NVEnc/issues
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.598
Threads: 57
Joined: May 2017
24.05.2020, 19:44
(This post was last modified: 24.05.2020, 19:46 by Selur.)
I created an entry in NVEncCs issue-tracker:
https://github.com/rigaya/NVEnc/issues/233
(I also found a bug in the gui, but that doesn't fix the underlying issue with NVEncC.)
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 23
Threads: 1
Joined: May 2020
I tested with your latest version and there is just the problem with nvencc, thanks for everything you do
Posts: 23
Threads: 1
Joined: May 2020
hello, I have worked around this error with lookahead = 0 instead of 32