Can the VideoCapture() access with rstp protocol on Windows10?
On Mac using OpenCV 3.4.0 with python3, VideoCapture() can access URL="rtsp://admin:pass@address:port/api". But on Windows10 using OpenCV 3.4.1 with python2.7, VideoCapture() can not access the URL.
make sure, you have the opencv_ffmpeg.dll on your PATH (it has to be dynamically loaded at runtime)
I have gotten the opencv_ffmpeg.dll from the download site. http://www.originaldll.com/file/openc... What folder shall I put it on, C:\Python27\Lib\site-packages?
again, add the folder containing it to your PATH.
and you don't need to download it from an external site, your opencv already contains it somewhere (also with the correct version !)
Do you means "cv2.pyd includs opencv_ffmpeg function"? Can I use "cap = cv2.VideoCapture(URL, apiPreference=cv2.CAP_FFMPEG)"? What does " on your PATH " mean?
no, i mean, there should be already a opencv_ffmpeg.dll somewhere. (and that downloading a 3rd party one might result in a version conflict)