[FFmpeg-trac] #9769(avcodec:open): JPEG 2000 decoder: decoder should ignore any data that appears after End of Codestream marker 0xFFD9
FFmpeg
trac at avcodec.org
Tue May 10 13:59:01 EEST 2022
#9769: JPEG 2000 decoder: decoder should ignore any data that appears after End of
Codestream marker 0xFFD9
-------------------------------------+-------------------------------------
Reporter: Pierre- | Owner: (none)
Anthony Lemieux |
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: j2k | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Balling):
The warnings are because of garbage in the end! Indeed see ffprobe.exe
-show_frames -v debug j2k1.j2c it warns on second frame or what it thinks
is a second frame.
As to whether it should read past the 0xFFD9, after all cannot it have
multiple images in one j2c?
I will also point out that two encoded with two Kakadu versions are the
same, except for some stuff after 0xFFD9 where should be nothing anyway.
I also showed that the our jpeg2000 decoder is better, BTW.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9769#comment:15>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list