2013-10-03 21:23:56 -0600 | received badge | ● Editor (source) |
2013-10-03 21:23:02 -0600 | asked a question | VideoCapture().read() return False, None for .avi except tree.avi I tried running the above code for a sample .avi file in opencv/samples/c/ called tree.avi and the above code displays that sample video. But when I try the same script for any other .avi files no video is displayed. I tried: which returned "False None". I have also tried the video.py sample script in /opencv/samples/python2. video.py displays the tree.avi file, but not my own .avi files. I am using python2.7.3 and OpenCV-2.4.6 on windows. I don't think this is an encoding issue because I have been able to view my .avi files using Windows Media Player. Any help would appreciated. Thank you. |