You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
tests: Add enhanced-flv-hevc-hdr10 for demux and mux HDR color info
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
This commit is contained in:
@ -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_FFPROBE-$(call REMUX, FLV HEVC, FLV_DEMUXER HEVC_DECODER HEVC_PARSER) += fate-enhanced-flv-hevc-hdr10
|
||||
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"
|
||||
|
100
tests/ref/fate/enhanced-flv-hevc-hdr10
Normal file
100
tests/ref/fate/enhanced-flv-hevc-hdr10
Normal file
@ -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]
|
Reference in New Issue
Block a user