Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-23-2004, 08:53 AM   #1
LQ Newbie
Registered: Feb 2004
Location: paris, france
Distribution: mandrake 9.1
Posts: 3

Rep: Reputation: 0
Question 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?
Old 03-22-2004, 12:21 PM   #2
LQ Newbie
Registered: Mar 2004
Location: France
Distribution: Debian
Posts: 1

Rep: Reputation: 0
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
Old 03-25-2004, 08:03 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 1

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
change uploaded files from filename.avi to filename.avi.html like latheesan Linux - Newbie 3 06-16-2005 04:33 AM
Converting AVI files Baryonic Being Linux - Software 8 06-05-2005 06:26 AM
Avi files in Suse 9.2 paul.hugill Linux - Software 6 05-11-2005 02:50 PM
avi files... audibel Linux - Software 1 04-03-2005 11:56 PM
Checking avi files? Mikessu Linux - Software 1 11-07-2004 01:52 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration