View Full Version : Normalize() function degrading
TCmullet
1st August 2015, 03:37
I'm using Normalize() a great deal, and on big files. I perceive a symptom that the work file used by Avisynth is never getting deleted between runs and seems to be getting more and more fragmented. (It now takes me 15 minutes to open it.) I would like to find the file and either defrag it or delete it. But I find no evidence anywhere of what the name of it is or where it is created and stored by a script. Anyone know?
Asmodian
1st August 2015, 05:22
Work file used by Avisynth? Avisynth works in RAM, not with a temp file.
Sorry, I have no idea what might be slowing you down. :(
tebasuna51
1st August 2015, 10:01
Audio Normalize() need 2 pass, then the 15 minutes is the first pass when the audio is read to search the max audio values.
In second pass the audio is amplified to put the max value at 0 dB (or the value used in Normalize).
If your file is a big audio+video file read it can be slow. Use the Normalize with a audio only file to recode it, to play it don't use Normalize.
raffriff42
1st August 2015, 14:35
Perhaps you have a memory leak in your script, or too many XXSource() statements.
If you re-open the same file a lot, you can first play the script with
Normalize(show=true)
...noting the Amplify Factor as shown on screen; then change your script to
#Normalize(show=true)
Amplify(0.9) ## or whatever Amplify Factor was shown in the previous step
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.