Hi,
I am testing a small application on Jetson Nano (Jetpack 4.6.6) and Jetson Xavier (Jetpack 5.1.4). In some cases where the Input IP camera (RTPS) Resolution is set to 2688*1520, I get an error after decoding and sending the packet to NvBufferTransform() (ie. error: Failed to generate thumbnail). But in the case where the camera Resolution is set to 1920*1080, it does not get an error and works fine.
Hi,
We would need to reproduce the error and check. Please save h264/h265 stream from the IP camera and see if it can be decoded successfully through 00_video_decode sample. If you can run 00_video_decode sample to replicate the issue, please share us the h264/h265 stream and the command. We will set up developer kit and check.
Hi,
Issue related to NvBufferTransform() (not Decoder), in 00_video_decode sample there is no place using NvBufferTransform().
In your experience/Nvidia doc is there any limit to width*height of inparam?
Hi,
I tried with Resolution 2560x1440, it seems 2560 is divisible by 256, but the issue still occurs, is there any limitation here or do you have any recommendation for setting to solve the problem that input Resolution (ie. width*height) higher than 1920x1080 will not work with NvBufferTransform()?
Hi,
I found the reason for NvBufferTransform(), please refer to the code below, when set setOutputSize(128x72) then when Resolution Input (ie Input width*height) is greater than 1920x1080 then it will error.
So I tried increasing setOutputSize(256, 144) then the issue is resolved.
Can you explain to me why, Is there any limit on the distance between 128x72 (Output Resolution) and greater than 1920x1080 (Input Resolution) Or minimum of Output Resolution?