[FFmpeg-trac] #10905(avcodec:new): HTJ2K lossless decoding errors
FFmpeg
trac at avcodec.org
Fri Mar 15 02:15:54 EET 2024
#10905: HTJ2K lossless decoding errors
-------------------------------------+-------------------------------------
Reporter: Pierre- | Type: defect
Anthony Lemieux |
Status: new | Priority: critical
Component: avcodec | Version: git-
Keywords: j2k | master
jpeg2000 htj2k | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Native J2K decoder is not lossless when decoding lossless J2K files that
use the Part 15 block coder (HTJ2K).
How to reproduce:
{{{
ojph_compress -i build/in.tiff -o build/out.j2c -reversible true
ffmpeg -i build/out.j2c build/out.tiff
ffmpeg -i build/in.tiff -i build/out.tiff -filter_complex "psnr" -f null -
}}}
PSNR is not infinite, in contrast to:
{{{
ojph_expand -i build/out.j2c -o build/out.ojph.tiff
ffmpeg -i build/in.tiff -i build/out.ojph.tiff -filter_complex "psnr" -f
null -
}}}
OpenJPH is available at https://github.com/aous72/OpenJPH.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10905>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list