Log in

View Full Version : (BeSweet) Command Line for AC3 to WAV without volume changes


diego gr
17th May 2008, 22:56
I have a AC3 Stereo file and want to convert it to WAV Stereo, but with no normalization or any volume change, I want to keep the sound "as it is".
What command line should I use for it?

roozhou
17th May 2008, 23:08
mplayer -channels 2 -ao pcm:fast:file=output.wav input.ac3

diego gr
18th May 2008, 18:13
Thank you so much!
I tried to use the BeLight GUI, but that GUI does not save my changes in the settings, I don't know why.

stax76
18th May 2008, 20:28
BeSweet -core( -input "sourcefile.ac3" -output "targetfile.wav" -2ch ) -azid( -c normal -L -3db )

diego gr
18th May 2008, 21:04
BeSweet -core( -input "sourcefile.ac3" -output "targetfile.wav" -2ch ) -azid( -c normal -L -3db )

but -azid( -c normal -L -3db ) will not change the audio??
what this compression do?
and the lfe 3db?

stax76
19th May 2008, 04:05
but will not change the audio??
what this compression do?
and the lfe 3db?

It's well documented at BeSweet\docs\azid.txt (google for unknown terms) ;)

-L LRLFE_LEVEL

Default: 0.0

This controls the downmix-level of the LFE channel (http://stereos.about.com/od/glossary/g/LFEchannel.htm) into the LR (left/right) channels.

-c COMPR

Default: none

This option sets the overall dynamic compression (http://en.wikipedia.org/wiki/Dynamic_range_compression) in the decoder. This value is applied to every output speaker.

The bitstream contains information of how much to amplify or attenuate the sound to decrease the overall dynamic variations (loudness) in the program contents.

normal: Normal dynamic compression. Normal in-store decoders use this as an hardcoded default.

FlimsyFeet
19th May 2008, 08:24
-L should not be needed if it's a stereo file (no LFE channel).
-c should be "none", using "normal" will output a audio with a compressed dynamic range.

Also, not sure if it's necessary or not, but -n should be "false" to prevent dialog normalisation being applied.

diego gr
20th May 2008, 19:56
Thank you guys! You're the best