I am trying open *.mp4
file with opencv
. I am trying with following code but I am unable to do this. How can solve this issue?
import cv2
cap = cv2.VideoCapture("test.mp4")
# cap = cv2.VideoCapture("test.avi") # it's also not working
cap.isOpened() # Output: False
N.B:
- OS : ubuntu 16.04
- OpenCv version: 3.3.0