Comments (3)
Hard to reproduce without a sample, but I think R128 is not very reliable with short and low volume. Can you try setting simple peak normalization and see if that produces better results? (-nt peak
)
from ffmpeg-normalize.
Alright so it actually seems like peak normalization does the trick, thank you! Though I'm no audio expert so I have no idea why. I was under the impression that loudness normalization was the way to go if the objective is to achieve a consistent volume for all files...
Here's a sample file:
https://github.com/slhck/ffmpeg-normalize/assets/32488097/2bb82dad-6f61-479f-a22b-e708d0e0f3d7
from ffmpeg-normalize.
Great to hear that peak normalization worked for you. The reason why EBU-type loudness normalization might not be that effective is that it is based on standard audio dynamics, but in your case, where the volume is extremely low, you'd have to apply some pre-gain for the algorithm to detect something useful.
Peak normalization simply amplifies the audio signal so that the highest peak reaches a certain level (e.g. 0 dBFS; can't get higher than that, otherwise it will clip). This can make quiet sounds more audible, but it does not consider the perceived loudness or dynamic range. It's a more straightforward method and can be more effective for files with very low sound like yours — when the loudnorm
filter simply doesn't have enough gain to do anything useful.
If consistency across all files is your goal, you might have to use a combination of both methods. For example, you could use peak normalization to bring the quieter files up to a more standard level and then apply loudness normalization to the entire collection for uniformity.
Closing this for now, but if you encounter any more issues or have questions, feel free to reach out!
from ffmpeg-normalize.
Related Issues (20)
- Different audio_bitrate for different surround/stereo sound streams HOT 13
- Surround sound 5.1 is (merged to?) stereo HOT 8
- chmod: /usr/local/bin/ffprobe: No such file or directory HOT 2
- When running on a folder of mp3s, nearly all of them report loudness range larger than the loudness range target HOT 1
- Normalize entire music library at same volume HOT 2
- Reverting to dynamic normalization regardless of the command I try HOT 6
- Cover no longer added HOT 3
- Help normalizing MP3 files HOT 3
- Specify output folder and create one if doesn't exist HOT 2
- Add possible to select stream to normalize HOT 1
- Error When Using an Apostrophe ior Ampersand in Pathname HOT 5
- dynamic mode: Change in integrated loudness shouldn’t result in a true peak which exceeds the target TP HOT 12
- Combining ffmpeg-normalize with ffmpeg pan filer HOT 6
- show warning when using non-default target level HOT 5
- List index out of range when running normalization HOT 3
- Can't find ffmpeg.exe with ffmpeg_path set HOT 3
- lrt doesn't work and Error opening output file HOT 1
- Docker Hub Image HOT 4
- Guidance for tuning for audiobooks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-normalize.