HydrogenAudio

Lossy Audio Compression => Other Lossy Codecs => Topic started by: shearerkazaa on 2006-01-15 13:46:57

Title: Boost AC3 volume without re-encoding
Post by: shearerkazaa on 2006-01-15 13:46:57
I've demuxed an AC3 file (DD 5.1 stream) from a DVD movie. Trouble is, i find the overall volume to be a little low. Is there a way to increase volume without reencoding, like mp3gain style?

Would like to avoid re-encoding as this will result in quality loss. Thanks.
Title: Boost AC3 volume without re-encoding
Post by: Qjimbo on 2006-01-15 17:23:21
I don't know much about the subject but I think you're looking for someway of ReplayGaining the file. This topic might be some help: http://www.hydrogenaudio.org/forums/index....showtopic=11063 (http://www.hydrogenaudio.org/forums/index.php?showtopic=11063)
Title: Boost AC3 volume without re-encoding
Post by: gameplaya15143 on 2006-01-18 02:42:56
ac3 is always low, enable DRC on your decoder (if its ac3filter turn on drc and crank up the preamp for it, maybe even move up the main gain)
Title: Boost AC3 volume without re-encoding
Post by: SebastianG on 2006-01-18 09:02:20
I'm not sure if this is the right thing to do here, but technically it is possible to do a lossless gain change like it can be done for AAC files -- but only in steps of 6 dB. (I guess no program has been written to do this yet. So this reply is not of much use for you unfortunately.)

I just wanted to mention it.


Sebi
Title: Re: Boost AC3 volume without re-encoding
Post by: Bero1707 on 2016-06-01 16:12:13
it's been more than 10 years since last replay.
maybe now there is a program that can boost AC3 volume losslessly like MP3 gain.
anyone?
Title: Re: Boost AC3 volume without re-encoding
Post by: kode54 on 2016-06-01 21:52:12
Technically, you could overwrite the pre-applied dynamic gain information, which is encoded into the track. But then you'd have to rely on the decoder having the AGC processing turned on. Plus, I haven't looked at a52dec, so I don't know the precision of the gain values.
Title: Re: Boost AC3 volume without re-encoding
Post by: Bero1707 on 2016-06-03 21:01:47
So there is no easy solution. I have to be expert to do this.
Title: Re: Boost AC3 volume without re-encoding
Post by: kode54 on 2016-06-03 23:18:55
Or wait for an expert to write software to do it for you.
Title: Re: Boost AC3 volume without re-encoding
Post by: Gew on 2019-02-26 13:03:24
Closest solution I've come across is AC3Gain (https://forum.videohelp.com/images/guides/p1674847/ac3gainv2.rar).
However, this is only a wrapper for Avisynth, which will eventually re-encode anyways.
Title: Re: Boost AC3 volume without re-encoding
Post by: kode54 on 2019-02-27 09:02:08
Technically, one could adjust the global dynamic gain fields, which are pre-calculated and encoded into the stream, but that relies on the user enabling dynamic gain control in their player.
Title: Re: Boost AC3 volume without re-encoding
Post by: magicgoose on 2019-02-27 16:16:16
you may shove it into a container that allows you to store ReplayGain tags.
"matroska audio" would likely work.

this relies on user enabling ReplayGain volume matching, but this is something one'd normally do anyway, because otherwise music albums have the loudness all over the place.