Ask Your Question

can not read a video using opencv!

asked 2015-02-18 08:43:39 -0500

fery gravatar image

hello every body I am using python in Ubuntu, i tried to read a video using opencv but can't cuz the while statement for cap.isOpened() is never true!! then can't see the frames! I've read videos before using python in windows and never had a problem, is there anybody who can help me find out the problem?!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-05 23:47:31 -0500

The issue here might well be that Ubuntu cannot open that video format. I have had a similar issue with MacOS, I had to install new decoder so that MacOS could open my *.avi file. Then it worked just fine.

Good luck with that!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-02-18 08:43:39 -0500

Seen: 224 times

Last updated: Mar 05 '17