(English) Install OpenCV 2.4.2 with ffmpeg support in Mac OS X 10.8

申し訳ありません、このコンテンツはただ今 EspañolEnglish のみです。

Leave a comment ?

11 Comments.

  1. It helps a lot. Do you know how to utilize ffmpeg writing videos under XCode? I can’t make the VideoWriter work with the OpenCV 2.4.2. I hope you can help me out with this if you know the solution.

    返信
    • Sorry but I’ve never used ffmpeg to write videos. You should look at the oficial documentation for an example or something like that.

      返信
  2. FFMPEG on MAC patch outlined above is still required for Open CV 2.4.3 as well.

    返信
  3. GREAT STUFF!

    返信
  4. Thanks for the tutorial .. I have successfully installed and have a working simple opencv videocapture application. The capture happens from a file, but I have been unsuccessfully in deploying this application onto a different computer the one without opencv or ffmpeg. More info the question here: http://stackoverflow.com/questions/15299691/opencv-ffmpeg-video-capture-filename-avi-crashes-on-a-non-development-machi

    返信
    • If it works in your development computer but does not in another computer it should be a problem in the libraries. You should try installing the exact same versions of OpenCV, ffmpeg and Qt in the other computer. I don’t know anything about otool and the deployment proccess of apps with it. Probably it’s a problem in the paths.

      By the way, in your code you resize the image to 604×480 and I’m pretty sure you want to resize it to 640×480.

      返信
      • Hi enekochan,..Yes, if I install those libraries on the other system it works fine, its only when I try and package an application this happens. I have been going throught the app bundle for the last 8hours to make sure each of the dependency is correctly linked. Looks like a bug in the opencv ffmpeg, or the qt end.

        And yes it was suppose to 640 x 480…thanks for pointing it out.

        返信
  5. Hey thanks for the tutorial, I’ve been looking for something like this. I’m having a problem when i make faad.

    ld: warning: ignoring file ../common/mp4ff/libmp4ff.a, file was built for archive which is not the architecture being linked (i386): ../common/mp4ff/libmp4ff.a
    Undefined symbols for architecture i386:
    “_main”, referenced from:
    start in crt1.10.6.o
    ld: symbol(s) not found for architecture i386
    collect2: ld returned 1 exit status
    lipo: can’t open input file: /var/tmp//ccJylCwD.out (No such file or directory)
    make[2]: *** [faad] Error 1
    make[1]: *** [all-recursive] Error 1

    返信
  6. Thanks,

    Still usefull one year later :)

    返信
  7. Thanks!
    I can’t believe that the more “official” opencv web pages don’t mention any of this. One has to google to find such information.

    You are a life saver man!

    cheers

    返信

Leave a Comment

Trackbacks and Pingbacks: