LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   using avi files with OpenCV (https://www.linuxquestions.org/questions/programming-9/using-avi-files-with-opencv-149519/)

dmaman 02-23-2004 08:53 AM

using avi files with OpenCV
 
I try to work on an AVI file with OpenCV on Mandrake 9.1.

I typed in a few lines of code with :
capture = cvCaptureFromAVI ("toto.avi");
cout << cvGetErrStatus() << endl;

At runtime, I get :
capture == 0 and
cvGetErrStatus returns 0 also!

Does someone know what to do or where to get help?
Thanks.

asterix86 03-22-2004 12:21 PM

I have the same problem with Debian, opencv-0.9.5 and ffmpeg 0.4.8

and the same code works under windows.
Is there some compilation options to use avi ?

thanks for help
Asterix

neojohn75 03-25-2004 08:03 AM

I'm having the same problem with Fedora and ffmpeg.0.4.8 Any idea how to fix it?


All times are GMT -5. The time now is 01:32 PM.