[FFmpeg-trac] #11457(ffprobe:new): The order of parsed "Mastering display colour volume SEI message" seems wrong.
FFmpeg
trac at avcodec.org
Fri Feb 7 04:43:11 EET 2025
#11457: The order of parsed "Mastering display colour volume SEI message" seems
wrong.
------------------------------------+----------------------------------
Reporter: SYamaguchi | Type: defect
Status: new | Priority: normal
Component: ffprobe | Version: 6.0
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Summary of the bug:
The result of Mastering Display Colour Volume SEI message is not correct.
The order of RGB is swapped. (In the example below, the value of red_x,y
should be blue_x,y, green should be red, and blue should be green.)
Of course, I checked the binary of video file and confirmed that the data
is right.
I tested other video but it was okay, so I attach the video which the
error occured.
How to reproduce:
{{{
% ffprobe 250207_Wrong_Display_Metadata_HEVC.mp4 -show_entries
side_data=red_x,red_y,green_x,green_y
,blue_x,blue_y,white_point_x,white_point_y -report
ffprobe started on 2025-02-07 at 11:35:46
Report written to "ffprobe-20250207-113546.log"
Log level: 48
ffprobe version 6.0-essentials_build-www.gyan.dev Copyright (c) 2007-2023
the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-
w32threads --disable-autodetect --enable-fontconfig --enable-iconv
--enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma
--enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-
avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx
--enable-mediafoundation --enable-libass --enable-libfreetype --enable-
libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-
amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
--enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-
libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-
libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis
--enable-librubberband
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'250207_Wrong_Display_Metadata_HEVC.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf61.1.100
Duration: 00:00:27.65, start: 0.000000, bitrate: 5709 kb/s
Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668),
yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 1920x1080 [SAR 1:1 DAR 16:9],
5833 kb/s, 23.98 fps, 23.98 tbr, 1200k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
encoder : Lavf58.29.100
Stream #0:1[0x2]: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 2 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
[PACKET]
[SIDE_DATA]
[/SIDE_DATA]
[/PACKET]
[PACKET]
[/PACKET]
[FRAME]
[SIDE_DATA]
red_x=7049/50000
red_y=2445/50000
green_x=33905/50000
green_y=15945/50000
blue_x=11825/50000
blue_y=35240/50000
white_point_x=15634/50000
white_point_y=16450/50000
[/SIDE_DATA]
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11457>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list