Using Windows Batch scripting, I want to get the max_volume value (-2.9
in the following example) from a ffmpeg output written to a log file:
[Parsed_volumedetect_0 @ 0000000005428b20] n_samples: 13406208
[Parsed_volumedetect_0 @ 0000000005428b20] mean_volume: -20.4 dB
[Parsed_volumedetect_0 @ 0000000005428b20] max_volume: -2.9 dB
[Parsed_volumedetect_0 @ 0000000005428b20] histogram_2db: 7
[Parsed_volumedetect_0 @ 0000000005428b20] histogram_3db: 181
[Parsed_volumedetect_0 @ 0000000005428b20] histogram_4db: 963
[Parsed_volumedetect_0 @ 0000000005428b20] histogram_5db: 2774
[Parsed_volumedetect_0 @ 0000000005428b20] histogram_6db: 6614
[Parsed_volumedetect_0 @ 0000000005428b20] histogram_7db: 14743
Once I know that value I intend to use it in some calculations.
Thanks a lot in advance.
Mapg