Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cross compile OpenCV with FFMPEG for ARM Linux

Hi all! I want to cross compile OpenCV with FFMPG for ARM Linux, but I don't know how to configure Cmake. I have previously downloaded ffmpeg codec from www.ffmpeg.org, and I have built it for ARM. I don't know how to configure Cmake to "see" the built ffmpeg libraries (libavcodec.a, libavformat.a, libavutil.a, libswscale.a).

Can anyone help me??

Thanks in advance!

checking for module 'libavcodec' package 'libavcodec' not found checking for module 'libavformat' package 'libavformat' not found checking for module 'libavutil' package 'libavutil' not found checking for module 'libswscale' package 'libswscale' not found Looking for libavformat/avformat.h Looking for libavformat/avformat.h - not found Looking for ffmpeg/avformat.h Looking for ffmpeg/avformat.h - not found

cross compile OpenCV with FFMPEG for ARM Linux

Hi all! I want to cross compile OpenCV with FFMPG for ARM Linux, but I don't know how to configure Cmake. I have previously downloaded ffmpeg codec from www.ffmpeg.org, and I have built it for ARM. I don't know how to configure Cmake to "see" the built ffmpeg libraries (libavcodec.a, libavformat.a, libavutil.a, libswscale.a).

Can anyone help me??

Thanks in advance!

checking for module 'libavcodec'
package 'libavcodec' not found
checking for module 'libavformat'
 package 'libavformat' not found
checking for module 'libavutil'
 package 'libavutil' not found
checking for module 'libswscale'
 package 'libswscale' not found
Looking for libavformat/avformat.h
Looking for libavformat/avformat.h - not found
Looking for ffmpeg/avformat.h
Looking for ffmpeg/avformat.h - not found

found