OpenCV application uneven frame times

Hi,
On Jetson platforms, we would suggest try VPI. Please check explanation in this topic:
Trying to get OpenCV (built with CUDA) working with FFMPEG - #6 by DaneLLL

For cv::resize, it is supported in hardware converter VIC. Please try nvvidconv plugin in gstreamer, or NvBufferTransform() in jetson_multimedia_api.