-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Question] Volume normalization #10767
Comments
There are two ffmpeg filters for this which you can use through the |
and speechnorm: https://ffmpeg.org/ffmpeg-filters.html#speechnorm |
Thank you, of course, for the set of links to help informations, but I'm interested in a ready-made, tested variant that works adequately, so that you can write the appropriate parameter in mpv.conf, and not read the documentation and sort through options. I tried several blanks earlier (I saw them somewhere on github or reddit) with both dynaudnorm and loudnorm, but none of them gave me the desired result. SMPlayer is built on mpv, so this parameter should work with it as well, maybe someone was looking for it, let me know. |
The only normalization I see in code of smplayer is volnorm, very fragile and abandoned filter from mpv side. The only other filter used in smplayer is acompressor without any parameters provided. |
Maybe he is very fragile filter, but I was satisfied with his work in the SMPlayer. Perhaps you know of another ready-made, tested and working parameter for mpv.conf? |
Are you sure your smplayer installation is still using volnorm? What smplayer version you use? |
I check the lateset version of smplayer and get the following info from log.
|
It'd be great if there was simply 3 options to invoke sensible parameters for these three filters! Such as |
Never use loudnorm in single-pass, it is very bad. |
It was just a suggestion for a syntax that could be used; and yeah that's even better to only show filters that are most fitting for this case :) I wouldn't know, but people like you do! :D |
I want to be clear, this option is vital for when playing through personal audio collections (which I've gone back to doing after abandoning Spotify and Youtube Music). The volume range is extremely variable. Passing a |
I did a quick 30 minute search around the web for invocations of dynaudnorm (seems to be the appropriate filter for this kind of problem), for anyone curious:
|
Using just dynaudnorm on its own is actually sufficient! Testing it here and really there's nothing particularly wrong with it. I would suggest just updating documentation to make it more obvious, or to make a --normalize option that is just an alias for --af=dynaudnorm. |
dynaudnorm is dynamic normalization, and that may not be always wanted, but with big frame sizes and/or gausssize you will get behavior that is very similar but never same to offline normalization in 2 pass. |
Right, but for the average case I think it's suitable - it's certainly doing the job here! |
Does anyone know how to enable volume normalization like the one implemented in SMPlayer?
Thanks for the answer.
The text was updated successfully, but these errors were encountered: