1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fate: add a test for HDR10+ metadata in HEVC

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Mohammad Izadi 2020-11-23 13:29:37 -08:00 committed by James Almer
parent 6e6d4c75fc
commit 89e3f5abb7
2 changed files with 65 additions and 0 deletions

View File

@ -270,6 +270,9 @@ FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-paired-fields
fate-hevc-monochrome-crop: CMD = probeframes -show_entries frame=width,height:stream=width,height $(TARGET_SAMPLES)/hevc/hevc-monochrome.hevc
FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-monochrome-crop
fate-hevc-hdr10-plus-metadata: CMD = probeframes -show_entries frame=side_data_list $(TARGET_SAMPLES)/hevc/hdr10_plus_h265_sample.hevc
FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-hdr10-plus-metadata
fate-hevc-two-first-slice: CMD = threads=2 framemd5 -i $(TARGET_SAMPLES)/hevc/two_first_slice.mp4 -sws_flags bitexact -t 00:02.00 -an
FATE_HEVC-$(call DEMDEC, MOV, HEVC) += fate-hevc-two-first-slice

View File

@ -0,0 +1,62 @@
[FRAME]
[SIDE_DATA]
side_data_type=Mastering display metadata
red_x=13250/50000
red_y=34500/50000
green_x=7500/50000
green_y=3000/50000
blue_x=34000/50000
blue_y=16000/50000
white_point_x=15635/50000
white_point_y=16450/50000
min_luminance=50/10000
max_luminance=10000000/10000
[/SIDE_DATA]
[SIDE_DATA]
side_data_type=Content light level metadata
max_content=1000
max_average=200
[/SIDE_DATA]
[SIDE_DATA]
side_data_type=HDR Dynamic Metadata SMPTE2094-40 (HDR10+)
application version=1
num_windows=1
targeted_system_display_maximum_luminance=400/1
maxscl=3340/100000
maxscl=2870/100000
maxscl=2720/100000
average_maxrgb=510/100000
num_distribution_maxrgb_percentiles=9
distribution_maxrgb_percentage=1
distribution_maxrgb_percentile=30/100000
distribution_maxrgb_percentage=5
distribution_maxrgb_percentile=2940/100000
distribution_maxrgb_percentage=10
distribution_maxrgb_percentile=255/100000
distribution_maxrgb_percentage=25
distribution_maxrgb_percentile=70/100000
distribution_maxrgb_percentage=50
distribution_maxrgb_percentile=1340/100000
distribution_maxrgb_percentage=75
distribution_maxrgb_percentile=1600/100000
distribution_maxrgb_percentage=90
distribution_maxrgb_percentile=1850/100000
distribution_maxrgb_percentage=95
distribution_maxrgb_percentile=1950/100000
distribution_maxrgb_percentage=99
distribution_maxrgb_percentile=2940/100000
fraction_bright_pixels=1/1000
knee_point_x=0/4095
knee_point_y=0/4095
num_bezier_curve_anchors=9
bezier_curve_anchors=102/1023
bezier_curve_anchors=205/1023
bezier_curve_anchors=307/1023
bezier_curve_anchors=410/1023
bezier_curve_anchors=512/1023
bezier_curve_anchors=614/1023
bezier_curve_anchors=717/1023
bezier_curve_anchors=819/1023
bezier_curve_anchors=922/1023
[/SIDE_DATA]
[/FRAME]