Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
11th January 2020, 22:43 | #1 | Link |
Registered User
Join Date: Sep 2004
Posts: 147
|
Converting AC3 5.1 to stereo with volume adjusting
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.
But now WAVDEST.AX dated 1998 year old, It's kind of scary to install codecs 20+ years old. And AC3filter is not required in system, i use LAV decoder. How can I fast transcode audio 5.1 to stereo using something modern, fast, may be portable. I tried BeHappy, but it's difficult, and I can't find right coefficients for avisynth Mixaudio and Mergechannels. I just need to convert AC3 5.1 to WAV Stereo, boosting central channel with speech, and lowering special effects, that are usually in SL, SR channel. And may be mute LFE sounds. And speed matters, because demuxing all to 6 wav, editing volume in soundforge , encoding and muxing back is very time consuming. Can ffmpeg or eac3to help with it? or something other? Help, please! Last edited by alexVS; 11th January 2020 at 22:47. |
12th January 2020, 04:18 | #2 | Link | ||
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,105
|
If you use LAV Audio decoder then you can enable its mixing feature. Set the mixing target to Stereo, you can control the levels for the center channel, surround channels and LFE.
The other option I use all the time lets AviSynth do the work. Use this function: (by Tebasuna) Quote:
If you want the LFE channel in the downmix use this function: Quote:
Last edited by manolito; 12th January 2020 at 04:31. |
||
12th January 2020, 11:31 | #3 | Link | |||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,129
|
Quote:
Quote:
- 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:
EDIT: if you have the UsEac3to GUI with ffmpeg and qaac:
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 12th January 2020 at 11:58. |
|||
12th January 2020, 21:47 | #4 | Link | |||
Guest
Posts: n/a
|
Quote:
Quote:
Quote:
|
|||
13th January 2020, 03:50 | #5 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,129
|
Nope:
MixAudio(flr, fcc, 0.3694, 0.2612) MixAudio(lrc, blr, 1.0, 0.3694) ffmpeg -drc_scale 0 -i "input.ac3" -af "pan=stereo|FL < .3694FL + .2612FC + .3694SL|FR < .3694FR + .2612FC + .3694SR" -acodec pcm_s24le "output.wav"
__________________
BeHappy, AviSynth audio transcoder. |
13th January 2020, 11:53 | #6 | Link | ||
Registered User
Join Date: Aug 2004
Posts: 55
|
I use this with success
Quote:
Quote:
My standard procedure: mux out the audio to mka with mkvtoolnix. drop xyz.mka onto the second cmd (my first file used) edit the top cmd line to have the right number dB, save file drop mka onto that cmd file remux with mkvtoolnix, delete original audio, select my new mp3. Of course, edit the bitrate to suit yourself. And... anyone know how to go through the ffmpeg output and auto select that "3.2" number then send it to the second file (or down the line in one cmd file)? Everything I've tried (from the various techy forums) has not worked. (^ that's not a hijack, it'll benefit us all if I can find it to make it one drag and drop job.
__________________
| Meeow! |
||
13th January 2020, 17:36 | #7 | Link | ||
Registered User
Join Date: Sep 2004
Posts: 147
|
Thanks a lot! This works wonderfull:
Quote:
And DRC paramerer must be 0 or 1? Quote:
|
||
13th January 2020, 23:11 | #9 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 7,129
|
Better use ffmpeg.
Quote:
Quote:
The NicAC3Source (or FFAudioSource, or LWLibavAudioSource) output is already float (audio samples are 32 bit float), ConvertAudioToFloat do nothing.
__________________
BeHappy, AviSynth audio transcoder. |
||
Tags |
ac3, convert, stereo, volume, wav |
Thread Tools | Search this Thread |
Display Modes | |
|
|