[Libav-user] Libavcodec D3D12 hevc_nvenc
Alex Cha
alex-1er at hotmail.com
Wed Jul 9 18:12:01 EEST 2025
Hi,
I was under the impression that there was hardware acceleration for D3D12 supported by ffmpeg.
Upon implementing the solution however, we had unsupported pixel format d3d12 by the hevc_nvenc.
Digging further in the nvenc.c code it seems d3d12 format is not supported directly. Was there a reason for this? Looking into the nvidia documentation the encoder should support D3D12, even if it is unclear to me what needs to be done.
For reference, we are trying to integrate hardware streaming using FFmpeg into a unreal engine 5 application which uses D3D12. We need a very low latency.
We have tried using the D3D11on12 interop without success, it is returning us "openencodesessionex failed no encode device(1)". The adapter seems to be using my RTX 4090 correctly but no success.
Anyway, this email is a long shot in case someone as already encountered these issues and is able encode without copying to CPU.
Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20250709/563e035b/attachment.htm>
More information about the Libav-user
mailing list