Failed opening codec: h264_nvenc - Unable to initialize the encoder

  • Hello! I am trying to encode a video that I created with After Effects. Everything works fine with x264, but we'd like to speed up the encoding process with our Quadro P5000 & P4000 GPUs.


    We seem unable to get the h264_nvenc codec to open, even when using default settings. We are using the latest NVIDIA driver, 472.47. Any ideas of what could be going wrong?


    Also, hvec_nvenc appears to work with the same default settings, but we have not fully tested encoding an entire video with it.




  • Vouk

    Approved the thread.
    • Official Post

    NVENC h264 supports only up to 4096x4096 frame size. You might want to use h265/hevc which supports up to 8192x8192.

    Help to improve this plugin and support me on patreon or paypal. Thank you.


    Do you need a custom Voukoder build really fast? Click here.

  • Vouk

    Added the Label Not a bug
  • Vouk

    Removed the Label Adobe Premiere / MediaEncoder