Hi,
Please check the explanation and suggestion in
High CPU usage rate for pulling RTSP stream by VideoCapture with CAP_GSTREAMER - #7 by DaneLLL
Please also share more information about your use-case. We can check if there is other alternative to run the same use-case instead of using OpenCV.