Which is the best and cleanest way to increase levels in an AC3 track?
This time I would like to preserve the original mix. Usually on such cases I convert the AC3 to wav and adjust levels in SoundForge. Then convert back to AC3. But I lose the 5.1 mix.
From what I've seen it would need increasing levels by 8.3 dB. What should I use to do that within AC3?
+ Reply to Thread
Results 1 to 28 of 28
-
-
I'm pretty sure you can export 5.1 AC3 in soundforge
You can even do it in audacity (you just have to set it up in the preferences) -
SoundForge 8.0 does not read or import or can't do anything with more than two tracks.
-
"Quality is cool, but don't forget... Content is King!"
-
Originally Posted by carlmart
AmplifyDB() is what you want
^Soopa's method looks easy as well -
Originally Posted by poisondeathray
Sorry. Which is Soopa's method? -
He posted a link for a batch file method (look 3 posts up) , just another option
-
I am trying Soopa's method as we speak.
But shouldn't it be better to do that in one single conversion with soundout? -
Originally Posted by carlmart
encrease 8.3 dB(level/volume) in your amplifier/receiver.
all the remainders ways works but are lossy over lossy...i mean,
you will decode one lossy source, encrease volume and encode in lossy format again...
result? lossy more lossy with high level and you don't want it, right? -
[quote="raquete"]
Originally Posted by carlmart
On some (rare) films the higher level peaks are not so much higher than the dialogue levels. In those films I can apply a higher level setting and things will not be so different from "usual" levels.
In this case, as I am splitting the audio track, I wondered how I could use the same operation to set higher levels. My concern was also about re-processing an already processed track. Can't I do the splitting and volume setting on only one pass with soundout?
I also would like some more predictable (by me) volume correction than Soopa's method (very practical indeed) allows. -
Have a look at this for a method to change the volume of a single channel
http://avisynth.org/GetChannel
Have a look at this thread for specific examples of the command
https://forum.videohelp.com/topic326127.html"Quality is cool, but don't forget... Content is King!" -
Soopa: I think he means splitting as in cutting into sections like A+B
carlmart - why not use Normalize() ? This will give you predictable results without clipping
If you want to split your video, you can use Trim(). I think you need 2 scripts if you want 2 sections. Another method is to encode it as 1 and use delaycut after.
If you want to normalize each channel, use GetChannel() with it
If you need finer control over sections, you can use audacity, and export to 5.1 AC3 -
Originally Posted by carlmart
-
Originally Posted by poisondeathray
I am learning on this normalize setting. It seems very interesting:
http://avisynth.org/oldwiki/index.php?page=Normalize
If you want to split your video, you can use Trim(). I think you need 2 scripts if you want 2 sections. Another method is to encode it as 1 and use delaycut after.
If you want to normalize each channel, use GetChannel() with it
If you need finer control over sections, you can use audacity, and export to 5.1 AC3 -
Originally Posted by poisondeathray
I have an AC3 file that I want to normalize and still get an AC3 file output.
On the normalize() literature I found what might be an example on what I want to do.
video = AviSource("C:\video.avi")
audio = WavSource("c:\autechre.wav")
audio = Normalize(audio, 0.98)
return AudioDub(video, audio)
So I put my data with the AC3 file.
video = FFMpegSource2("d:\tmp\video.mkv")
audio = NicAC3Source("d:\tmp\audio.ac3")
Normalize(audio, 0.98)
return AudioDub(video, audio)
But when I load it on HCenc it wants to get me an m2v file, not an AC3. I thought when I loaded it there, a subprogram might open, like on Soundout.
What am I doing wrong? -
Originally Posted by carlmart
Add Soundout() to your script, and as soon as you play it in MPC, or vdub, or AvsP, the soundout dialog will pop up.
Note: it is not necessary to demultiplex your audio , this is another way of scripting it
Code:FFMpegSource2("video.mkv" ,atrack=-1) Normalize(0.98) Soundout()
-
Originally Posted by poisondeathray
Note: it is not necessary to demultiplex your audio , this is another way of scripting it
Code:FFMpegSource2("video.mkv" ,atrack=-1) Normalize(0.98) Soundout()
Another interesting thing on what does normalize exactly do. I processed the AC3 file and got another AC3. So I converted it to wav just to have a look at how levels had gone up. Loaded in Soundforge and... they didn't change! Both are at the same level. Well, to be precise the highest peak in the whole new track is 0.2dB higher than the other. What does normalize do then? -
It ampliflies the entire waveform without clipping. If you used it on 5.1 audio, it uses the highest peak of any channel as the "max peak". If you go above the maximum normalize() value (instead of normalize (0.98)) you will clip (default is 1). You can use GetChannels and normalize each channel separately.
If you want the dB higher , there are probably sections where you are clipping -
Originally Posted by poisondeathray
When you open the file on SF, as you probably know, you can see the spectra and on it all peaks and else.
So, except if the AC3 > wav conversion is wrong, then I KNOW there are no clips on the track. And of course I am not interested in clipping anything either, as it sounds awful.
What I want is to use every bit I have left on my audio track. I have no intention of using GetChannels to adjust each channel separately: I want to adjust them all, keeping the relationships between the channels as the film was mixed.
I despise and abhor all modifications made on any film, affecting the original picture or audio, by every other people except the original creators. And I think digital and now HD remasterings provide a great chance to get to the original film.
But getting back to my original question: setting the levels as they should be, not adding noise because they are lower than they could be, is what I intend with this process. So I would like to understand better what tools I can use to get me a track that takes up every bit that's available. -
Normalize(0.98) is not the best you can do
Normalize() is the best you can do without clipping = 1.0
Normalize(1.01) would have a bit of clipping somewhere
It measures the highest peak of all channels (since you're not separating channels), to use as a reference point
Try Normalize() again and check the waveform in soundforge carefully
If you want to manually go and edit sections , you can in the audio editor as well
Or if you think you can "eyeball" it better then just use the AmplifyDB with the value you think is best -
Originally Posted by poisondeathray
This is the script I am using:
video = FFMpegSource2("d:\file.mkv")
audio = NicAC3Source("d:\tmp\file.ac3")
Normalize()
Soundout
The error I get from AvsP is:
Invalid arguments to function "normalize".
What I am doing wrong?
Let me manage normalize before I go into AmplifyDB.
Edit: I corrected to "normalize(audio)" and things worked out. Sorry. -
Originally Posted by carlmart
If Normalize with 0.98 only raises the level by 0.2dB, this suggests your levels are pretty high already. This doesn't square with your original assessment of needing to raise the levels by 8.3dB. -
Originally Posted by Gavino
My original assessment is based on my ac3 > wav conversion, and then opening that in SF.
Just now ran another test on a different file. This time to let Soundout analize the AC3 track and see what I had.
Then I converted the AC3 file to wav with PX3convert, which I only use for synchronizing things and check dialogues. This time I wanted to see how inaccurate PX3 could be. Then I opened that wav file in SF, and to my surprise the peaks were just as on the Soundout analysis. Only it was two-track.
I tried to get a better AC3 > wav conersion using Soundout, but the wav file it got me, using Microsoft wav or Raw PCM, couldn't be opened by SF.
Similar Threads
-
Increasing Audio volume on AVI/DivX/Xvid with AC3 Audio
By Spacedementia87 in forum User guidesReplies: 21Last Post: 24th Dec 2021, 07:21 -
AC3 audio distortion and levels.
By hardhatmac in forum Authoring (DVD)Replies: 1Last Post: 19th Mar 2010, 18:39 -
audio levels keep changing, 5.1 ac3-to-wave
By spiritgumm in forum AudioReplies: 0Last Post: 22nd Mar 2008, 09:56 -
increasing the volume of ac3 files
By virendra in forum AudioReplies: 4Last Post: 1st Nov 2007, 03:25 -
Remuxing an AC3 audio track
By chasev2 in forum AudioReplies: 4Last Post: 3rd Jun 2007, 23:59