Error using NVENC H.264 render

  • Running into an error with the latest version of the plugin. Haven't tried an older version yet.

    I get this when choosing a "Level". Works fine if I don't use one but looks terrible. Here's what the log says.

    [06:31:29] Opening codec: h264_nvenc with options: 2pass=1|b=25000000|bufsize=35000000|cq=0|gpu=0|level=4.1|maxrate=35000000|preset=hq|profile=main|rc=vbr

    [06:31:29] Failed opening codec: h264_nvenc

    [06:31:29] Unable to open video encoder: h264_nvenc

    [06:31:29] Closing encoders ...

    [06:31:29] Unable to initialize the encoder.

    This has most likely to do with an invalid combination of options.

    Make sure there is at least one free NVENC session and close all other programs that make use of NVENC.

    Please check if the used options and presets comply to the selected output level. Even the encoders default configuration (no options set at all) might not comply with all levels.

    An ideas on this one?

  • Does it work if you disable the level? (Uncheck it)

    It does but the quality is absolutely terrible. I knew that when I saw a file size of 250 megabytes when it should've been at least 10 gigs for a 1 hr let's play. 1.2.1 seems to work ok. I'll try it again with a 5.1 profile.

  • Yeah, verified after multiple tries and different settings. Nothing works with using a "Level".

    [07:32:13] Opening codec: h264_nvenc with options: 2pass=0|b=25000000|bufsize=15000000|cq=0|gpu=0|level=4.1|maxrate=35000000|preset=medium|profile=high|rc=vbr

    [07:32:13] Failed opening codec: h264_nvenc

    [07:32:13] Unable to open video encoder: h264_nvenc

    [07:32:13] Closing encoders ...

    [07:32:13] Unable to initialize the encoder.

    This has most likely to do with an invalid combination of options.

    Make sure there is at least one free NVENC session and close all other programs that make use of NVENC.

    Please check if the used options and presets comply to the selected output level. Even the encoders default configuration (no options set at all) might not comply with all levels.

  • Setting a level does not improve the quality. It just limits the feature set of the encoder for hardware decoders (i.e. TV, PlayStation, Phones, DVD,...). These device just comply up to a certain levels. If YouTube (or similar) is your target NEVER use a limit.

    I hear ya, maybe I missed something. I just rendered a test sample without a level and it rendered size wise where it should be.

  • Vouk 8. Juni 2019 um 16:39

    Hat das Label Kein Bug hinzugefügt.
  • Same error, all not working, Adobe Premiere 2019...

    Spoiler anzeigen

    [15:09:26] Voukoder 2.2.0

    [15:09:26] by Daniel Stankewitz

    [15:09:26] ---------------------------------------------

    [15:09:26] Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz

    [15:09:26] 8 logical cores

    [15:09:26] 16351 MB system memory

    [15:09:26] Display #0 on: NVIDIA GeForce GTX 970

    [15:09:26] ---------------------------------------------

    [15:09:26] Plugin running in Premiere Pro 13.1.2

    [15:09:26] ---------------------------------------------

    [15:09:40] Loading: translations/english.json

    [15:09:40] Loading: translations/german.json

    [15:09:40] Loading: translations/french.json

    [15:09:40] Loading: encoders/dca.json

    [15:09:40] Loading: encoders/eac3.json

    [15:09:40] Loading: encoders/truehd.json

    [15:09:40] Loading: encoders/aac.json

    [15:09:40] Loading: encoders/ac3.json

    [15:09:40] Loading: encoders/alac.json

    [15:09:40] Loading: encoders/ffv1.json

    [15:09:40] Loading: encoders/flac.json

    [15:09:40] Loading: encoders/h264_amf.json

    [15:09:40] Unloading: encoders/h264_amf.json

    [15:09:40] Loading: encoders/h264_nvenc.json

    [15:09:40] Loading: encoders/hevc_amf.json

    [15:09:40] Unloading: encoders/hevc_amf.json

    [15:09:40] Loading: encoders/hevc_nvenc.json

    [15:09:40] Loading: encoders/libfdk_aac.json

    [15:09:40] Unloading: encoders/libfdk_aac.json

    [15:09:40] Loading: encoders/libmp3lame.json

    [15:09:40] Loading: encoders/libopus.json

    [15:09:40] Loading: encoders/libvorbis.json

    [15:09:40] Loading: encoders/libvpx.json

    [15:09:40] Loading: encoders/libvpx-vp9.json

    [15:09:40] Loading: encoders/libx264.json

    [15:09:40] Loading: encoders/libx265.json

    [15:09:40] Loading: encoders/pcm_s16le.json

    [15:09:40] Loading: encoders/pcm_s24le.json

    [15:09:40] Loading: encoders/pcm_s32le.json

    [15:09:40] Loading: encoders/prores_ks.json

    [15:09:40] Loading: encoders/hap.json

    [15:09:40] Loading: encoders/h264_qsv.json

    [15:09:40] Unloading: encoders/h264_qsv.json

    [15:09:40] Loading: encoders/hevc_qsv.json

    [15:09:40] Unloading: encoders/hevc_qsv.json

    [15:09:40] Loading: encoders/libsvt_av1.json

    [15:09:40] Unloading: encoders/libsvt_av1.json

    [15:09:40] Loading: muxers/matroska.json

    [15:09:40] Loading: muxers/mov.json

    [15:09:40] Loading: muxers/mp4.json

    [15:09:40] Loading: muxers/webm.json

    [15:09:40] Loading: muxers/mp3.json

    [15:09:40] Loading: muxers/opus.json

    [15:09:40] Loading: muxers/ogg.json

    [15:09:40] Loading: muxers/flac.json

    [15:09:40] Loading: muxers/adts.json

    [15:09:40] Loading: muxers/wav.json

    [15:09:40] Loading: muxers/h264.json

    [15:09:40] Loading: muxers/hevc.json

    [15:09:40] Loading: muxers/mpeg2video.json

    [15:09:40] Loading: muxers/mpegts.json

    [15:09:40] Loading: filters/bwdif.json

    [15:09:40] Loading: filters/unsharp.json

    [15:09:40] Loading: filters/yadif.json

    [15:09:40] Loading: filters/zscale.json

    [15:10:02] ---------------------------------------------

    [15:10:02] Export started

    [15:10:02] ---------------------------------------------

    [15:10:02] Frame size: 1920x1080

    [15:10:02] Pixel aspect: 1:1

    [15:10:02] Frame rate: -4.65

    [15:10:02] Interlaced: No

    [15:10:02] Color range: tv

    [15:10:02] Color space: bt709

    [15:10:02] Color primaries: bt709

    [15:10:02] Color TRC: bt709

    [15:10:02] Sample rate: 48000

    [15:10:02] Audio channels: 2

    [15:10:02] ---------------------------------------------

    [15:10:02] Opening codec: h264_nvenc with options: b=30000000|bf=2|g=15|gpu=0|level=5.1|maxrate=40000000|preset=hq|profile=high|rc=vbr

    [15:10:02] Failed opening codec: h264_nvenc

    [15:10:02] Unable to open video encoder: h264_nvenc

    [15:10:02] Closing encoders ...

    [15:10:02] Unable to initialize the encoder.

    This has most likely to do with an invalid combination of options.

    Make sure there is at least one free NVENC session and close all other programs that make use of NVENC.

    Please check if the used options and presets comply to the selected output level. Even the encoders default configuration (no options set at all) might not comply with all levels.

  • Or default...

    Spoiler anzeigen

    [15:13:16] ---------------------------------------------

    [15:13:16] Export started

    [15:13:16] ---------------------------------------------

    [15:13:16] Frame size: 1920x1080

    [15:13:16] Pixel aspect: 1:1

    [15:13:16] Frame rate: -4.65

    [15:13:16] Interlaced: No

    [15:13:16] Color range: tv

    [15:13:16] Color space: bt709

    [15:13:16] Color primaries: bt709

    [15:13:16] Color TRC: bt709

    [15:13:16] Sample rate: 48000

    [15:13:16] Audio channels: 2

    [15:13:16] ---------------------------------------------

    [15:13:16] Opening codec: h264_nvenc with options: gpu=0

    [15:13:16] Failed opening codec: h264_nvenc

    [15:13:16] Unable to open video encoder: h264_nvenc

    [15:13:16] Closing encoders ...

    [15:13:16] Unable to initialize the encoder.

    This has most likely to do with an invalid combination of options.

    Make sure there is at least one free NVENC session and close all other programs that make use of NVENC.