[FFmpeg-trac] #10778(undetermined:new): HT J2K decoding errors
FFmpeg
trac at avcodec.org
Fri Jan 5 04:44:45 EET 2024
#10778: HT J2K decoding errors
-------------------------------------+-------------------------------------
Reporter: Michael | Type: defect
Orton |
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: decoding Kakadu encoded HT J2K MXF files gives
'unsupported marker' errors, and generates picture errors for (at least)
lossless encoded HT.
How to reproduce: Encode Letterboxed UHD content to Format: MXF OP1A,
Codec: Kakadu JPEG 2000, Type: RGB 12-bit, Lossless compression,
Codestream: HT using Davinci Resolve v18.6.4.
Decode to TIF file using -vf "select=eq(n\,6)" -vframes 1 -pix_fmt rgb24
flags. Errors show up in bottom letterbox black area
Trial decoding back through Resolve gives clean result.
filename edited for clarity
{{{
% ffmpeg -i HTJ2K_RGB12_LL.mxf -vf "select=eq(n\,6)" -vframes 1 -pix_fmt
rgb24 HTJ2K_RGB12_LL.tif
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 15.0.0 (clang-1500.1.0.2.5)
[jpeg2000 @ 0x132f06370] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f06370] unsupported marker 0xFF59 at pos 0x3D
Input #0, mxf, from 'HTJ2K_RGB12_LL.mxf':
Metadata:
operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
project_name : ToS_4950_to_5261
uid : 7b0b174b-1b1b-4c01-a5dc-56a1609e2f13
generation_uid : 2a643c65-9c39-4f69-9b6e-861ba3bd8ce0
company_name : Blackmagic Design
product_name : DaVinci Resolve
product_version : 18.6.4
product_uid : 057cd849-178a-4b88-b4c7-825af8761b34
modification_date: 2024-01-03T21:30:45.760000Z
application_platform: DaVinci Resolve
material_package_umid:
0x060A2B340101010501010D43130000006595D2050A07AE86060E2B347F7F2A80
material_package_name: HTJ2K_RGB12_LL
timecode : 01:00:00:00
Duration: 00:00:07.88, start: 0.000000, bitrate: 2568507 kb/s
Stream #0:0: Video: jpeg2000, rgb48le(12 bpc, bt2020nc/bt2020/smpte2084,
progressive), 3840x2160, lossless, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 24
tbn
Metadata:
file_package_umid:
0x060A2B340101010501010D43130000006595D2050A08AE86060E2B347F7F2A80
file_package_name: HTJ2K_RGB12_LL
track_name : HTJ2K_RGB12_LL_v1
Side data:
Mastering Display Metadata, has_primaries:1 has_luminance:1
r(0.7080,0.2920) g(0.1700,0.7970) b(0.1310 0.0460) wp(0.3127, 0.3290)
min_luminance=0.000100, max_luminance=4000.000000
Stream mapping:
Stream #0:0 -> #0:0 (jpeg2000 (native) -> tiff (native))
Press [q] to stop, [?] for help
[jpeg2000 @ 0x132f08bb0] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f08bb0] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f09140] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f09140] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f096d0] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f096d0] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f09c60] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f09c60] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f0a1f0] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f0a1f0] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f0a780] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f0a780] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f0ad10] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f0ad10] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f0b2a0] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f0b2a0] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f0b830] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f0b830] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f08bb0] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f08bb0] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f09140] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f09140] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f096d0] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f096d0] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f09c60] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f09c60] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f0a1f0] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f0a1f0] unsupported marker 0xFF59 at pos 0x3D
[jpeg2000 @ 0x132f0a780] unsupported marker 0xFF50 at pos 0x33
[jpeg2000 @ 0x132f0a780] unsupported marker 0xFF59 at pos 0x3D
Output #0, image2, to 'HTJ2K_RGB12_LL.tif':
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10778>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list