-g
|
apply
an absolute gain level on decoded stream, but before encoding
("pre-gain")
|
|
example
: "-g 6db" will apply 6db of gain
|
|
example : "-g
max" will apply the highest gain level that still does not distort the
original signal
|
|
example : "-g
peak" will apply the gain level written in the wave's peak chunk |
|
* if inputfile
is not wave, or it doesn't have a peak chunk, "-g peak" will act like
"-g max"
|
-norm
|
apply
relative normlization on decoded stream, but before encoding ("pre-gain
normalization") |
|
example
: "-norm 0.95" will apply 95% of the highest
gain level that still does not distort the original signal |
|
note
that "-g max" & "-norm xx" are implementing two-pass of processing
: one for analyzing the input file and determing the maxgain value, and
the second for the actual encoding
|
-G
|
apply
relative normlization on the encoded file ("post-gain normalization") |
|
example
: "-G 0.97" will apply 97% of the highest
gain level that still does not distort the original signal |
|
note
that unlike "-norm", the processes of finding maxgain and stream
encoding are done in the same single pass
|
|
* if output file
is not mp2/mp3/ogg, "-G xx" will act like "-norm xx"
|
-hybridgain
|
apply
absolute pre-gain and relative post-gain normalization ("hybridgain")
|
|
if
inputfile is a stereo ac3, disable dialog normlization and pregain
|
|
if
inputfile is six channels ac3, enable dialog normilzation and apply
pregain in accordance to dynamic range compression level :
|
|
no
compression : 7db. light compression : 8db. normal compression : 10db.
heavy compression : 14db. inverse compression : 5db.
|
|
if
outputfile is mp3, set lame's scale switch to 1.
|
|
if
outputfile is mp2/mp3/ogg, apply postgain of 97% on the processed file
|
|
* if output file
is not mp2/mp3/ogg, "-hybridgain" will act like "-g max" |