I am trying to compile OpenCV with ffmpeg support for ARM platform on x86 host.
I downloaded and compiled ffmpeg for the arm platform (both static - FFMPEG_ARM_LIB, and dynamic libraries - FFMPEG_ARM_LIB_SO)
When I run cmake in opencv, it gives the following -
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: NO
-- FFMPEG: **NO**
-- codec: NO
-- format: NO
-- util: NO
-- swscale: NO
-- gentoo-style: YES
-- GStreamer: NO
-- OpenNI: NO
-- OpenNI PrimeSensor Modules: NO
-- PvAPI: NO
-- GigEVisionSDK: NO
-- UniCap: NO
-- UniCap ucil: NO
-- V4L/V4L2: NO/YES
-- XIMEA: NO
-- Xine: NO
I changed the following flags to point to the lib path of both the static and dynamic ffmpeg libraries -
- LD_LIBRARY_PATH
- C_INCLUDE_PATH
- CPLUS_INCLUDE_PATH
- PKG_CONFIG_PATH
- PKG_CONFIG_LIBDIR
- PATH
- CMAKE_LIBRARY_PATH
- CMAKE_INCLUDE_PATH
However, opencv still cannot recognize the ffmpeg libraries.
My FFMPEG compilation team was
./configure
?
1. ffmpeg ?
2. - CMake, ffmpeg lib ARM ?