Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to enable/disable short-term loudness (S) measurement to decrease minimum file length #113

Closed
fripso opened this issue Feb 7, 2020 · 1 comment

Comments

@fripso
Copy link

fripso commented Feb 7, 2020

Is your feature request related to a problem? Please describe.
This request is related to the following issue: #87 (apologies for necroposting)

ITU-R BS.1770-4 prescribes 400ms (momentary) and 3s (short-term) sliding windows for measurement, and as a result ffmpeg-normalize will disregard files shorter than 3s.

Describe the solution you'd like
The ability to disable/disregard short-term loudness measurements, to enable integrated loudness measurements on short files (<3s).

Pseudo:
ffmpeg-normalize input.wav -o output.wav --integrated-only

Describe alternatives you've considered
The current solution is to pad the file with silence, normalize, then trim, but this is not a scalable solution as it adds multiple passes of processing.

@slhck
Copy link
Owner

slhck commented Feb 7, 2020

No need to apologize, perhaps the conclusion wasn't so clear. As you can see in #87, this is not an issue related to this tool, but to the respective loudnorm/ebur128 filter in FFmpeg. So it's an upstream bug — or lack of feature, depending on how you interpret it. As long as the filter does not support it, all we can do is print a warning.

I suggest you post this on https://trac.ffmpeg.org/ as a possible enhancement for the loudnorm/ebur128 filter.

@slhck slhck closed this as completed Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants