[FFmpeg-trac] #1179(avcodec:open): libopenjpeg: encoded as rgb48, decodes as yuv444p16le

FFmpeg trac at avcodec.org
Mon Apr 9 20:32:37 CEST 2012


#1179: libopenjpeg: encoded as rgb48, decodes as yuv444p16le
-------------------------------------+-----------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  libopenjpeg  |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by mbradshaw):

 This can be corrected in some cases, actually. Paul's patch from March
 (commit
 [http://git.videolan.org/?p=ffmpeg.git;a=commit;h=67d5fcc989a0ee3cc3b3a89e643ee7f099ca6229
 67d5fcc989a0ee3cc3b3a89e643ee7f099ca6229]) adds support for using the JP2
 format (and makes this default). If frames are saved in the JP2 format,
 the color space will be saved as well. If frames are saved in the J2K
 format, the color space will not be saved and must be guessed. OpenJPEG's
 opj_image structure has a color_space member identifying it as either
 unknown/unspecified (which it will be for J2K frames), RGB, gray, or YUV
 (it should be one of the last three for JP2 frames).

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


More information about the FFmpeg-trac mailing list