I'm using openvino toolkit for optimizing my net for Intel platform.
I have to setup environment for OpenVino using 'setupvars.bat' file. After environment setup the opencv version is '4.1.0-openvino'.
When I try to access rtsp stream using command
[ cv2.VideoCapture('rtsp://username:firstname.lastname@example.org/cam/realmonitor?channel=1&subtype=0') ] , it gives me False flag and None frame is returned.
I can access this rtsp stream from opencv 3.4.5 with same RTSP URL.
Please help me solve it.
After OpenVINO installation, you also need to download the opencv_ffmpeg_64.dll to open streaming.
For example, go to "C:\Program Files (x86)\IntelSWTools\openvino\opencv", you can run the ffmpeg-download.ps1 in Windows PowerShell to download the opencv_ffmpeg_64.dll.
Hope this information is helpful:)