[FFmpeg-trac] #9769(avcodec:open): JPEG 2000 decoder: SOC marker not present
FFmpeg
trac at avcodec.org
Mon May 9 22:28:30 EEST 2022
#9769: JPEG 2000 decoder: SOC marker not present
-------------------------------------+-------------------------------------
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 Pierre-Anthony Lemieux):
> How did you get j2k-samples/j2k1.j2c? What created it?
It is a test file I've had for a while. According to the headers it looks
like it was created by Kakadu 8.0.3. Using the latest demo executables, I
get j2k1.8_0_5.j2c, which decodes to the same pixels as j2k1.j2c, but is
smaller.
Looking at the differences, it looks like, for whatever reason, j2k1.j2c
contains bad bytes beyond the first FFD9 (end of codestream marker).
So I suggest changing the title of the issue to "J2C decoder should ignore
any data that appears after End of Codestream marker 0xFFD9".
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9769#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list