I want to use OpenCV on a software I'm creating in my lab.
This week I changed my computer and and installed from scratch all the softwares I needed, including OpenCV and python2.5.
On my previous computer all worked fine, but on the new one I have a problem...
Whenever I use the cvCreateFileCapture function it returns None (I'm coding in python).
I can run most of the samples (those which don't require a video stream), for instance the facedetection on an image works well.
Both my previous and my current computer run a vista japanese business 32bits edition. I have all the codecs to read the video I want to process using OpenCV.
Does anyone has experienced the same problem and found a solution? Any help will be greatly appreciated!
OK a fresh update:
I converted a movie using
mencoder cat1.mpg -nosound -ovc raw -vf format=i420 -o out.avi
and this works, I can launch the cam-histo.py sample with the out.avi file... So is it a codec problem??? I really don't understand...