As the title says my cv2.VideoCapture("bebop.sdp") is not working. The only debug information I can get is that isOpened() returns False.
videoFeed = cv2.VideoCapture("bebop.sdp")
while True:
ret, currentVideoFrame = videoFeed.read()
if ret:
cv2.imshow('frame',currentVideoFrame)
cv2.waitKey(1)
else:
print("FrameError - %s" % videoFeed.isOpened())
Replacing bebop.sdp with a sample.mp4 file works fine. bebop.sdp is definitely in the working directory (alongside sample.mp4). I have an ffmpeg dll here: "C:\Users\uname\AppData\Local\Programs\Python\Python36\opencv_ffmpeg331_64.dll". The code worked fine with python2.7 (although I do remember having a similar problem, but the dll fixed that.
I can open the bebop.sdp file in VLC and I receive the video I expect.
Is there any debugging information I can get access to?
Thanks in advance!