[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:

Files (x86)/OpenJPEG/bin:/c/Program Files
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.


More information about the ffmpeg-user mailing list