gstreamer-1.22 with cudaconvert problem
Hello. My question is about gstreamer + cudaconvert. Current situation:
We have a camera, and we get a stream from it with 1920 * 1080 dimensions. And we use 3 channels. So the size of the frame should be 1920 * 1080 * 3 = 6220800 bytes.
When i use gstreamer 1.20, i can use a such pipeline part “appsrc name=source%d ! h264parse ! nvh264dec ! cudaconvert ! video/x-raw(memory:CUDAMemory), format=(string)BGR ! appsink name=sink%d emit-signals=true async=false sync=false”
and after getting the frame using gstreamer api i have a frame with size which equals to 6220800 bytes.
When i use gstreamer 1.22 with the same pipeline part, after getting the frame using gstreamer api i have a frame with size which equals to 6635520 bytes.
Why there is such strange situation with a frame size.