[FFmpeg-trac] #2683(avcodec:open): Jpeg2000 decoder broken

FFmpeg trac at avcodec.org
Tue Jun 18 10:36:30 CEST 2013


#2683: Jpeg2000 decoder broken
-------------------------------------+-------------------------------------
             Reporter:  Aegwyn11     |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  j2k          |               Blocked By:
  regression, jpeg2000, motion       |  Reproduced by developer:  1
  jpeg2000                           |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Buxiness):

 * cc: nicoinattendu@… (added)
 * keywords:  j2k regression => j2k regression, jpeg2000, motion jpeg2000


Comment:

 The sample looks like a 3D video in motion jpeg2000 is that correct? or
 maybe interlaced video?


 And native jpeg2000 decoder shall be corrected as it does not decode
 correctly the images and returns :
 {{{
 ./ffplay -vcodec jpeg2000 "/home/nicolas/Téléchargements/J2K Decoding
 Regression.mkv"
 ffplay version N-53811-gc8faa47 Copyright (c) 2003-2013 the FFmpeg
 developers
   built on Jun 17 2013 18:16:53 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5)
   configuration: --prefix=/home/nicolas/dev/local --enable-pic --enable-
 libopenjpeg
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 15.100 / 55. 15.100
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 74.101 /  3. 74.101
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
 [jpeg2000 @ 0x7f6630003020] unsupported/ CDxy values 2 1 for component 1
 [jpeg2000 @ 0x7f6630003020] unsupported/ CDxy values 2 1 for component 2
 Input #0, matroska,webm, from '/home/nicolas/Téléchargements/J2K Decoding
 Regression.mkv':
   Metadata:
     ENCODER         : Lavf55.8.103
   Duration: 00:00:00.10, start: 0.000000, bitrate: 155549 kb/s
     Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0)
 (mjp2 / 0x32706A6D), rgb48le, 1920x1080, SAR 1:1 DAR 16:9, 29.97 fps,
 29.97 tbr, 1k tbn, 1k tbc (default)
 [jpeg2000 @ 0x7f6630009c20] unsupported/ CDxy values 2 1 for component 1
 [jpeg2000 @ 0x7f6630009c20] unsupported/ CDxy values 2 1 for component 2
 [jpeg2000 @ 0x7f663000a0a0] unsupported/ CDxy values 2 1 for component 1
 [jpeg2000 @ 0x7f663000a0a0] unsupported/ CDxy values 2 1 for component 2
 [jpeg2000 @ 0x7f663000b000] unsupported/ CDxy values 2 1 for component 1
 [jpeg2000 @ 0x7f663000b000] unsupported/ CDxy values 2 1 for component 2
   10.56 M-V:  0.074 fd=   1 aq=    0KB vq=    0KB sq=    0B f=0/0
 }}}

 The issue can maybe also related to motion jpeg2000 container.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2683#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list