From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Cc: Limin Wang <lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH] fate: add a test for HDR Vivid metadata in HEVC Date: Sat, 5 Mar 2022 18:57:50 +0800 Message-ID: <1646477870-26350-1-git-send-email-lance.lmwang@gmail.com> (raw) From: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Limin Wang <lance.lmwang@gmail.com> --- Please help to upload below sample to fate-suite/hevc/ https://streams.videolan.org/ffmpeg/incoming/hdr_vivid_h265_sample.hevc tests/fate/hevc.mak | 3 ++ tests/ref/fate/hevc-hdr-vivid-metadata | 78 ++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 tests/ref/fate/hevc-hdr-vivid-metadata diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak index f294cff..3adee59 100644 --- a/tests/fate/hevc.mak +++ b/tests/fate/hevc.mak @@ -273,6 +273,9 @@ 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-hdr-vivid-metadata: CMD = probeframes -show_entries frame=side_data_list $(TARGET_SAMPLES)/hevc/hdr_vivid_h265_sample.hevc +FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-hdr-vivid-metadata + fate-hevc-dv-rpu: CMD = probeframes -show_entries frame=side_data_list -select_streams 0 -read_intervals "%+\#2" $(TARGET_SAMPLES)/hevc/dv84.mov FATE_HEVC_FFPROBE-$(call DEMDEC, HEVC, HEVC) += fate-hevc-dv-rpu diff --git a/tests/ref/fate/hevc-hdr-vivid-metadata b/tests/ref/fate/hevc-hdr-vivid-metadata new file mode 100644 index 0000000..5f69973 --- /dev/null +++ b/tests/ref/fate/hevc-hdr-vivid-metadata @@ -0,0 +1,78 @@ +[FRAME] +[SIDE_DATA] +side_data_type=Mastering display metadata +red_x=34000/50000 +red_y=16000/50000 +green_x=13250/50000 +green_y=34500/50000 +blue_x=7500/50000 +blue_y=3000/50000 +white_point_x=15635/50000 +white_point_y=16450/50000 +min_luminance=50/10000 +max_luminance=40000000/10000 +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=Content light level metadata +max_content=0 +max_average=0 +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=H.26[45] User Data Unregistered SEI message +[/SIDE_DATA] +[SIDE_DATA] +side_data_type=HDR Dynamic Metadata CUVA 005.1 2021 (Vivid) +system_start_code=1 +num_windows=1 +minimum_maxrgb=0/4095 +average_maxrgb=3046/4095 +variance_maxrgb=1535/4095 +maximum_maxrgb=4095/4095 +tone_mapping_mode_flag=1 +tone_mapping_param_num=2 +targeted_system_display_maximum_luminance=2770/4095 +base_enable_flag=1 +base_param_m_p=5734/16383 +base_param_m_m=24/10 +base_param_m_a=563/1023 +base_param_m_b=0/1023 +base_param_m_n=10/10 +base_param_k1=1 +base_param_k2=1 +base_param_k3=1 +base_param_Delta_enable_mode=0 +base_param_Delta=0/127 +3Spline_enable_flag=1 +3Spline_num=1 +3Spline_TH_mode=0 +3Spline_TH_enable_MB=224/255 +3Spline_TH_enable=0/4095 +3Spline_TH_Delta1=511/1023 +3Spline_TH_Delta2=511/1023 +3Spline_enable_Strength=127/255 +targeted_system_display_maximum_luminance=2080/4095 +base_enable_flag=1 +base_param_m_p=5734/16383 +base_param_m_m=24/10 +base_param_m_a=563/1023 +base_param_m_b=0/1023 +base_param_m_n=10/10 +base_param_k1=1 +base_param_k2=1 +base_param_k3=1 +base_param_Delta_enable_mode=0 +base_param_Delta=0/127 +3Spline_enable_flag=1 +3Spline_num=1 +3Spline_TH_mode=0 +3Spline_TH_enable_MB=224/255 +3Spline_TH_enable=0/4095 +3Spline_TH_Delta1=511/1023 +3Spline_TH_Delta2=511/1023 +3Spline_enable_Strength=127/255 +color_saturation_mapping_flag=1 +color_saturation_num=2 +color_saturation_gain=38/128 +color_saturation_gain=25/128 +[/SIDE_DATA] +[/FRAME] -- 1.8.3.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
reply other threads:[~2022-03-05 10:58 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1646477870-26350-1-git-send-email-lance.lmwang@gmail.com \ --to=lance.lmwang@gmail.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git