Is there a workaround for the time beeing to use "g" = 0 and "bf" =0 to force all-intra encoding?
Beiträge von Maximus Aurelius
-
-
GOP = 1 is an invalid value in nvenc_hevc and fails on voukoder pro 1.3.0.0.
This setting results in nvenc error 22:
In nvenc_hevc gop=1 is an invalid setting (group of frames of "one" is no group at all.)
in FFmpeg ("-c:v" "hevc_nvenc" "-g:v" "1") delivers same error:To enable All-Intra you should use GOP=0 (disable group of frames)
Valid settings for GOP (-g:v) are:
0 All-Intra
1 Invalid
2 Should incl bframe setting (-bf:v) to overwrite default "3", otherwise nvenc_hevc fails. Valid values for "-bf:v" are 0 or 1 (IPP,IBB)
3 Should incl bframe setting (-bf:v) to overwrite default "3", otherwise nvenc_hevc fails. Valid values for "-bf:v" are 0,1,2 (IPP,IBP,IBB)
4+ Valid with defaultsSimplest fix to this issue:
-change min value for GOP "-g:v" from 1 to 0
-include the bframe "-bf:v" parameter to overwrite the default max number of b-frames (default is 3)This still allows invalid combinations but at least it enables All-Intra and low GOP settings
If someone questions why you want this, the reason is quite simple. nvenc_hevc at All-Intra ( -g:v 0 ) in combination with constant quality ( below 8 ) in 10bit ( main10 high tier ) delivers far better results then any prores at significantly lower bit-rates. The prores encoding on macs is fabulous, but the network and storage utilization is way too high. if you don't need 12-bit then 10bit hevc at All-Intra is a better alternative.