It seems that NVDECODE can't support DX12 device.

As the topic said, NVDECODE probably can’t support DX12 device. So how I can do the hardware encoding under DX12 render device? Thanks

Video Codec SDK doesn’t support DX12. You may try to use CUDA<->DX12 interop.

Thanks.

I’ve tried to share DX12 texture to DX11 texture, and use DX11 device to do the encoding works. It succeed!