[FFmpeg-user] Building FFmpeg with OpenJPEG 2.0

Moritz Barsnick barsnick at gmx.net
Tue Mar 22 21:25:19 CET 2016


On Tue, Mar 22, 2016 at 16:23:04 -0400, Aaron Boxer wrote:
> I think the OpenJPEG library name has changed between 1.5 and 2.x

ffmpeg's configure should handle this:

enabled libopenjpeg       && { check_lib openjpeg-2.1/openjpeg.h opj_version -lopenjp2 -DOPJ_STATIC ||
                               check_lib openjpeg-2.0/openjpeg.h opj_version -lopenjp2 -DOPJ_STATIC ||
                               check_lib openjpeg-1.5/openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC ||
                               check_lib openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC ||
                               die "ERROR: libopenjpeg not found"; }


If not, please help us investigate.

Moritz


More information about the ffmpeg-user mailing list