OpenCV cvCaptureFromAVI error in Ubuntu 9.04
Recently I have installed Ubuntu Jaunty (v 9.04). I have developed some projects using OpenCV api and I have realized the cvCaptureFromAVI function wasn’t working as expected. At first I thought it had some relation with the video codec, but after converting (in Windows) the video used to an uncompressed video, this was discarded.
Then, I searched the web looking for some kind of information, and finally I found this link: http://ubuntuforums.org/showthread.php?p=7208937 in which the problem is detailed and one really easy sollution is shown.
That solution is posted here by Gijs Molenaa: http://gijs.pythonic.nl/blog/2009/may/3/getting-video-io-working-opencv-and-ubuntu-jaunty-/
He has solved the problem fixing the sources and compiling them. He has created the .deb files and allocated them in a server. The fix in my laptop has been a piece of cake.
- Modify my /etc/apt/sources.list to add deb http://ppa.launchpad.net/gijzelaar/opencv/ubuntu jaunty main
- Import the keyserver sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com cafc44ee7f39098ce6ec229cca70e6a9087475a0
- apt-get update
- Update the opencv packages
Once the opencv packages has been updated the function works fine.
Thanks a lot to Gijs Molenaa
3 Comments »
Leave a comment
-
Archives
- May 2009 (1)
- January 2009 (1)
- September 2008 (1)
- August 2008 (1)
- July 2008 (1)
- June 2008 (1)
- March 2008 (1)
- February 2008 (5)
-
Categories
-
RSS
Entries RSS
Comments RSS
No problem.
Btw it is Gijs MolenaaR
[...] video i/o working with opencv and Ubuntu Jaunty (9.04) OpenCV cvCaptureFromAVI error in Ubuntu 9.04 Installing OpenCV on [...]
Pingback by ¿Cómo instalar OpenCV en Ubuntu 9.04? « ácratas y libertarios varios | July 12, 2009 |
THANK YOU !!!
I was looking for the problem for 2 days. I suspected initially a CODEC problem as reported in OpenCV Wiki
Nicolas