can not read video using cv2.VideoCapture
hello, I have one code:
import cv2
cv2.VideoCapture(xxx.mp4/avi)
print vidcap.isOpened()
it still is False. I google for much time and rebuild ffmpeg and opencv. It they do not work.
anyone can give some advises? I use ubuntu16.04 anaconda2
thank you very much~~
besides, I have python-opencv3.2 for python, but I install opencv2.4.13 from source. So must I install opencv3.2 from source?
check cv2.getBuildInformation() to see, if there's support for video files at all.