Opened 6 years ago
Closed 6 years ago
#7813 closed defect (invalid)
ebur128 filter reports sample peak > 0 dBFS
Reported by: | ahthovaikied | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | unspecified | Keywords: | |
Cc: | Marton Balint | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
The ebur128
audio filter can report a sample peak above 0 dbFS, which unlike true peak, should not be possible.
Sample file from here: https://github.com/desbma/r128gain/files/3006101/snippet_with_high_true_peak.zip
Reproduced with FFmpeg 4.1.2 and from git master.
$ ./ffmpeg -i 3_45.flac -af ebur128=peak=sample -f null /dev/null ffmpeg version N-93463-g1e34014010 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.2.1 (GCC) 20181127 configuration: libavutil 56. 26.100 / 56. 26.100 libavcodec 58. 47.105 / 58. 47.105 libavformat 58. 26.101 / 58. 26.101 libavdevice 58. 7.100 / 58. 7.100 libavfilter 7. 48.100 / 7. 48.100 libswscale 5. 4.100 / 5. 4.100 libswresample 3. 4.100 / 3. 4.100 Input #0, flac, from '3_45.flac': Duration: 00:00:15.00, start: 0.000000, bitrate: 1150 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 Stream mapping: Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help Output #0, null, to '/dev/null': Metadata: encoder : Lavf58.26.101 Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Metadata: encoder : Lavc58.47.105 pcm_s16le [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.0999792 TARGET:-23 LUFS M:-120.7 S:-120.7 I: -70.0 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.199979 TARGET:-23 LUFS M:-120.7 S:-120.7 I: -70.0 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.299979 TARGET:-23 LUFS M:-120.7 S:-120.7 I: -70.0 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.399979 TARGET:-23 LUFS M: -8.1 S:-120.7 I: -8.1 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.499979 TARGET:-23 LUFS M: -7.8 S:-120.7 I: -8.0 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.599979 TARGET:-23 LUFS M: -6.3 S:-120.7 I: -7.3 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.699979 TARGET:-23 LUFS M: -5.8 S:-120.7 I: -6.9 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.799979 TARGET:-23 LUFS M: -5.4 S:-120.7 I: -6.6 LUFS LRA: 0.0 LU SPK: 0.3 0.3 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.899979 TARGET:-23 LUFS M: -5.0 S:-120.7 I: -6.3 LUFS LRA: 0.0 LU SPK: 0.3 0.9 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 0.999979 TARGET:-23 LUFS M: -5.5 S:-120.7 I: -6.1 LUFS LRA: 0.0 LU SPK: 0.6 0.9 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.09998 TARGET:-23 LUFS M: -5.0 S:-120.7 I: -6.0 LUFS LRA: 0.0 LU SPK: 0.9 0.9 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.19998 TARGET:-23 LUFS M: -4.7 S:-120.7 I: -5.8 LUFS LRA: 0.0 LU SPK: 0.9 0.9 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.29998 TARGET:-23 LUFS M: -4.5 S:-120.7 I: -5.7 LUFS LRA: 0.0 LU SPK: 3.6 0.9 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.39998 TARGET:-23 LUFS M: -3.9 S:-120.7 I: -5.5 LUFS LRA: 0.0 LU SPK: 3.6 0.9 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.49998 TARGET:-23 LUFS M: -3.5 S:-120.7 I: -5.3 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.59998 TARGET:-23 LUFS M: -3.3 S:-120.7 I: -5.1 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.69998 TARGET:-23 LUFS M: -3.2 S:-120.7 I: -4.9 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.79998 TARGET:-23 LUFS M: -3.5 S:-120.7 I: -4.8 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.89998 TARGET:-23 LUFS M: -4.3 S:-120.7 I: -4.8 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 1.99998 TARGET:-23 LUFS M: -4.9 S:-120.7 I: -4.8 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.09998 TARGET:-23 LUFS M: -5.5 S:-120.7 I: -4.8 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.19998 TARGET:-23 LUFS M: -6.0 S:-120.7 I: -4.9 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.29998 TARGET:-23 LUFS M: -6.4 S:-120.7 I: -4.9 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.39998 TARGET:-23 LUFS M: -7.0 S:-120.7 I: -5.0 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.49998 TARGET:-23 LUFS M: -7.1 S:-120.7 I: -5.1 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.59998 TARGET:-23 LUFS M: -6.6 S:-120.7 I: -5.1 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.69998 TARGET:-23 LUFS M: -6.5 S:-120.7 I: -5.2 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.79998 TARGET:-23 LUFS M: -6.4 S:-120.7 I: -5.2 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.89998 TARGET:-23 LUFS M: -6.5 S:-120.7 I: -5.3 LUFS LRA: 0.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 2.99998 TARGET:-23 LUFS M: -6.8 S: -5.5 I: -5.3 LUFS LRA: 20.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.09998 TARGET:-23 LUFS M: -6.8 S: -5.4 I: -5.4 LUFS LRA: 20.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.19998 TARGET:-23 LUFS M: -6.5 S: -5.4 I: -5.4 LUFS LRA: 20.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.29998 TARGET:-23 LUFS M: -6.4 S: -5.4 I: -5.4 LUFS LRA: 20.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.39998 TARGET:-23 LUFS M: -6.3 S: -5.3 I: -5.5 LUFS LRA: 0.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.49998 TARGET:-23 LUFS M: -6.5 S: -5.3 I: -5.5 LUFS LRA: 0.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.59998 TARGET:-23 LUFS M: -7.0 S: -5.5 I: -5.5 LUFS LRA: 0.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.69998 TARGET:-23 LUFS M: -7.2 S: -5.5 I: -5.6 LUFS LRA: 0.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.79998 TARGET:-23 LUFS M: -7.4 S: -5.5 I: -5.6 LUFS LRA: 0.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.89998 TARGET:-23 LUFS M: -7.3 S: -5.6 I: -5.7 LUFS LRA: 0.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 3.99998 TARGET:-23 LUFS M: -7.3 S: -5.7 I: -5.7 LUFS LRA: 0.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.09998 TARGET:-23 LUFS M: -7.0 S: -5.8 I: -5.7 LUFS LRA: 0.5 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.19998 TARGET:-23 LUFS M: -6.6 S: -5.8 I: -5.7 LUFS LRA: 0.5 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.29998 TARGET:-23 LUFS M: -6.5 S: -5.9 I: -5.8 LUFS LRA: 0.6 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.39998 TARGET:-23 LUFS M: -6.1 S: -6.1 I: -5.8 LUFS LRA: 0.6 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.49998 TARGET:-23 LUFS M: -6.0 S: -6.3 I: -5.8 LUFS LRA: 0.8 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.59998 TARGET:-23 LUFS M: -5.7 S: -6.2 I: -5.8 LUFS LRA: 0.9 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.69998 TARGET:-23 LUFS M: -5.5 S: -6.3 I: -5.8 LUFS LRA: 0.9 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.79998 TARGET:-23 LUFS M: -5.5 S: -6.5 I: -5.8 LUFS LRA: 1.0 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.89998 TARGET:-23 LUFS M: -5.6 S: -6.5 I: -5.8 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 4.99998 TARGET:-23 LUFS M: -6.0 S: -6.4 I: -5.8 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.09998 TARGET:-23 LUFS M: -6.1 S: -6.4 I: -5.8 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.19998 TARGET:-23 LUFS M: -5.9 S: -6.5 I: -5.8 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.29998 TARGET:-23 LUFS M: -5.9 S: -6.4 I: -5.8 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.39998 TARGET:-23 LUFS M: -5.9 S: -6.3 I: -5.8 LUFS LRA: 1.1 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.49998 TARGET:-23 LUFS M: -6.3 S: -6.3 I: -5.8 LUFS LRA: 1.1 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.59998 TARGET:-23 LUFS M: -7.2 S: -6.5 I: -5.8 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.69998 TARGET:-23 LUFS M: -7.5 S: -6.5 I: -5.8 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.79998 TARGET:-23 LUFS M: -7.5 S: -6.4 I: -5.9 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.89998 TARGET:-23 LUFS M: -7.5 S: -6.4 I: -5.9 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 5.99998 TARGET:-23 LUFS M: -7.4 S: -6.6 I: -5.9 LUFS LRA: 1.1 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.09998 TARGET:-23 LUFS M: -7.5 S: -6.6 I: -5.9 LUFS LRA: 1.1 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.19998 TARGET:-23 LUFS M: -7.4 S: -6.5 I: -5.9 LUFS LRA: 1.1 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.29998 TARGET:-23 LUFS M: -7.3 S: -6.5 I: -6.0 LUFS LRA: 1.1 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.39998 TARGET:-23 LUFS M: -6.9 S: -6.7 I: -6.0 LUFS LRA: 1.1 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.49998 TARGET:-23 LUFS M: -6.7 S: -6.6 I: -6.0 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.59998 TARGET:-23 LUFS M: -6.6 S: -6.5 I: -6.0 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.69998 TARGET:-23 LUFS M: -6.7 S: -6.5 I: -6.0 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.79998 TARGET:-23 LUFS M: -7.1 S: -6.6 I: -6.0 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.89998 TARGET:-23 LUFS M: -7.4 S: -6.7 I: -6.0 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 6.99998 TARGET:-23 LUFS M: -7.1 S: -6.4 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.09998 TARGET:-23 LUFS M: -6.9 S: -6.5 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.19998 TARGET:-23 LUFS M: -6.7 S: -6.6 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.29998 TARGET:-23 LUFS M: -6.3 S: -6.6 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.39998 TARGET:-23 LUFS M: -6.7 S: -6.5 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.49998 TARGET:-23 LUFS M: -6.6 S: -6.6 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.59998 TARGET:-23 LUFS M: -6.3 S: -6.8 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.69998 TARGET:-23 LUFS M: -6.3 S: -6.8 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.79998 TARGET:-23 LUFS M: -6.4 S: -6.7 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.89998 TARGET:-23 LUFS M: -6.4 S: -6.7 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 7.99998 TARGET:-23 LUFS M: -6.6 S: -6.8 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.09998 TARGET:-23 LUFS M: -6.7 S: -6.8 I: -6.1 LUFS LRA: 1.2 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.19998 TARGET:-23 LUFS M: -6.5 S: -6.8 I: -6.1 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.29998 TARGET:-23 LUFS M: -6.6 S: -6.8 I: -6.1 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.39998 TARGET:-23 LUFS M: -6.3 S: -6.9 I: -6.1 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.49998 TARGET:-23 LUFS M: -6.5 S: -6.9 I: -6.1 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.59998 TARGET:-23 LUFS M: -6.6 S: -6.7 I: -6.1 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.69998 TARGET:-23 LUFS M: -6.8 S: -6.7 I: -6.1 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.79998 TARGET:-23 LUFS M: -7.2 S: -6.9 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.89998 TARGET:-23 LUFS M: -7.4 S: -6.8 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 8.99998 TARGET:-23 LUFS M: -7.2 S: -6.7 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.09998 TARGET:-23 LUFS M: -7.2 S: -6.7 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.19998 TARGET:-23 LUFS M: -7.1 S: -6.8 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.29998 TARGET:-23 LUFS M: -7.1 S: -6.8 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.39998 TARGET:-23 LUFS M: -7.3 S: -6.7 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.49998 TARGET:-23 LUFS M: -7.2 S: -6.7 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.59998 TARGET:-23 LUFS M: -7.1 S: -6.9 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.69998 TARGET:-23 LUFS M: -6.9 S: -6.8 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.79998 TARGET:-23 LUFS M: -6.8 S: -6.7 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.89998 TARGET:-23 LUFS M: -6.9 S: -6.7 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 9.99998 TARGET:-23 LUFS M: -7.1 S: -6.9 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.1 TARGET:-23 LUFS M: -7.0 S: -6.9 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.2 TARGET:-23 LUFS M: -6.9 S: -6.7 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.3 TARGET:-23 LUFS M: -6.7 S: -6.7 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.4 TARGET:-23 LUFS M: -6.5 S: -6.9 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.5 TARGET:-23 LUFS M: -6.4 S: -6.8 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.6 TARGET:-23 LUFS M: -6.3 S: -6.7 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.7 TARGET:-23 LUFS M: -6.3 S: -6.7 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.8 TARGET:-23 LUFS M: -6.1 S: -6.8 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 10.9 TARGET:-23 LUFS M: -6.0 S: -6.8 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11 TARGET:-23 LUFS M: -6.2 S: -6.6 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.1 TARGET:-23 LUFS M: -5.9 S: -6.6 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.2 TARGET:-23 LUFS M: -5.8 S: -6.7 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.3 TARGET:-23 LUFS M: -5.7 S: -6.6 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.4 TARGET:-23 LUFS M: -5.5 S: -6.5 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.5 TARGET:-23 LUFS M: -5.8 S: -6.5 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.6 TARGET:-23 LUFS M: -5.7 S: -6.6 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.7 TARGET:-23 LUFS M: -5.7 S: -6.5 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.8 TARGET:-23 LUFS M: -5.9 S: -6.3 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 11.9 TARGET:-23 LUFS M: -6.1 S: -6.3 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12 TARGET:-23 LUFS M: -6.5 S: -6.5 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.1 TARGET:-23 LUFS M: -7.0 S: -6.5 I: -6.2 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.2 TARGET:-23 LUFS M: -6.9 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.3 TARGET:-23 LUFS M: -6.8 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.4 TARGET:-23 LUFS M: -6.7 S: -6.4 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.5 TARGET:-23 LUFS M: -6.7 S: -6.4 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.6 TARGET:-23 LUFS M: -7.1 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.7 TARGET:-23 LUFS M: -7.3 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.8 TARGET:-23 LUFS M: -7.0 S: -6.5 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 12.9 TARGET:-23 LUFS M: -6.9 S: -6.4 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13 TARGET:-23 LUFS M: -6.7 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.1 TARGET:-23 LUFS M: -6.8 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.2 TARGET:-23 LUFS M: -7.3 S: -6.5 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.3 TARGET:-23 LUFS M: -7.6 S: -6.5 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.4 TARGET:-23 LUFS M: -7.0 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.5 TARGET:-23 LUFS M: -6.6 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.6 TARGET:-23 LUFS M: -6.2 S: -6.5 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.7 TARGET:-23 LUFS M: -6.1 S: -6.5 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.8 TARGET:-23 LUFS M: -5.8 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 13.9 TARGET:-23 LUFS M: -5.6 S: -6.3 I: -6.3 LUFS LRA: 1.4 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14 TARGET:-23 LUFS M: -5.4 S: -6.4 I: -6.3 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.1 TARGET:-23 LUFS M: -5.1 S: -6.4 I: -6.3 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.2 TARGET:-23 LUFS M: -5.2 S: -6.2 I: -6.3 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.3 TARGET:-23 LUFS M: -4.6 S: -6.1 I: -6.3 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.4 TARGET:-23 LUFS M: -4.2 S: -6.1 I: -6.2 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.5 TARGET:-23 LUFS M: -4.0 S: -6.0 I: -6.2 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.6 TARGET:-23 LUFS M: -4.1 S: -5.9 I: -6.2 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.7 TARGET:-23 LUFS M: -4.7 S: -5.9 I: -6.2 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.8 TARGET:-23 LUFS M: -5.2 S: -6.0 I: -6.2 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 14.9 TARGET:-23 LUFS M: -5.8 S: -6.0 I: -6.2 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS [Parsed_ebur128_0 @ 0x560b182c84c0] t: 15 TARGET:-23 LUFS M: -6.0 S: -5.9 I: -6.2 LUFS LRA: 1.3 LU SPK: 3.6 1.4 dBFS size=N/A time=00:00:15.00 bitrate=N/A speed= 229x video:0kB audio:2812kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [Parsed_ebur128_0 @ 0x560b182c84c0] Summary: Integrated loudness: I: -6.2 LUFS Threshold: -16.2 LUFS Loudness range: LRA: 1.3 LU Threshold: -26.4 LUFS LRA low: -6.8 LUFS LRA high: -5.5 LUFS Sample peak: Peak: 3.6 dBFS
Change History (9)
comment:1 by , 6 years ago
comment:3 by , 6 years ago
If you use -loglevel debug, you will see that ffmpeg internally resamples 44100 Hz sample rate to 48000 Hz (ebur128 is defined for that sample rate) and calculates the sample peak in the resampled signal. So this is not really a bug, I admit it is not very intuitive.
comment:4 by , 6 years ago
Cc: | added |
---|
Oh, and the sample format of the resampled signal is double (float), so >0 sample peaks are possible.
comment:5 by , 6 years ago
@cus Thanks for your answer
Using -loglevel debug
I see:
[auto_resampler_0 @ 0x5646abd68300] [SWR @ 0x5646abd68780] Using fltp internally between filters [auto_resampler_0 @ 0x5646abd68300] ch:2 chl:stereo fmt:s16 r:44100Hz -> ch:2 chl:stereo fmt:dbl r:48000Hz [auto_resampler_1 @ 0x5646abd7d8c0] [SWR @ 0x5646abd7ddc0] Using dblp internally between filters [auto_resampler_1 @ 0x5646abd7d8c0] ch:2 chl:stereo fmt:dbl r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
I understand that resampling can change the true peak, but the internal change of sample format makes the reported sample peak information completely useless IMO.
The reported sample peak is unrelated to the input sample scale, and in practice is identical to the true peak, because it is not clipped by the input bit depth.
comment:6 by , 6 years ago
Well, the filter can only measure what is passed through it, and the filter only supports 48 kHz and double sample format so it works as it should.
You can either
- make this ticket an enhancment request to add support for 44100 Hz and non-double sample format to ebur128 filter OR
- resample manually to 48 kHz first using a fixed point sample format before invoking the ebur128 filter:
ffmpeg -i 3_45.flac -af aresample=48000,aformat=sample_fmts=s16,ebur128=peak=sample -f null /dev/null
comment:7 by , 6 years ago
Thanks, using sample_fmts=s16
before ebur128 seems to do what I need.
However I don't understand why there is a difference in behavior with that added filter, since you said ebur128
only supports double sample format, and the input file already has a s16 sample format.
comment:8 by , 6 years ago
Because it is converted to 48 kHz double in two steps:
- step1: 44100 s16 -> 48000 s16: because of s16, sample peak still cannot become >0 dBFS
- step2: 48000 s16 -> 48000 double: because of no resampling, sample peak is unchanged
comment:9 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Thank you for the explanation.
Since ffmpeg -help filter=ebur128
does not mention the implicit conversion, and its implication on the sample peak analysis, I'd say maybe this deserve an addition in the docs.
Anyway I am closing this, since adding aformat=sample_fmts=s16:sample_rates=48000
before the ebur128 filter does the job for me.
Are you sure what you saying is really true?