I cannot configure OpenCV to reference a set of non-usr / lib libraries FFMPEG.
My LD_LIBRARY_PATH contains a direct link to the folder for the custom installation of FFMPEG:
LD_LIBRARY_PATH=/pathto/ffmpeg-0.10.2/lib
In addition, I configured pkgconfig as:
PKG_CONFIG_PATH=/samepathto/ffmpeg-0.10.2/lib/pkgconfig/
In CMake, however, I cannot find any settings for the path to FFMPEG - either mainly or in normal mode. The only setting related to FFMPEG is the type setting WITH_FFMPEG(set to ON).
I can create OpenCV, but it seems to refer to the system libraries for libavcodec - this causes a conflict, since the system libraries are version .52, and the version in my installation is FFMPEG-.53. Because of this, the connection of the application with the machine without the same system libraries is NOT associated with my custom OpenCV installation (in particular, libavcodec) (I install these libraries in a shared network folder).
I am not sure if my problem is building and linking to the wrong version of FFMPEG or if it is something to my environment after the build (and then link to the wrong ffmpeg).
I am working on Linux, Redhat 6, OpenCV 2.3.1.
source
share