문제

import cv2
capture = cv2.VideoCapture("slow.avi")
while not capture.isOpened():
  capture = cv2.VideoCapture("slow.avi")
  cv2.waitKey(1000)
  print "Wait for the header"

I tried a lot of different video files(flv,wmv) but I couldn't open any video file.I followed https://stackoverflow.com/a/11703998 directions and copied files in OpenCV\sources\3rdparty\ffmpeg directory to C:\Python27\ directory but not working

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top