Saturday, January 7, 2012

Build FFMPEG for OpenCV2.3-Win32

Replacing FFMPEG (32-bit) for OpenCV 2.3 and above:

FFMPEG Build

Replace opencv_ffmpeg.dll 
  • Follow instructions at opencv/3rdparty/ffmpeg/readme.txt
  • uses 'strip -g' (important to strip only debug symbols) to reduce size of ffmpeg core libraries
  • copy the difference in header file also, if any.

5 comments:

  1. Is this working with FFMpeg 0.10 and Git "Trunk"? Some functions used by OpenCV seemed to have been removed lately (they were already deprecated I believe)?

    Which version did you use?

    ReplyDelete
  2. Ok. It builds with FFMpeg 0.10. It fails with the "master" Git. They have removed some functions (for example av_open_input_file) from the API.

    ReplyDelete
  3. My last successful build and integration was done on ffmpeg 0.8.9 release. What I did was I pulled in related ffmpeg, highgui changes from OpenCV 2.3.1. OpenCV 2.3.1 release has support for ffmpeg 0.8.x, according to their changelog. After that I just follow the steps above to build ffmpeg 0.8.9 and integrate to OpenCV.

    ReplyDelete
  4. Holly cow... you linked my site... now I real need to keep the URLs permanent...

    ReplyDelete
    Replies
    1. Or let me know whenever you decide to change the url. Thanks again!

      Delete