[FFmpeg-trac] #10001(avformat:new): mxf muxer writes the wrong bit depth and uses the CDCI essence descriptor UL instead of the RGBA essence descriptor UL for Full Range RGB48 MJPEG2000

FFmpeg trac at avcodec.org
Wed Nov 2 15:34:55 EET 2022


#10001: mxf muxer writes the wrong bit depth and uses the CDCI essence descriptor
UL instead of the RGBA essence descriptor UL for Full Range RGB48 MJPEG2000
-------------------------------------+-------------------------------------
             Reporter:  Francesco    |                    Owner:  (none)
  Bucciantini                        |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mxf          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Jérôme Martinez):

 > Do you happen to know what the name of the JPEG2000 MXF wrapping spec
 is?

 SMPTE ST 422:2019
 https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=8984770
 (surprisingly it seems free of charge)

 Note that the attached file RGBA_example.mxf is from an official IMF
 evaluation package, and it has good descriptors (essence descriptor with
 link to jp2k specific descriptor), it also has the J2CLayout ("The nature
 and order of the image components in the compressed domain as carried in
 the J2C codestream.") with the RGBALayout (from ST 377) part set to RGB,
 having the CDCI descriptor replaced by the RGBA descriptor would be a fix
 of the main issue (catching that this is RGB and not YUV), but having the
 J2CLayout (or the whole JP2k descriptor) transferred from the input file
 to the output file would be even better (more compliant to specs, but to
 be honest RGBALayout is optional so not the biggest problem, RGB can be
 guessed with RGBA descriptor UL alone and the readout of 3 JP2k
 components).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10001#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list