[FFmpeg-user] ffplay and j2k

Donald McLachlan Donald.McLachlan at crc.ca
Wed Feb 8 16:56:07 CET 2012


On 08/02/2012 10:01 AM, Donald McLachlan wrote:
>
>
> On 07/02/2012 4:27 PM, Carl Eugen Hoyos wrote:
>> Donald McLachlan<Donald.McLachlan<at>  crc.ca>  writes:
>>
>>> [j2k @ 0x140e3c0] only LRCP progression supported
>> This means you need libopenjpeg for this image,
>> the native decoder only has limited features.
>>
>> (Install libopenjpeg, then configure with --enable-libopenjpeg)
>
> Hi Carl,
>
> Thanks.  I have downloaded, built and installed the latest libopenjpeg 
> tarball (using the cmake commands).
> I rebuilt ffmpeg with make clean, ./configure --enable-libopenjpeg, 
> make, and make install.
> And I got the exact same results.
>
> How can I verify that libopenjpeg is actually being used?
>
> ldd ffplay does not list libopenjpeg.
> grepping the  ffmpeg Makefiles reveals:
>
>    ./libavcodec/Makefile: OBJ-$(CONFIG_LIBOPENJPEG_DECODER) += 
> libopenjpegdec.o
>    ./libavcodec/Makefile: OBJ-$(CONFIG_LIBOPENJPEG_ENCODER) += 
> libopenjpegenc.o
>
> grepping the output of nm -g ffplay_g for jpeg shows lots of symbols 
> starting with ff_
>
> Is there a symbol I can look for to verify that libopenjpegenc.o and 
> libopenjpegdec.o have actually been included and are being called?
>
> Any other things I can try?

See output below.

>
> Thanks,
> Don

>  ffplay -fs -autoexit -strict -2 ~/img_000000.j2k
ffplay version 0.10 Copyright (c) 2003-2012 the FFmpeg developers
   built on Feb  8 2012 09:26:02 with gcc 4.5.1 20101208 [gcc-4_5-branch revision 167585]
   configuration:
   libavutil      51. 34.101 / 51. 34.101
   libavcodec     53. 60.100 / 53. 60.100
   libavformat    53. 31.100 / 53. 31.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 60.100 /  2. 60.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  6.100 /  0.  6.100
[j2k @ 0x140e3c0] only LRCP progression supported
[j2k @ 0x140e3c0] error during processing marker segment ff52
Input #0, image2, from '/home/crc/img_000000.j2k':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: j2k, rgb24, 4096x2160, 25 tbr, 25 tbn, 25 tbc
[buffersink @ 0x1414580] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x1414ce0] w:4096 h:2160 fmt:rgb24 ->  w:4096 h:2160 fmt:yuv420p flags:0x4
[j2k @ 0x140e3c0] only LRCP progression supported 687KB sq=    0B f=0/0
[j2k @ 0x140e3c0] error during processing marker segment ff52
1328716231.21 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0




More information about the ffmpeg-user mailing list