Hi,
We are uncertain why gstreamer avdec_h264 may fail in docker. One more thing for a try is to run like:
I got the RTSP video stream on the jetson nano and ran it for about 50 frames before returning false - #7 by DaneLLL
It is to set RTSP URL in cv2.VideoCapture() and use the software decoding in OpenCV.