ffmpeg/tests/ref/fate/mxf-probe-d10
Marth64 90af8e07b0 fftools/ffprobe: add analyze_frames option for CC and grain detection
Currently, ffprobe has two stream-level fields that do not work,
closed_captions and film_grain).

Their value is always 0 because ffprobe cannot access the internal
codec properties when it is setting up its stream contexts.

In this commit, add the new option -analyze_frames to ffprobe,
allowing the user to read frames up to the interval they have defined
and fill these fields based on what is exposed in AVPacketSideData.

Additionally, in the same commit, don't write these fields to
the output unless analyze_frames is enabled. Finally, fix the
FATE test refs accordingly and update the docs.

Signed-off-by: Marth64 <marth64@proxyid.net>
2024-12-13 22:41:31 -06:00

131 lines
2.8 KiB
Plaintext

[STREAM]
index=0
codec_name=mpeg2video
profile=0
codec_type=video
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=720
height=608
coded_width=0
coded_height=0
has_b_frames=0
sample_aspect_ratio=152:135
display_aspect_ratio=4:3
pix_fmt=yuv422p
level=5
color_range=tv
color_space=unknown
color_transfer=bt470m
color_primaries=unknown
chroma_location=topleft
field_order=tt
refs=1
id=N/A
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/25
start_pts=0
start_time=0.000000
duration_ts=4
duration=0.160000
bit_rate=50000000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
extradata_size=22
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:non_diegetic=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
DISPOSITION:multilayer=0
TAG:file_package_umid=0x060A2B340101010501010D1313000000AE86B200913105800000080046A54011
[SIDE_DATA]
side_data_type=CPB properties
max_bitrate=50000000
min_bitrate=0
avg_bitrate=0
buffer_size=2015232
vbv_delay=-1
[/SIDE_DATA]
[/STREAM]
[STREAM]
index=1
codec_name=pcm_s16le
profile=unknown
codec_type=audio
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=s16
sample_rate=48000
channels=8
channel_layout=unknown
bits_per_sample=16
initial_padding=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_pts=0
start_time=0.000000
duration_ts=8562
duration=0.178375
bit_rate=6144000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:non_diegetic=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
DISPOSITION:multilayer=0
TAG:file_package_umid=0x060A2B340101010501010D1313000000AE86B200913105800000080046A54011
[/STREAM]
[FORMAT]
format_name=mxf
duration=0.178375
bit_rate=56419744
TAG:operational_pattern_ul=060e2b34.04010101.0d010201.01010900
TAG:uid=0086b200-9131-0580-0000-080046a54011
TAG:generation_uid=b486b200-9131-0580-0000-080046a54011
TAG:company_name=SONY
TAG:product_name=eVTR
TAG:product_version=1.00
TAG:product_uid=060e2b34-0401-0106-0e06-012001010100
TAG:modification_date=2004-07-05T21:39:00.000000Z
TAG:material_package_umid=0x060A2B340101010501010D1313000000A886B200913105800000080046A54011
TAG:timecode=07:12:10:00
[/FORMAT]