Freezing when opencv and gstreamer(with nvv4l2decoder) used on Xavier NX

Hi,
Please try this sample:
Doesn't work nvv4l2decoder for decoding RTSP in gstreamer + opencv - #3 by DaneLLL

And then try:

    cap = cv2.VideoCapture("rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! video/x-raw, width=1280, height=720, format=(string)BGRx ! videoconvert ! video/x-raw,format=BGR ! appsink ")