ffmpeg-bb/tests/ref/fate/mxf-probe-j2k
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

79 lines
2 KiB
Plaintext

[STREAM]
index=0
codec_name=jpeg2000
profile=1798
codec_type=video
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=640
height=360
coded_width=640
coded_height=360
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=rgb48
level=-99
color_range=unknown
color_space=unknown
color_transfer=bt709
color_primaries=bt709
chroma_location=unspecified
field_order=progressive
refs=1
id=N/A
r_frame_rate=24/1
avg_frame_rate=24/1
time_base=1/24
start_pts=0
start_time=0.000000
duration_ts=24
duration=1.000000
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=16
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=0x060A2B340101010501010F201300000035E05073878E4B2FB69D2369F25ADFC9
TAG:file_package_name=File Package: SMPTE ST 422 / ST 2067-5 frame wrapping of JPEG 2000 codestreams
TAG:track_name=Image Track
[/STREAM]
[FORMAT]
format_name=mxf
duration=1.000000
bit_rate=577792
TAG:operational_pattern_ul=060e2b34.04010101.0d010201.01010100
TAG:uid=f1994e51-a844-49e4-9459-1ddd622eb65d
TAG:generation_uid=1be151ac-cc95-4314-b09f-7420eda9932b
TAG:company_name=Sandflow Consulting LLC
TAG:product_name=dcdm2imf
TAG:product_version_num=0.0.0.0.0
TAG:product_version=1.0-beta1
TAG:product_uid=927fc4d1-89a3-4f88-88bb-d363ed33084a
TAG:modification_date=2022-01-07T22:05:01.000000Z
TAG:toolkit_version_num=2.10.38.27240.1
TAG:application_platform=win32
TAG:material_package_umid=0x060A2B340101010501010F201300000072BAF0557DA749308C14738BCD4FA116
TAG:material_package_name=Material Package
[/FORMAT]