Opencv compilation with different avcodec lib

asked 2015-11-10 08:43:04 -0500

boil gravatar image

I'm trying to compile Opencv on my tegra K1 board and don't want to use opencv4tegra. The Ubuntu that is on my tegra has 2 libavcodec libraries installed: /usr/lib/arm-linux-gnueabihf/libavcodec.so.54 /usr/lib/arm-linux-gnueabihf/neon/vfp/libavcodec.so.54

Each time I compile Opencv, it links against the library in the neon folder which I guess contains some optimizations. I would like to link against the other non optimized library. How can I do that?

The reason for all this mess is that I have to decode a mjpeg movie on my intel desktop and on the tegra k1. The problem is that the decoded frames differ between intel and tegra and wanted to test if the avcodec library is doing this.

Thanks

edit retag flag offensive close merge delete