View Single Post
Old 12th January 2020, 11:31   #3  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by alexVS View Post
Long time ago I converted AC3 5.1 to stereo using Graphedit and AC3filter. I could adjust sound so, that dialog and central channel become louder. Like in picture...
In your picture seems the Center channel at high volume and low volume for surround channels. Maybe you can try a avs mix like:

Quote:
Function Dmix6Stereo(clip a) {
flr = GetChannel(a, 1, 2)
fcc = GetChannel(a, 3, 3)
lrc = MixAudio(flr, fcc, 0.4, 0.4)
blr = GetChannel(a, 5, 6)
return MixAudio(lrc, blr, 1.0, 0.2)
}
- The 3 coeficients must sum 1.0 to avoid clip.
- Like the C channel is present in L and R output channels the volume is equivalent to 0.8

You can use also ffmpeg with:
Quote:
ffmpeg -drc_scale 0 -i "input.ac3" -af "pan=stereo|FL < .4FL + .4FC + .2SL|FR < .4FR + .4FC + .2SR" -acodec pcm_s24le "output.wav"
or recode to AAC, AC3, ...

EDIT: if you have the UsEac3to GUI with ffmpeg and qaac:
Attached Images
 
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 12th January 2020 at 11:58.
tebasuna51 is offline   Reply With Quote