0
import cv2 
cap = cv2.VideoCapture("StopMoti2001.mpeg")
if cap.isOpened():
    print 'fine'
else:
    print 'not fine'

output is 'not fine' I have checked for various videos and I also moved the ffmpeg file moving to PATH and still the problem remains same. can you please suggest a solution

Sush
  • 37
  • 1
  • 9

1 Answers1

0

Solved my problem, Actually I was working in anaconda, so instead of moving ffmpeg to Python27, I should move it to Anaconda dll folder to make it work.

Sush
  • 37
  • 1
  • 9