From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH 1/6] tests: Add enhanced-flv-hevc-hdr10 for demux and mux HDR color info Date: Mon, 10 Mar 2025 17:14:13 +0100 Message-ID: <AS8P250MB0744112D232D6778AE92DE7E8FD62@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> (raw) In-Reply-To: <tencent_2066DBA7D02ABE13225C550B94A639D0BA06@qq.com> Zhao Zhili: > From: Zhao Zhili <zhilizhao@tencent.com> > > --- > tests/fate/flvenc.mak | 4 + > tests/ref/fate/enhanced-flv-hevc-hdr10 | 100 +++++++++++++++++++++++++ > 2 files changed, 104 insertions(+) > create mode 100644 tests/ref/fate/enhanced-flv-hevc-hdr10 > > diff --git a/tests/fate/flvenc.mak b/tests/fate/flvenc.mak > index 8ef6027a4d..eac3eec028 100644 > --- a/tests/fate/flvenc.mak > +++ b/tests/fate/flvenc.mak > @@ -13,6 +13,10 @@ FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV IVF, FLV_DEMUXER AV1_DECODER AV1_P > fate-enhanced-flv-av1: CMD = stream_remux ivf $(TARGET_SAMPLES)/av1/seq_hdr_op_param_info.ivf "-c:v av1" \ > flv "-c copy" "-c:v av1" "-c copy" > > +FATE_ENHANCED_FLVENC_FFMPEG-$(call REMUX, FLV HEVC, FLV_DEMUXER HEVC_DECODER HEVC_PARSER) += fate-enhanced-flv-hevc-hdr10 This test uses ffprobe and should therefore use FATE_ENHANCED_FLVENC_FFMPEG_FFPROBE to get an FFPROBE dependency. > +fate-enhanced-flv-hevc-hdr10: CMD = stream_remux hevc $(TARGET_SAMPLES)/hevc/hdr10_plus_h265_sample.hevc "-c:v hevc" \ > + flv "-c copy" "-c:v hevc" "-c copy" "-show_frames" > + > FATE_ENHANCED_FLVENC_FFMPEG_FFPROBE-$(call REMUX, FLV, FLV_DEMUXER AAC_PARSER AC3_PARSER OPUS_PARSER FLAC_PARSER VP9_PARSER AV1_PARSER HEVC_PARSER H264_PARSER) += fate-enhanced-flv-multitrack > fate-enhanced-flv-multitrack: CMD = stream_remux flv $(TARGET_SAMPLES)/flv/multitrack.flv "" flv "-map 0" "" "-c copy -map 0" \ > "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index" > diff --git a/tests/ref/fate/enhanced-flv-hevc-hdr10 b/tests/ref/fate/enhanced-flv-hevc-hdr10 > new file mode 100644 > index 0000000000..cb7acea328 > --- /dev/null > +++ b/tests/ref/fate/enhanced-flv-hevc-hdr10 > @@ -0,0 +1,100 @@ > +#extradata 0: 111, 0x091d1885 > +#tb 0: 1/1000 > +#media_type 0: video > +#codec_id 0: hevc > +#dimensions 0: 1280x720 > +#sar 0: 0/1 > +0, 0, 0, 40, 77718, 0xb59c83a5 > +[FRAME] > +media_type=video > +stream_index=0 > +key_frame=1 > +pts=0 > +pts_time=0.000000 > +pkt_dts=0 > +pkt_dts_time=0.000000 > +best_effort_timestamp=0 > +best_effort_timestamp_time=0.000000 > +duration=N/A > +duration_time=N/A > +pkt_pos=459 > +pkt_size=77718 > +width=1280 > +height=720 > +crop_top=0 > +crop_bottom=0 > +crop_left=0 > +crop_right=0 > +pix_fmt=yuv420p10le > +sample_aspect_ratio=N/A > +pict_type=I > +interlaced_frame=0 > +top_field_first=0 > +lossless=0 > +repeat_pict=0 > +color_range=tv > +color_space=bt2020nc > +color_primaries=bt2020 > +color_transfer=smpte2084 > +chroma_location=left > +[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] _______________________________________________ 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".
prev parent reply other threads:[~2025-03-10 16:14 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-03-10 14:39 Zhao Zhili 2025-03-10 16:14 ` Andreas Rheinhardt [this message]
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=AS8P250MB0744112D232D6778AE92DE7E8FD62@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM \ --to=andreas.rheinhardt@outlook.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