Hi,
We suggest use nvv4l2decoder since omx plugins are deprecated. Please try this sample and check if video preview is good:
Doesn't work nvv4l2decoder for decoding RTSP in gstreamer + opencv - #3 by DaneLLL
And then it should work by applying the URI to this sample:
Stream processed video with OpenCV on Jetson TX2 - #5 by DaneLLL