[Libav-user] OpenCV and FFMPEG Interface for Zynq board

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Apr 15 19:39:41 CEST 2016


Neha Makhija <Neha.Makhija at ...> writes:

> Now when I am cross-compiling OpenCV, it gives me the 
> error that “ffmpeg/videio.h” missing.

FFmpeg does not install headers in a "ffmpeg" directory 
and there is no header called "videio.h" (or similar).

> Further debugging this problem I found that ffmpeg 
> changed the format to lib* name and OpenCV had put a 
> Flag check (HAVE_GENTOO_FORMAT or HAVE_FFMPEG_FORMAT) 
> for it.

I have never heard of this.

> After googling about it, I understood that the flag 
> is by default passed by FFMPEG code to the OpenCV.

Sounds very unlikely.

> Here I am unable to understand how it happens?

Me too;-)

> Commands I have tried for FFMPEG compilation
> $ ./configure --enable-shared --disable-static 
> --cross-prefix=arm-xilinx-linux-gnueabi- --arch=armv7l 
> --target-os=linux --prefix=<local path>

Looks sane if it succeeds.

[...]

> Can someone please suggest.

Ask the Opencv support, I don't think anybody here 
knows about Opencv compilation.

Carl Eugen


More information about the Libav-user mailing list