Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
7th May 2018, 19:02 | #161 | Link | ||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Furthermore, the actual gain factor applied to a frame will usually be even lower than the "local max. gain factor", because we apply a minimum filter followed by a Gaussian smoothing filter to each "neighborhood" (sliding window) of frames. The "max. gain factor" option is an additional hard limit on the maximum gain factor that can be applied to frame. This mostly exists to avoid humongous amplification factors in extremely quiet (almost silent) sections of the file. Quote:
https://www.orban.com/meter/
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 7th May 2018 at 21:00. |
||
8th May 2018, 12:24 | #162 | Link | |
Registered User
Join Date: Jun 2017
Posts: 47
|
Quote:
Let me put it this way: if I set the maximum gain factor to too high value for a certain movie, sounds like breathing could have too high volume and that's a problem. On the other hand, if I set the maximum gain factor to too low value for a certain movie, the dialogue volume could be too low comparing to the sound effects and music volume and that's a problem too. Am I right? Last edited by kolamorx; 8th May 2018 at 12:34. |
|
8th May 2018, 18:53 | #163 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
The DynamicAudioNormalizer will amplify each part of the file, which is quieter than the target volume, so that it is brought up to the target volume. Also it will attenuate each part of the file, which is louder than the target volume (if any such part exists), so that it is brought down to the target volume. In the end, all parts of the file will have "equal" volume. Of course, that all combined with Gaussian smoothing in order to avoid fast fluctuation of the gain factors. Now, what the "maximum gain factor" option really does: It imposes an additional limit on how much a "quiet" frame may be amplified in order to reach the desired target volume. The default "maximum gain factor" value, which is 10.0×, should be enough for most needs. But it can, of course, be increased, if it should really be needed. Anyhow, probably the vast majority of your frames (if not all of them!) will not need more amplification than what the default "maximum gain factor" value allows. And again: This is only an upper limit, not the actual amount of gain that will be applied! The actual gain factor will be determined dynamically for each frame, and it probably will be way lower than the limit in most cases! The "maximum gain factor" limit exists primarily in order to avoid humongous amplification factors in extremely quiet (almost silent) sections of the file. If there was no such limit, it could easily result in excessive amplification factors in those extremely quiet sections – which you do not want. If we'd amplify extremely quiet (almost silent) sections by such an excessive amount, the result will sound very "noisy", because the quantization noise becomes audible... (I suggest you let DynamicAudioNormalizer write a log file and inspect that log file in DynamicAudioNormalizer GUI, which will easily show whether you run into the limit or not)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 8th May 2018 at 19:07. |
|
19th December 2018, 15:43 | #164 | Link |
Registered User
Join Date: Dec 2018
Posts: 2
|
ffmpeg dynaudnorm with almost no effect
Hei,
I know this Thread is rather old. But I have been searching the internet, and tried myself for 2 full days with almost no result. We have several hundred videofiles where the "volume" changes within the soundtrack. And I was trying all/a lot. But no loudnowm or dynaudnorm setting I use seems to giv an acseptable result.? can anyone Help me? Here is one of the arguments I tried: $ ffmpeg -i testin.mp3 -af "dynaudnorm=p=0.8:m=25:r=0.5" Here one of our examples testin.mp3 THANKS and Greetings from Norway |
19th December 2018, 16:50 | #165 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Well, what are you trying to achieve? Or what is wrong with DynAudNorm default settings? DynAudNorm was designed to retain the "dynamics" that exist in each local neighborhood, so that the characteristics of the original audio are preserved. Default settings have been chosen rather conservative. Anyway, if you want to force DynAudNorm to act more "aggressively", first try decreasing the filter size ("--gauss-size" option). Default is 31, but you may want to try something like 11. In addition to that, you may also try decreasing the frame length ("--frame-len" option). Default is 500 ms, but you could try 250 ms or even 125 ms. Note that filter size is expressed in frames, so these option mutually influence each other! (I'm writing about the DynAudNorm CLI options here, because I'm more familiar with that one than with the FFmpeg port, but things should work for FFmpeg just the same way) Your original: DynAudNorm default settings: More aggressive settings (filter size reduced to 11): Something extreme (filter size reduced to 5 + frame length reduced to 125):
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 20th December 2018 at 14:18. |
|
20th December 2018, 10:53 | #166 | Link |
Registered User
Join Date: Dec 2018
Posts: 2
|
Hi LoRd_MuldeR
Thanks for your time! I tuned the values in to the opposit direcction for instance in this audiofine we have the periode 43-54sec and 54-69sec where the volume is is compleatly different. (manly due to the fact of a complete differnet sound) Is there a way of eventing out this differance evan more? |
20th December 2018, 13:57 | #167 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
You will have to do some experiments in order to find the "sweet spot" for you needs In addition to that, you may try the "--compress" option, which is going to prune the "loudest" samples prior to the actual normalization. Note that, here too, smaller parameter values result in stronger compression. (Be aware: extreme compression values are going to distort the audio quality!) See also: http://muldersoft.com/docs/dyauno_re...#configuration
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 20th December 2018 at 16:14. |
|
14th July 2019, 20:08 | #168 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,546
|
I just want to say thank you and give it a test:
But where am I stuck ? On startup the DAN GUI.exe wants to see the path to a logfile that doesn't exist yet. Any option I press then leads to closing of the program. I faked a logfile to get into it and probably access settings, but: it opened the logviewer, if I close it: no GUI open anymore.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
14th July 2019, 21:12 | #169 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
http://muldersoft.com/docs/img/dyauno/Chart.png You have to use the CLI program for processing audio data; it can optionally produce a log file: http://muldersoft.com/docs/dyauno_re...and-line-usage If you want a GUI, you are probably better off by using the VST plug-in: http://muldersoft.com/docs/dyauno_re...-plug-in-usage
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 14th July 2019 at 21:18. |
|
15th July 2019, 23:12 | #170 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,546
|
Ah thanks, that clears it up.
Munching... Audacity 2.3.2. sees, but refuses to load DAN VST.dll SoundForge11 does not see DAN VST.dll At only 42KB the .dll is quite small. Missing dependencies ? Solved: I should have used the shared .dll of course. Now both DAWs can see and use DAN. Awsome work, Lord Mulder ! Just applied it to the sound track of a just restored 1961 movie using the defaults. Gets the (normally tedious manual) work beautifully done, keeping the quiet/loud ratio convincing, no pulling gain up in quiet parts.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." Last edited by Emulgator; 16th July 2019 at 08:20. |
|
|