As it stands today, ffprobe has two stream-level fields (closed_captions and film_grain) that do not work. Their value is always 0 because ffprobe cannot access the internal codec properties in the stream context when it is setting up its internal streams.
This patchset aims to fix the issue by adding a new option to ffprobe, analyze_frames, which when paired with show_streams will run on the given probe interval to analyze the publically exposed frame side data and set the fields. This solution is less invasive than v1/v2 (much simpler), and also gives the user flexibility in terms of how long they want to analyze (using ffprobe's -read_intervals). This also rules out luck from the detection. For example, to detect closed captions or film grain over the first 20 seconds: ffprobe -show_streams -analyze_frames -read_intervals "%+20" INPUT _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".