In attach a patch proposal, in order to make easier parse result of ebur128 filter by external scripts
command line for testing :
ffmpeg -i aFile.wav -filter ebur128=peak=true+sample -f null -
Before patch, summary look like this :
[Parsed_ebur128_0 @ 0x7fe8b0d00000] Summary:
Integrated loudness:
I: -23.0 LUFS
Threshold: -33.0 LUFS
Loudness range:
LRA: 5.0 LU
Threshold: -43.0 LUFS
LRA low: -26.2 LUFS
LRA high: -21.2 LUFS
Sample peak:
Peak: -8.9 dBFS
True peak:
Peak: -8.9 dBFS
After the patch, summary looks like that :
[Parsed_ebur128_0 @ 0x7f9882c018c0] Summary:
[Parsed_ebur128_0 @ 0x7f9882c018c0] Integrated loudness:
[Parsed_ebur128_0 @ 0x7f9882c018c0] I: -23.0 LUFS
[Parsed_ebur128_0 @ 0x7f9882c018c0] Threshold: -33.0 LUFS
[Parsed_ebur128_0 @ 0x7f9882c018c0] Loudness range:
[Parsed_ebur128_0 @ 0x7f9882c018c0] LRA: 5.0 LU
[Parsed_ebur128_0 @ 0x7f9882c018c0] Threshold: -43.0 LUFS
[Parsed_ebur128_0 @ 0x7f9882c018c0] LRA low: -26.2 LUFS
[Parsed_ebur128_0 @ 0x7f9882c018c0] LRA high: -21.2 LUFS
[Parsed_ebur128_0 @ 0x7f9882c018c0] Sample peak:
[Parsed_ebur128_0 @ 0x7f9882c018c0] Peak: -8.9 dBFS
[Parsed_ebur128_0 @ 0x7f9882c018c0] True peak:
[Parsed_ebur128_0 @ 0x7f9882c018c0] Peak: -8.9 dBFS
I know it can break some scripts, but it can also help script to parse
result, when there is multiple filters
I keep in this patch indent in print line.
Martin
0001-Start-each-log-line-with-filter-name-in-order-to-mak.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
