[FFmpeg-user] FFmpeg + OpenJPEG: cinema options

Aaron Boxer boxerab at gmail.com
Mon Mar 28 02:33:10 CEST 2016


On Sun, Mar 27, 2016 at 8:29 PM, Aaron Boxer <boxerab at gmail.com> wrote:

>
>
> On Sun, Mar 27, 2016 at 8:19 PM, Moritz Barsnick <barsnick at gmx.net> wrote:
>
>> On Sun, Mar 27, 2016 at 20:13:46 -0400, Aaron Boxer wrote:
>> > Do you happen to know if FFmpeg will link to a shared library build of
>> > OpenJPEG ?
>>
>> Of course, that's the way it's designed.
>>
>> My Linux versions are all dynamically linked to openjpeg, but it's not
>> the openjpeg2 you're looking for.
>>
>
> Thanks. I tried linking dynamically to openjpeg2, but I got a long list of
> undefined reference errors.
>
> Do I have to do anything special in configure to link to dynamic version
> of openjpeg2 ?
>
> I tried removing -DOPJ_STATIC from configure, but link still failed.
>

Here is the output of make:

libavcodec/libavcodec.a(libopenjpegdec.o): In function
`libopenjpeg_decode_frame':
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:378: undefined reference
to `opj_create_decompress'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:396: undefined reference
to `opj_set_error_handler'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:397: undefined reference
to `opj_set_warning_handler'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:398: undefined reference
to `opj_set_info_handler'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:409: undefined reference
to `opj_setup_decoder'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:414: undefined reference
to `opj_stream_default_create'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:431: undefined reference
to `opj_stream_set_read_function'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:432: undefined reference
to `opj_stream_set_skip_function'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:433: undefined reference
to `opj_stream_set_seek_function'
/home/aaron/src/FFmpeg/libavcodec/libopenjpegdec.c:435: undefined reference
to `opj_stream_set_user_data'

Thanks,
Aaron




>
>
> Aaron
>
>
>


More information about the ffmpeg-user mailing list