Hi,
It is my first question in this forum, after looking for a long time any solution. I'm using python 2.7 with OPENCV '2.4.13' (I already tried with 3.1) and I can't open rtsp:// stream. I already solved the ffmpeg problem (dll) and tried to run the local camera and after a local video with success.
could anyone help me? follow below code: PS: Windows 10, x86 rtsp link working (tried in the vlc player) ffmpeg working (tried to run a video in the code locally)
import cv2
cap = cv2.VideoCapture('rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov')
while(True):
# Capture frame-by-frame
print("frame")
ret, frame = cap.read()
# Display the resulting frame
print("imshow")
cv2.imshow('frame',frame)
print("wait something")
if cv2.waitKey(1) & 0xFF == ord('q'):
break
# When everything done, release the capture
cap.release()
cv2.destroyAllWindows()
kind regards, Bruno