#10209(undetermined:new): EBUR128 and LOUDNORM filters compute LRA differently
#10209: EBUR128 and LOUDNORM filters compute LRA differently --------------------------------------+---------------------------------- Reporter: hsn | Type: defect Status: new | Priority: normal Component: undetermined | Version: 5.1.2 Keywords: LRA, ebur128 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------------+---------------------------------- Summary of the bug: How to reproduce: {{{ ffmpeg -i song192k.mp4 -af ebur128,loudnorm=print_format=summary -f null - }}} Outputs: {{{ [Parsed_ebur128_0 @ 000001f413d21a40] Summary: Integrated loudness: I: -14.0 LUFS Threshold: -24.1 LUFS Loudness range: LRA: 3.6 LU Threshold: -33.9 LUFS LRA low: -15.6 LUFS LRA high: -12.0 LUFS [Parsed_loudnorm_1 @ 000001f413fc4e40] Input Integrated: -14.2 LUFS Input True Peak: +0.1 dBTP Input LRA: 5.9 LU Input Threshold: -24.3 LUFS }}} One LRA is ''5.9'' and second is ''3.6''. Song analysed by https://youlean.co/file-loudness-meter/ returns: {{{ Momentary Max = -9.81 LUFS Short Term Max = -11.50 LUFS Integrated = -14.00 LUFS }}} LRA definition is here: https://tech.ebu.ch/docs/tech/tech3342v2_0.pdf -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: new Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Balling): What is song192k.mp4? eac3? Then you need to set -drc_scale 0. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: new Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by hsn): I uploaded source song but its just normal: Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 139 kb/s (default) -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Elon Musk): * status: new => closed * resolution: => invalid Comment: Invalid command. You need to run separate filters, as ebur128 by default use input sample rate and does not upsample to 192kHz. Also no sample to reproduce. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Elon Musk): Also you have not posted expected/correct LRA at all. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Balling):
I uploaded source song but its just normal:
Where is the file? -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by hsn): File uploaded to https://streams.videolan.org/upload/ I don't believe its specific to file, here it computes different LRA for any file. upsample to 192k doesn't change LRA. ffmpeg -i song192k.mp4 -af aresample=192k,ebur128,loudnorm=print_format=summary -f null - Software from Nugen audio we use in radio reports LRA 3.5, ILA -14.0 so it seems like EBUR128 filter is correct. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Elon Musk): How long in seconds are files? Too short files are known to give invalid results. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by hsn): 45 seconds. TV intro. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Balling): Sample is here: https://streams.videolan.org/ffmpeg/incoming/10209/ -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Balling): Intersting, but simply first decoding aac to wav (be it 24 bit or 16 bit, or whatever) allows one to produce Input True Peak: +0.0 dBTP and not (I also get that when I decode using aac): Input True Peak: +0.1 dBTP That happens because ffmpeg -c:a aac_fixed -i palestine-song192k.mp4 -c:a pcm_s24le -af ebur128,loudnorm=print_format=summary -f null - (aac_fixed) is not the default, LOLZ. There is also an issue that AAC is not gapless in the end, but that should not matter much. But will check gapless stuff. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: 5.1.2 | Resolution: invalid Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Zulianino): i have same issue. using ebur128 i have a measured integrated of -24.0 {{{ ffmpeg -i 20250724_094226_1fefa141_TEST_MIXSC2353_5FR_pre_ffmpeg.mxf -hide_banner -af ebur128 -f null - Integrated loudness: I: -24.0 LUFS Threshold: -34.5 LUFS Loudness range: LRA: 8.5 LU Threshold: -44.0 LUFS LRA low: -30.0 LUFS LRA high: -21.5 LUFS Sample peak: Peak: -10.8 dBFS }}} while using loudnorm I have integrated of -24.85 {{{ ffmpeg -i 20250724_094226_1fefa141_TEST_MIXSC2353_5FR_pre_ffmpeg.mxf -af loudnorm=print_format=json -f null - { "input_i" : "-24.59", "input_tp" : "-10.82", "input_lra" : "9.70", "input_thresh" : "-35.23", "output_i" : "-24.85", "output_tp" : "-10.75", "output_lra" : "6.30", "output_thresh" : "-35.26", "normalization_type" : "dynamic", "target_offset" : "0.85" } }}} using broadcast software to analyze the files, results are equal to ebur128 filter is someone able to check this? -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:11> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10209: EBUR128 and LOUDNORM filters compute LRA differently -------------------------------------+------------------------------------- Reporter: hsn | Owner: (none) Type: defect | Status: reopened Priority: normal | Component: | undetermined Version: 7.1 | Resolution: Keywords: LRA, | Blocked By: ebur128 | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Zulianino): * cc: Zulianino (added) * resolution: invalid => * status: closed => reopened * version: 5.1.2 => 7.1 -- Ticket URL: <https://trac.ffmpeg.org/ticket/10209#comment:12> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg