Skip to content

nvenc: Register elements per GPU device with capability check

This commit changes nvh264enc and nvh265enc element factory name to nvh264device{device-id}enc and nvh265device{device-id}enc so that better per GPU device codec capability handling. That is, registered nvenc element factory can guarantee the requested codec/resolution is supported. As we have element factory per GPU device, "cuda-device-id" is removed by this commit.

Additionally, nvh265enc gains ability to encoding 4:4:4 8bits, 4:2:0 10 bits formats and up to 8K resolution depending on device capability. Additionally, I420 GLMemory input is supported by nvenc.

Edited by Seungha Yang

Merge request reports