[FFmpeg-trac] #10300(avcodec:open): JPEG2000 encoder produce corrupted output

FFmpeg trac at avcodec.org
Sun Apr 2 18:01:32 EEST 2023

#10300: JPEG2000 encoder produce corrupted output
             Reporter:  inganault   |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  j2k         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
Changes (by Balling):

 * status:  new => open


 So what you are saying is 341064d68a134e2fb3dd35f8f5b50c6df8506c10 is the
 regression commit cause previous commit is not affected. Lets check
 openjpeg decoder with your output (it is bitperfect with mine, except for
 one byte in ffmpeg version).

 ffmpeg.exe -c:v libopenjpeg -i defchwae.jp2 cxanvcadcv.png

 Produces same corrupt output, in fact so does opj_decompress.exe -i
 corrupt_j2k.jp2 -o fasfafas2121.png

 So the big is in encoder.
Ticket URL: <https://trac.ffmpeg.org/ticket/10300#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list