[FFmpeg-trac] #2683(avcodec:open): Jpeg2000 decoder broken

FFmpeg trac at avcodec.org
Thu Jun 20 01:13:39 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]:
 > As explained, if you use -vcodec libopenjpeg the video scaler is
 inserted to convert from yuv422p10 to rgb48. See the console output for
 the correct colourspace (and the console output with -loglevel verbose to
 see the scaler inserted).

 I think I see. If I'm looking at this right, ffmpeg initially thinks the
 input is rgb48le, sets up the output to match, then upon initiating
 decode, libopenjpeg realizes the input is really yuv422p10le, but then
 ffmpeg inserts the scaler to get back to rgb48le.

 If I specify that I want -pix_fmt yuv422p10le on the output, it appears
 that the scaler is still invoked, but just converts from yuv422p10le to
 yuv422p10le, not really doing anything. So is a better workaround to both
 specify -c:v libopenjpeg on the input side and to specify the correct
 -pix_fmt on the output side?

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2683#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list