Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

problem with cvCreateFileCapture of openCV

attwad
Beginner
729 Views

Hello everyone,

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...

0 Kudos
1 Reply
ali_int
Beginner
729 Views

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...

yes! the same here, I lost 2 days to find this out!!! welcome to the matrix!

0 Kudos
Reply