tag:blogger.com,1999:blog-6490535609881772525.post3466351179051009378..comments2023-06-09T05:40:52.847-07:00Comments on Vinay's Hacks: Installing OpenCV 2.3.1 with FFmpeg on 64-bit UbuntuVinayhttp://www.blogger.com/profile/00370751475489437945noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-6490535609881772525.post-12791365715884928832015-04-08T03:03:57.595-07:002015-04-08T03:03:57.595-07:00Hello Vinay
I hope that you help me. I try instal...Hello Vinay<br /><br />I hope that you help me. I try install OpenCV. However, when I install OpenCV I had this error:<br />make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o] Error 1<br />make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2<br />make: *** [all] Error 2<br />Before I see your tutorial I tried with another intalling_OpenCV and I had the same error.<br /><br />I don't know why?? I have ubuntu 14.10, Can it be the problem??Anonymoushttps://www.blogger.com/profile/10928918766952727110noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-77113150423106070012013-07-02T01:09:35.530-07:002013-07-02T01:09:35.530-07:00Haan..Finally stumbled upon it. FFMpeg is a Bitch!...Haan..Finally stumbled upon it. FFMpeg is a Bitch!<br /><br />-JigarAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-79838675853595365332013-01-02T06:00:26.934-08:002013-01-02T06:00:26.934-08:00if you are using CUDA and nvidia current you need ...if you are using CUDA and nvidia current you need to create a link : su -c 'ln -s /usr/lib/nvidia-current/libnvcuvid.so /usr/lib/libnvcuvid.so && ln -s /usr/lib/nvidia-current/libnvcuvid.so.1 /usr/lib/libnvcuvid.so.1'<br /><br />RegardsAnonymoushttps://www.blogger.com/profile/01724907792002361215noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-44159692878570847232012-11-28T09:12:40.727-08:002012-11-28T09:12:40.727-08:00I used this video.
http://www.youtube.com/watch?v=...I used this video.<br />http://www.youtube.com/watch?v=kZvjTTK9zTwAnonymoushttps://www.blogger.com/profile/03383270203436639129noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-82937627535993102772012-05-31T23:22:06.359-07:002012-05-31T23:22:06.359-07:00Thanks so much for such an informative and well ma...Thanks so much for such an informative and well maintained site Vinay, you bring honor to the craft.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-2390232279730835052012-05-31T23:20:08.178-07:002012-05-31T23:20:08.178-07:00I just installed it on 12.04 64bit with the provid...I just installed it on 12.04 64bit with the provided instructions,<br /><br />just before building and deploying OpenCV after the instruction above circa june1st2012, I also installed the openCL cuda libs and sdk from <br />http://developer.nvidia.com/cuda-downloads<br />currently 4.2,<br />and followed the instructions here: http://berenger.eu/blog/2011/11/25/gpu-install-cuda-opencl-on-ubuntu/<br />and installed tbb with <br />sudo apt-get install libtbb-dev<br />I used ccmake to set the cuda and tbb options on. I just tested facedetect and it works in real time (the moment a face in in view) I'm stoked.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-50669882189809831682012-05-11T06:55:59.951-07:002012-05-11T06:55:59.951-07:00About the FFmpeg support : following the instructi...About the FFmpeg support : following the instructions "git clone --depth 1 git://git.videolan.org/ffmpeg" generate an error when i build openCV. (about KGD post : the last version when i tried was the 0.10.3, so i guess 0.10 won't work either)<br />An anonymous said "FFmpeg has to be version of 7.11 or earlier because OpenCV hasn't managed to keep up with the update of FFMPEG"<br />So i randomly tried with 0.6.5, then the build is ok but not the bin/opencv_test_xxx which failed on many different points, and so in my owns programs the VideoCapture failed at the opening.<br />Do you know a version of FFmpeg that work (for ubuntu 12.04 64b) ?<br />Thanks in advance.Jérômenoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-34809522985918112232012-04-12T09:15:32.615-07:002012-04-12T09:15:32.615-07:00As mentioned in one of the replies, the instructio...As mentioned in one of the replies, the instructions download the latest version of FFmpeg which is not supported in OpenCV 2.3.1.<br /><br />SOLUTION: Download FFmpeg 0.10 (from http://ffmpeg.org/releases/), untar it and continue from line 2 of the ffmpeg section (ignore the git-related line).<br /><br />I'd add one more line to this instruction set as a sanity check. Run the OpenCV test suite: ./opencv_test_core (located in OpenCV-2.3.1/Build/bin)KGDnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-8674563897250477332012-03-16T09:39:41.468-07:002012-03-16T09:39:41.468-07:00Hi Vinay...........Thanks for this nice and useful...Hi Vinay...........Thanks for this nice and useful post.<br />I am getting error at 14% after using make command.<br />I dont know what is the problem.....<br /><br />pls help ...<br /><br />thanks<br /><br />AvinashAvinashhttps://www.blogger.com/profile/03463627641238493664noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-78876171704516171382012-03-02T14:46:47.101-08:002012-03-02T14:46:47.101-08:00Thanks for the info. I did not know about this.Thanks for the info. I did not know about this.Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-83187056501880487592012-03-02T14:45:31.662-08:002012-03-02T14:45:31.662-08:00Thanks :)Thanks :)Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-26703008210596410452012-03-02T14:45:21.366-08:002012-03-02T14:45:21.366-08:00Thanks!Thanks!Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-92221980464520232872012-03-02T14:44:59.857-08:002012-03-02T14:44:59.857-08:00Sorry, I have no experience with Windows based ins...Sorry, I have no experience with Windows based installations.Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-23270423162904704432012-03-02T14:44:38.233-08:002012-03-02T14:44:38.233-08:00Sorry, I have no experience with OpenCV + Java. I ...Sorry, I have no experience with OpenCV + Java. I have always only worked on OpenCV with C++.Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-91288779818323168622012-03-02T14:43:52.429-08:002012-03-02T14:43:52.429-08:00That's true. I edited the post to mention this...That's true. I edited the post to mention this. Thanks for the comment.Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-47159941872417920962012-03-02T14:43:15.019-08:002012-03-02T14:43:15.019-08:00No. Some steps are different. There are several ot...No. Some steps are different. There are several other excellent tutorials out there for a 32-bit build.Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-61028825644584423032012-03-02T14:39:16.769-08:002012-03-02T14:39:16.769-08:00Thanks, I edited the post to reflect this.Thanks, I edited the post to reflect this.Vinayhttps://www.blogger.com/profile/00370751475489437945noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-80178123909415983882012-03-02T14:28:57.093-08:002012-03-02T14:28:57.093-08:00In case you want to make a package out of your Ope...In case you want to make a package out of your OpenCV compilation (and maybe hand it to other ppl), replace sudo make install with this:<br />sudo checkinstall --pkgname=opencv-svn --pkgversion="2:$(date +%Y%m%d%H%M)-opencv" --default --backup=noAhmad H.https://www.blogger.com/profile/08436667132652148512noreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-79685557154473430752012-02-24T12:14:41.481-08:002012-02-24T12:14:41.481-08:00+ BUILD_NEW_PYTHON_SUPPORT instead of BUILD_PYTHON...+ BUILD_NEW_PYTHON_SUPPORT instead of BUILD_PYTHON_SUPPORT<br />+ opencv 2.3.1 requires ffmpeg 0.8.x if you do it according to your guide you download 1.0Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-75309728753636383152012-02-22T14:51:14.137-08:002012-02-22T14:51:14.137-08:00Mr. Vinay, will the steps be the same for 32bit li...Mr. Vinay, will the steps be the same for 32bit linux?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-50703882786413981842012-02-22T14:33:11.714-08:002012-02-22T14:33:11.714-08:00More over, if one wants include tbb and enable oth...More over, if one wants include tbb and enable other options in cmake I think it's better to build by cmake from the cmake-gui rather than the terminal.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-17656674855918757062012-02-21T17:20:11.873-08:002012-02-21T17:20:11.873-08:00Ffmpeg has to be version of 7.11 or earlier becaus...Ffmpeg has to be version of 7.11 or earlier because OpenCV hasn't managed to keep up with the update of FFMPEG. If it's later than 7.11,then cap_ffmpeg_impl.cpp may give error while building at 33%.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-50065739737546353372012-02-16T09:56:09.227-08:002012-02-16T09:56:09.227-08:00An easy way...
https://launchpad.net/~gijzelaar/+...An easy way...<br /><br />https://launchpad.net/~gijzelaar/+archive/opencv2.3Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-38023123533797691412012-01-31T02:01:23.487-08:002012-01-31T02:01:23.487-08:00I have ubuntu 10.10….
I want ffmpeg with Opencv2.3...I have ubuntu 10.10….<br />I want ffmpeg with Opencv2.3.1 support….<br />I did the installation many times before….with building ffmpeg manually as you said….<br />Its working fine also its showing me ffmpeg support ON at the time of configuring OpenCv 2.3.1…<br />But when I use CV_FOURCC(‘F’,'L’,'V’,’1′) to create .flv file through cvCreateVideoWriter I am getting this error [flv @ 0x9bf5000] Tag FLV1/0x31564c46 incompatible with output codec id ’22′….<br />Is their any thing wrong I had done while installation….Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6490535609881772525.post-73067744322531614842012-01-04T02:13:23.100-08:002012-01-04T02:13:23.100-08:00Very useful post Vinay. Thanks.
-RaviVery useful post Vinay. Thanks.<br /><br />-RaviAnonymousnoreply@blogger.com