rtsp-H264 format want access in Opencv-Python

Hi, I am receiving RTSP in the form of h264 format, but not able to read it in Opencv -python, getting an assertion error that says “failed to open RTSP”, here I am trying to perform video analytics on live stream, the RTSP is working on VLC player but not in python code, How to solve this issue, can anyone guide me through it please, thank You. #inception #ai-data-science:computer-vision-image-processing