Ask Your Question
0

can not read a video using opencv!

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

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
0

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

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

Question Tools

1 follower

Stats

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

Seen: 397 times

Last updated: Mar 05 '17