Ask Your Question
2

Using custom opencv_ffmpeg*.dll version on Windows

asked 2016-05-16 06:54:38 -0600

onsager gravatar image

From opencv/3rdparty/ffmpeg/readme.txt:

On Windows OpenCV uses pre-built ffmpeg binaries, built with proper flags (without GPL components) and wrapped with simple, stable OpenCV-compatible API. The binaries are opencv_ffmpeg.dll (version for 32-bit Windows) and opencv_ffmpeg_64.dll (version for 64-bit Windows).

See build_win32.txt for the build instructions, if you want to rebuild opencv_ffmpeg*.dll from scratch.

There is no build_win32.txt. The old version removed from repository (why?) gives some hints, but the current process clearly supports only the usage of the downloaded precompiled variants. At least as far as I can tell from the cmake infrastructure, even though videoio/src/cap_ffmpeg* still contains wrapper sources. Could someone clarify the necessary steps for MSVC-based Windows builds, in order to utilize custom-build versions of the ffmpeg libraries?

I'm building ffmpeg from sources here. Nowadays, this is much easier, even with a MSVC toolchain. In my opinion everyone should be encouraged to build a system with the components, fitting his needs best. Licensing issues are certainly not neglectable at times, but it should in my opinion not lead to obfuscated or quirky technical solutions.

edit retag flag offensive close merge delete

Comments

may be it could help you

LBerger gravatar imageLBerger ( 2016-05-16 11:25:28 -0600 )edit

may be it could help you

That's what I was referring to. But seemingly, it didn't made it into the OpenCV 3 branch. That the information becomes outdated more and more (wrapper moved into modules/videio, gcc usage only, etc.) is one thing. But it seems, it has been deliberatly removed.

onsager gravatar imageonsager ( 2016-05-18 02:01:14 -0600 )edit

Hi, did you ever figure out an answer to this question?

ryantheseer gravatar imageryantheseer ( 2017-02-06 09:49:33 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-14 13:08:59 -0600

ryantheseer gravatar image

I built a custom opencv_ffmpeg*.dll from a 3.2.0-dev version of the code (23 Dec 2016 8:20, commit 7dd3723), with some instructions, here.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-05-16 06:54:38 -0600

Seen: 6,040 times

Last updated: Feb 14 '17