Error 22 on nvenc_hevc with GOP 1

  • 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 defaults

    Simplest 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.

  • Vouk 17. Oktober 2024 um 10:09

    Hat das Thema freigeschaltet.
  • Vouk 17. Oktober 2024 um 15:40

    Hat das Label Behoben hinzugefügt.
    • Offizieller Beitrag

    You could open %LOCALAPPDATA%\VoukoderPro\scenes.json and edit the params section of the encoder/video node with a text editor:

    "params": {
    "g": 0,
    "bf": 0
    },

    But i can't guarantee these settings survive a "save" action with the Designer app.

    Edit: I have added the params to all h264 and hevc encoders.