Files
FFmpeg/tests/ref/fate/concat-demuxer-simple1-lavf-mxf
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

104 lines
7.2 KiB
Plaintext

video|0|0|0.000000|-1|-0.040000|1|0.040000|24801|7168|K__
audio|1|0|0.000000|0|0.000000|1920|0.040000|3840|32256|K__
video|0|3|0.120000|0|0.000000|1|0.040000|16743|36864|___
audio|1|1920|0.040000|1920|0.040000|1920|0.040000|3840|53760|K__
video|0|1|0.040000|1|0.040000|1|0.040000|13812|58368|___
audio|1|3840|0.080000|3840|0.080000|1920|0.040000|3840|72704|K__
video|0|2|0.080000|2|0.080000|1|0.040000|13607|77312|___
audio|1|5760|0.120000|5760|0.120000|1920|0.040000|3840|91136|K__
video|0|6|0.240000|3|0.120000|1|0.040000|16158|95744|___
audio|1|7680|0.160000|7680|0.160000|1920|0.040000|3840|112128|K__
video|0|4|0.160000|4|0.160000|1|0.040000|13943|116736|___
audio|1|9600|0.200000|9600|0.200000|1920|0.040000|3840|131072|K__
video|0|5|0.200000|5|0.200000|1|0.040000|11223|135680|___
audio|1|11520|0.240000|11520|0.240000|1920|0.040000|3840|146944|K__
video|0|9|0.360000|6|0.240000|1|0.040000|20298|151552|___
audio|1|13440|0.280000|13440|0.280000|1920|0.040000|3840|172032|K__
video|0|7|0.280000|7|0.280000|1|0.040000|13341|176640|___
audio|1|15360|0.320000|15360|0.320000|1920|0.040000|3840|190464|K__
video|0|8|0.320000|8|0.320000|1|0.040000|12362|195072|___
audio|1|17280|0.360000|17280|0.360000|1920|0.040000|3840|207872|K__
video|0|12|0.480000|9|0.360000|1|0.040000|24786|212480|K__
audio|1|19200|0.400000|19200|0.400000|1920|0.040000|3840|237568|K__
video|0|10|0.400000|10|0.400000|1|0.040000|13377|242176|___
audio|1|21120|0.440000|21120|0.440000|1920|0.040000|3840|256000|K__
video|0|11|0.440000|11|0.440000|1|0.040000|15624|260608|___
audio|1|23040|0.480000|23040|0.480000|1920|0.040000|3840|276480|K__
video|0|15|0.600000|12|0.480000|1|0.040000|22597|281088|___
audio|1|24960|0.520000|24960|0.520000|1920|0.040000|3840|304128|K__
video|0|13|0.520000|13|0.520000|1|0.040000|15028|308736|___
audio|1|26880|0.560000|26880|0.560000|1920|0.040000|3840|324096|K__
video|0|14|0.560000|14|0.560000|1|0.040000|14014|328704|___
audio|1|28800|0.600000|28800|0.600000|1920|0.040000|3840|343040|K__
video|0|18|0.720000|15|0.600000|1|0.040000|20731|347648|___
audio|1|30720|0.640000|30720|0.640000|1920|0.040000|3840|368640|K__
video|0|16|0.640000|16|0.640000|1|0.040000|11946|373248|___
audio|1|32640|0.680000|32640|0.680000|1920|0.040000|3840|385536|K__
video|0|17|0.680000|17|0.680000|1|0.040000|14464|390144|___
audio|1|34560|0.720000|34560|0.720000|1920|0.040000|3840|404992|K__
video|0|21|0.840000|18|0.720000|1|0.040000|16189|409600|___
audio|1|36480|0.760000|36480|0.760000|1920|0.040000|3840|425984|K__
video|0|19|0.760000|19|0.760000|1|0.040000|10524|430592|___
audio|1|38400|0.800000|38400|0.800000|1920|0.040000|3840|441344|K__
video|0|20|0.800000|20|0.800000|1|0.040000|10599|445952|___
audio|1|40320|0.840000|40320|0.840000|1920|0.040000|3840|456704|K__
video|0|24|0.960000|21|0.840000|1|0.040000|24711|461312|K__
audio|1|42240|0.880000|42240|0.880000|1920|0.040000|3840|486400|K__
video|0|22|0.880000|22|0.880000|1|0.040000|10840|491008|___
audio|1|44160|0.920000|44160|0.920000|1920|0.040000|3840|502272|K__
video|0|23|0.920000|23|0.920000|1|0.040000|13350|506880|___
audio|1|46080|0.960000|46080|0.960000|1920|0.040000|3840|520704|K__
video|0|17|0.680000|14|0.560000|1|0.040000|24786|212480|K__
audio|1|28800|0.600000|28800|0.600000|1920|0.040000|3840|237568|K__
video|0|15|0.600000|15|0.600000|1|0.040000|13377|242176|___
audio|1|30720|0.640000|30720|0.640000|1920|0.040000|3840|256000|K__
video|0|16|0.640000|16|0.640000|1|0.040000|15624|260608|___
audio|1|32640|0.680000|32640|0.680000|1920|0.040000|3840|276480|K__
video|0|20|0.800000|17|0.680000|1|0.040000|22597|281088|___
audio|1|34560|0.720000|34560|0.720000|1920|0.040000|3840|304128|K__
video|0|18|0.720000|18|0.720000|1|0.040000|15028|308736|___
audio|1|36480|0.760000|36480|0.760000|1920|0.040000|3840|324096|K__
video|0|19|0.760000|19|0.760000|1|0.040000|14014|328704|___
audio|1|38400|0.800000|38400|0.800000|1920|0.040000|3840|343040|K__
video|0|23|0.920000|20|0.800000|1|0.040000|20731|347648|___
audio|1|40320|0.840000|40320|0.840000|1920|0.040000|3840|368640|K__
video|0|21|0.840000|21|0.840000|1|0.040000|11946|373248|___
audio|1|42240|0.880000|42240|0.880000|1920|0.040000|3840|385536|K__
video|0|22|0.880000|22|0.880000|1|0.040000|14464|390144|___
audio|1|44160|0.920000|44160|0.920000|1920|0.040000|3840|404992|K__
video|0|26|1.040000|23|0.920000|1|0.040000|16189|409600|___
audio|1|46080|0.960000|46080|0.960000|1920|0.040000|3840|425984|K__
video|0|24|0.960000|24|0.960000|1|0.040000|10524|430592|___
audio|1|48000|1.000000|48000|1.000000|1920|0.040000|3840|441344|K__
video|0|25|1.000000|25|1.000000|1|0.040000|10599|445952|___
audio|1|49920|1.040000|49920|1.040000|1920|0.040000|3840|456704|K__
video|0|29|1.160000|26|1.040000|1|0.040000|24711|461312|K__
audio|1|51840|1.080000|51840|1.080000|1920|0.040000|3840|486400|K__
video|0|27|1.080000|27|1.080000|1|0.040000|10840|491008|___
audio|1|53760|1.120000|53760|1.120000|1920|0.040000|3840|502272|K__
video|0|28|1.120000|28|1.120000|1|0.040000|13350|506880|___
audio|1|55680|1.160000|55680|1.160000|1920|0.040000|3840|520704|K__
video|0|25|1.000000|24|0.960000|1|0.040000|24801|7168|K__|1|Strings Metadata
audio|1|48000|1.000000|48000|1.000000|1920|0.040000|3840|32256|K__|1|Strings Metadata
video|0|28|1.120000|25|1.000000|1|0.040000|16743|36864|___|1|Strings Metadata
audio|1|49920|1.040000|49920|1.040000|1920|0.040000|3840|53760|K__|1|Strings Metadata
video|0|26|1.040000|26|1.040000|1|0.040000|13812|58368|___|1|Strings Metadata
audio|1|51840|1.080000|51840|1.080000|1920|0.040000|3840|72704|K__|1|Strings Metadata
video|0|27|1.080000|27|1.080000|1|0.040000|13607|77312|___|1|Strings Metadata
audio|1|53760|1.120000|53760|1.120000|1920|0.040000|3840|91136|K__|1|Strings Metadata
video|0|31|1.240000|28|1.120000|1|0.040000|16158|95744|___|1|Strings Metadata
audio|1|55680|1.160000|55680|1.160000|1920|0.040000|3840|112128|K__|1|Strings Metadata
video|0|29|1.160000|29|1.160000|1|0.040000|13943|116736|___|1|Strings Metadata
audio|1|57600|1.200000|57600|1.200000|1920|0.040000|3840|131072|K__|1|Strings Metadata
video|0|30|1.200000|30|1.200000|1|0.040000|11223|135680|___|1|Strings Metadata
audio|1|59520|1.240000|59520|1.240000|1920|0.040000|3840|146944|K__|1|Strings Metadata
video|0|34|1.360000|31|1.240000|1|0.040000|20298|151552|___|1|Strings Metadata
audio|1|61440|1.280000|61440|1.280000|1920|0.040000|3840|172032|K__|1|Strings Metadata
video|0|32|1.280000|32|1.280000|1|0.040000|13341|176640|___|1|Strings Metadata
audio|1|63360|1.320000|63360|1.320000|1920|0.040000|3840|190464|K__|1|Strings Metadata
video|0|33|1.320000|33|1.320000|1|0.040000|12362|195072|___|1|Strings Metadata
audio|1|65280|1.360000|65280|1.360000|1920|0.040000|3840|207872|K__|1|Strings Metadata
video|0|37|1.480000|34|1.360000|1|0.040000|24786|212480|K__|1|Strings Metadata
0|mpeg2video|4|video|[0][0][0][0]|0x0000|352|288|0|0|1|1:1|11:9|yuv420p|8|tv|unknown|unknown|unknown|left|progressive|1|N/A|25/1|25/1|1/25|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|51|22|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0x060A2B340101010501010D001300000000000000000000000000000000000001|CPB properties|0|0|0|49152|-1
1|pcm_s16le|unknown|audio|[0][0][0][0]|0x0000|s16|48000|1|unknown|16|0|N/A|0/0|0/0|1/48000|0|0.000000|N/A|N/A|768000|N/A|N/A|N/A|N/A|50|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0x060A2B340101010501010D001300000000000000000000000000000000000001