NVENC h.264 Unable to initialize the encoder.

  • NVENC h.264 Unable to initialize the encoder.

    please help me...


    [20:05:24] ---------------------------------------------

    [20:05:24] Export started

    [20:05:24] ---------------------------------------------

    [20:05:24] Filename: E:\test\test\loop_1.mp4

    [20:05:24] Application: Voukoder (Adobe Premiere)

    [20:05:24] - Video -------------------------------------

    [20:05:24] Frame size: 1440x1080

    [20:05:24] Pixel aspect: 4:3

    [20:05:24] Timebase: 1001/30000 (29.97 fps)

    [20:05:24] Interlaced: Top first

    [20:05:24] Encoder: h264_nvenc

    [20:05:24] Options: _computeCapability=7.5 _pixelFormat=yuv420p gpu=0 preset=p4 profile=high qp=15 rc=constqp

    [20:05:24] Side data: <none>

    [20:05:24] Filters: <none>

    [20:05:24] Passes: 1

    [20:05:24] Color range: unknown

    [20:05:24] Color space: unknown

    [20:05:24] Color primaries: unknown

    [20:05:24] Color transfer: unknown

    [20:05:24] - Audio -------------------------------------

    [20:05:24] Timebase: 1/48000

    [20:05:24] Channels: 2

    [20:05:24] Encoder: aac

    [20:05:24] Options: _sampleFormat=fltp b=320000 profile=aac_low

    [20:05:24] Side data: <none>

    [20:05:24] Filters: <none>

    [20:05:24] ---------------------------------------------

    [20:05:24] Opening codec: h264_nvenc with options: gpu=0|preset=p4|profile=high|qp=15|rc=constqp

    [20:05:24] FFmpeg: Loaded lib: nvcuda.dll

    [20:05:24] FFmpeg: Loaded sym: cuInit

    [20:05:24] FFmpeg: Loaded sym: cuDeviceGetCount

    [20:05:24] FFmpeg: Loaded sym: cuDeviceGet

    [20:05:24] FFmpeg: Loaded sym: cuDeviceGetAttribute

    [20:05:24] FFmpeg: Loaded sym: cuDeviceGetName

    [20:05:24] FFmpeg: Loaded sym: cuDeviceComputeCapability

    [20:05:24] FFmpeg: Loaded sym: cuCtxCreate_v2

    [20:05:24] FFmpeg: Loaded sym: cuCtxSetLimit

    [20:05:24] FFmpeg: Loaded sym: cuCtxPushCurrent_v2

    [20:05:24] FFmpeg: Loaded sym: cuCtxPopCurrent_v2

    [20:05:24] FFmpeg: Loaded sym: cuCtxDestroy_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemAlloc_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemAllocPitch_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemAllocManaged

    [20:05:24] FFmpeg: Loaded sym: cuMemsetD8Async

    [20:05:24] FFmpeg: Loaded sym: cuMemFree_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpy

    [20:05:24] FFmpeg: Loaded sym: cuMemcpyAsync

    [20:05:24] FFmpeg: Loaded sym: cuMemcpy2D_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpy2DAsync_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpyHtoD_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpyHtoDAsync_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpyDtoH_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpyDtoHAsync_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpyDtoD_v2

    [20:05:24] FFmpeg: Loaded sym: cuMemcpyDtoDAsync_v2

    [20:05:24] FFmpeg: Loaded sym: cuGetErrorName

    [20:05:24] FFmpeg: Loaded sym: cuGetErrorString

    [20:05:24] FFmpeg: Loaded sym: cuCtxGetDevice

    [20:05:24] FFmpeg: Loaded sym: cuDevicePrimaryCtxRetain

    [20:05:24] FFmpeg: Loaded sym: cuDevicePrimaryCtxRelease

    [20:05:24] FFmpeg: Loaded sym: cuDevicePrimaryCtxSetFlags

    [20:05:24] FFmpeg: Loaded sym: cuDevicePrimaryCtxGetState

    [20:05:24] FFmpeg: Loaded sym: cuDevicePrimaryCtxReset

    [20:05:24] FFmpeg: Loaded sym: cuStreamCreate

    [20:05:24] FFmpeg: Loaded sym: cuStreamQuery

    [20:05:24] FFmpeg: Loaded sym: cuStreamSynchronize

    [20:05:24] FFmpeg: Loaded sym: cuStreamDestroy_v2

    [20:05:24] FFmpeg: Loaded sym: cuStreamAddCallback

    [20:05:24] FFmpeg: Loaded sym: cuEventCreate

    [20:05:24] FFmpeg: Loaded sym: cuEventDestroy_v2

    [20:05:24] FFmpeg: Loaded sym: cuEventSynchronize

    [20:05:24] FFmpeg: Loaded sym: cuEventQuery

    [20:05:24] FFmpeg: Loaded sym: cuEventRecord

    [20:05:24] FFmpeg: Loaded sym: cuLaunchKernel

    [20:05:24] FFmpeg: Loaded sym: cuLinkCreate

    [20:05:24] FFmpeg: Loaded sym: cuLinkAddData

    [20:05:24] FFmpeg: Loaded sym: cuLinkComplete

    [20:05:24] FFmpeg: Loaded sym: cuLinkDestroy

    [20:05:24] FFmpeg: Loaded sym: cuModuleLoadData

    [20:05:24] FFmpeg: Loaded sym: cuModuleUnload

    [20:05:24] FFmpeg: Loaded sym: cuModuleGetFunction

    [20:05:24] FFmpeg: Loaded sym: cuModuleGetGlobal

    [20:05:24] FFmpeg: Loaded sym: cuTexObjectCreate

    [20:05:24] FFmpeg: Loaded sym: cuTexObjectDestroy

    [20:05:24] FFmpeg: Loaded sym: cuGLGetDevices_v2

    [20:05:24] FFmpeg: Loaded sym: cuGraphicsGLRegisterImage

    [20:05:24] FFmpeg: Loaded sym: cuGraphicsUnregisterResource

    [20:05:24] FFmpeg: Loaded sym: cuGraphicsMapResources

    [20:05:24] FFmpeg: Loaded sym: cuGraphicsUnmapResources

    [20:05:24] FFmpeg: Loaded sym: cuGraphicsSubResourceGetMappedArray

    [20:05:24] FFmpeg: Loaded sym: cuGraphicsResourceGetMappedPointer_v2

    [20:05:24] FFmpeg: Loaded sym: cuDeviceGetUuid

    [20:05:24] FFmpeg: Loaded sym: cuImportExternalMemory

    [20:05:24] FFmpeg: Loaded sym: cuDestroyExternalMemory

    [20:05:24] FFmpeg: Loaded sym: cuExternalMemoryGetMappedBuffer

    [20:05:24] FFmpeg: Loaded sym: cuExternalMemoryGetMappedMipmappedArray

    [20:05:24] FFmpeg: Loaded sym: cuMipmappedArrayGetLevel

    [20:05:24] FFmpeg: Loaded sym: cuMipmappedArrayDestroy

    [20:05:24] FFmpeg: Loaded sym: cuImportExternalSemaphore

    [20:05:24] FFmpeg: Loaded sym: cuDestroyExternalSemaphore

    [20:05:24] FFmpeg: Loaded sym: cuSignalExternalSemaphoresAsync

    [20:05:24] FFmpeg: Loaded sym: cuWaitExternalSemaphoresAsync

    [20:05:24] FFmpeg: Loaded sym: cuArrayCreate_v2

    [20:05:24] FFmpeg: Loaded sym: cuArray3DCreate_v2

    [20:05:24] FFmpeg: Loaded sym: cuArrayDestroy

    [20:05:24] FFmpeg: Cannot load optional cuEGLStreamProducerConnect

    [20:05:24] FFmpeg: Cannot load optional cuEGLStreamProducerDisconnect

    [20:05:24] FFmpeg: Cannot load optional cuEGLStreamConsumerDisconnect

    [20:05:24] FFmpeg: Cannot load optional cuEGLStreamProducerPresentFrame

    [20:05:24] FFmpeg: Cannot load optional cuEGLStreamProducerReturnFrame

    [20:05:24] FFmpeg: Loaded sym: cuD3D11GetDevice

    [20:05:24] FFmpeg: Loaded sym: cuD3D11GetDevices

    [20:05:24] FFmpeg: Loaded sym: cuGraphicsD3D11RegisterResource

    [20:05:24] FFmpeg: Loaded lib: nvEncodeAPI64.dll

    [20:05:24] FFmpeg: Loaded sym: NvEncodeAPICreateInstance

    [20:05:24] FFmpeg: Loaded sym: NvEncodeAPIGetMaxSupportedVersion

    [20:05:24] FFmpeg: Loaded Nvenc version 12.0

    [20:05:24] FFmpeg: Nvenc initialized successfully

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuInit(0)

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuDeviceGetCount(&nb_devices)

    [20:05:24] FFmpeg: 1 CUDA capable devices found

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuDeviceGet(&cu_device, idx)

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuDeviceGetName(name, sizeof(name), cu_device)

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuDeviceComputeCapability(&major, &minor, cu_device)

    [20:05:24] FFmpeg: [ GPU #0 - < NVIDIA GeForce GTX 1660 SUPER > has Compute SM 7.5 ]

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device)

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuCtxPopCurrent(&dummy)

    [20:05:24] FFmpeg: Interlaced encoding is not supported. Supported level: 0

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuCtxPushCurrent(ctx->cu_context)

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuCtxPopCurrent(&dummy)

    [20:05:24] FFmpeg: Calling dl_fn->cuda_dl->cuCtxDestroy(ctx->cu_context_internal)

    [20:05:24] FFmpeg: No capable devices found

    [20:05:24] FFmpeg: Nvenc unloaded

    [20:05:24] Failed opening codec: h264_nvenc

    [20:05:24] Unable to open video encoder: h264_nvenc

    [20:05:24] Closing encoders ...

    [20:05:24] Opening encoder failed! Aborting ...

  • Vouk 5. Februar 2023 um 12:34

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    Your NVIDIA GeForce GTX 1660 SUPER (and newer GPUs) does not support encoding interlaced videos. Either deinterlace the video or use a software h264 encoder.

  • Vouk 5. Februar 2023 um 16:04

    Hat das Label Kein Bug hinzugefügt.
  • [20:05:24] Interlaced: Top first

    ...

    [20:05:24] FFmpeg: Interlaced encoding is not supported. Supported level: 0

    Do you understand what INTERLACED video is? Go look it up.

    You need to render as PROGRESSIVE video in order to use NVENC.

    3 Mal editiert, zuletzt von Joe24 (8. Februar 2023 um 01:54)