[FFmpeg-trac] #4615(avcodec:new): jpeg 2000: Incorrect decoding

FFmpeg trac at avcodec.org
Fri Jun 12 07:47:27 CEST 2015


#4615: jpeg 2000: Incorrect decoding
--------------------------------------+---------------------------------
               Reporter:  cehoyos     |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avcodec
                Version:  git-master  |               Keywords:  j2k
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+---------------------------------
 I will attach a 3x5 pixel gray jpeg 2000 sample that decodes to an all-
 gray image ("0x80") with FFmpeg and the reference output that is supposed
 to contain no pixels with value 0x80..
 {{{
 $ ffmpeg -i p0_12.j2k -f rawvideo -|hexdump -C
 ffmpeg version N-72851-ge7adb02 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libtheora --enable-libvorbis
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 36.100 / 56. 36.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 16.101 /  5. 16.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 [jpeg2000 @ 0x360d180] extra cblk styles 4
 Input #0, j2k_pipe, from 'p0_12.j2k':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 1),
 gray, 3x5, 25 tbr, 25 tbn, 25 tbc
 Output #0, rawvideo, to 'pipe:':
   Metadata:
     encoder         : Lavf56.36.100
     Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 3x5, q=2-31,
 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.41.100 rawvideo
 Stream mapping:
   Stream #0:0 -> #0:0 (jpeg2000 (native) -> rawvideo (native))
 Press [q] to stop, [?] for help
 [jpeg2000 @ 0x3613040] extra cblk styles 4
 frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=
 3.0kbits/s
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.000000%
 00000000  80 80 80 80 80 80 80 80  80 80 80 80 80 80 80
 |...............|
 0000000f
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4615>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list