Ask Your Question

Unable to open video files with .mpeg file format using opencv in python

asked 2014-04-22 07:02:36 -0600

Hi, I can open and display only .avi video files using OpenCV 2.4.6 in Python 2.7 When i try to open video files with .mpg or .mpeg video formats,the flag set for cap.isOpened() is returned as false.

I am unable to open or display the video files.

Will be helpful if anyone can throw some light on the same.

Thanks in Advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-23 12:25:45 -0600

1- Try convert the video for wmv. 2- check the path to video file

edit flag offensive delete link more

Question Tools


Asked: 2014-04-22 07:02:36 -0600

Seen: 934 times

Last updated: Apr 23 '14