[FFmpeg-trac] #2683(avcodec:open): Jpeg2000 decoder broken
FFmpeg
trac at avcodec.org
Tue Jun 18 04:40:45 CEST 2013
#2683: Jpeg2000 decoder broken
-------------------------------------+-------------------------------------
Reporter: Aegwyn11 | Owner:
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: j2k | Blocked By:
regression | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Aegwyn11):
Replying to [comment:1 cehoyos]:
> Workarounds are to configure with {{{--disable-decoder=jpeg2000}}} or to
specify libopenjpeg as decoder with {{{-vcodec libopenjpeg}}} (in this
case, the scaler will always be inserted).
Trying the -c:v libopenjpeg workaround, it does work, but the input still
shows as rgb48le and the output is rgb48le.
I don't understand...I thought the content was stored as yuv422p10le (this
is what FFmpeg reported when I encoded it). If FFmpeg was incorrectly
identifying the encoded file as rgb48le, how is it that I get a valid
rgb48le output file?
I'm wondering...in the older "working" FFmpeg from March, does libopenjpeg
internally convert YUV to RGB48 for encoding, and conversly decode to
RGB48 and internally convert it backto YUV? If so, it is probably more
correct for FFmpeg to only allow RGB input/output to libopenjpeg...letting
libopenjpeg internally do the conversions isn't optimal and is misleading.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2683#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list