NVENC Encode Resolution plobrem

I’m developing an app in Unity.
I’m using a package library called com.unity.webrtc to use WebRTC within my app. This package supports hardware encoding with NVENC.
This com.unity.webrtc works when I send a video stream with a resolution of 3840x2160, but when I try to send a video stream with a resolution of 3840x3840, I get an error.

https://developer.nvidia.com/nvidia-video-codec-sdk#CollapseZero
The “Supported Format Details” table on this page states that the maximum resolution for H264 codecs is 4096x4096, but why do I get an error even though the resolution is lower?

The GPU I’m using is a GeForce 3070 Laptop

1 Like