[FFmpeg-user] libopenjpeg

Michael Bradshaw mbradshaw at sorensonmedia.com
Tue Jun 5 20:36:11 CEST 2012


On Tue, Jun 5, 2012 at 3:58 AM, Marion PICCINELLI
<marion.piccinelli at gmail.com> wrote:
> Hello,
>
> I would like to use openjpeg with ffmpeg. I am trying to configure it but I
> have this: "ERROR: libopenjpeg not found".
> Please find attached config.log.

Are you sure you've set your PATH variable correctly? MinGW/MSYS uses
the ':' character to separate paths in the PATH variable, which means
that if you have "C:/Program Files (x86)/OpenJPEG/bin" (like you do)
it probably won't work. The C: drive is mounted under /c your MSYS
environment. Your last few paths in your PATH variable should be set
to use /c/ instead of C:, and should use ':' to separate paths instead
of the space. Something like:

/c/Perl/site/bin:/c/Perl/bin:/c/Perl64/site/bin:/c/Perl64/bin:/c/msys/1.0/mingw/local/bin:/c/msys/1.0/local/lib/pkgconfig:/c/Program
Files (x86)/OpenJPEG/bin:/c/Program Files
(x86)/OpenJPEG/include:/c/msys/1.0/local/lib:/c/msys/1.0/mingw/mingw32/bin:/c/Program
Files (x86)/Git/cmd

If you were to "echo $PATH" you would see that the ending is not like
it should be above. You have it using "C:" paths and you are sometimes
separating your paths with spaces. Fix that and then try.

Also note that OpenJPEG/bin probably has executables in it, *not*
libraries. You probably need to use OpenJPEG/lib instead for the libs.

--Michael


More information about the ffmpeg-user mailing list