Log in

View Full Version : Discrete Dolby to 5.1


FranceBB
12th May 2016, 15:42
Hi.
Licencors usually send files meant to be dubbed in Discrete Dolby; in other words, instead of having a single Dolby 5.1 audio track, I have 6 mono tracks, plus a stereo version:
Track1: Left 5.1
Track2: Right 5.1
Track3: Center 5.1
Track4: LFE 5.1
Track5: LS 5.1
Track6: RS 5.1
Track7: Stereo Full Mix Left 2.0
Track8: Stereo Full Mix Right 2.0

So... My final target is gonna be two audio tracks:
Track1: Dolby-E 5.1
Track2: Stereo 2.0

Question is: how can I do that in avisynth and save time, instead of doing it using an external program?

Thank you in advance.

johnmeyer
12th May 2016, 15:58
This can be done in less than one minute in Sony Vegas Pro (which I own). I don't know about using AVISynth because this sort of thing is not its strong point.

If the levels and everything are OK as is (which they may not be), you might be able to use tsmuxer. Someone else will have to suggest the exact steps for using it because I have not used it for this specific purpose.

GMJCZP
12th May 2016, 16:53
Johnmeyer is right about avisynth. Another possibility would be to try BeHappy.

Motenai Yoda
12th May 2016, 16:55
with avisynth you can get only one audio, not 5.1 + 2.0, you'll need a script for each

you can use mergechannels to merge them into a multichannel stream
ie

MergeChannels(FL,FR,C,LFE,SL,SR)

http://avisynth.nl/index.php/MergeChannels

FranceBB
13th May 2016, 21:12
It works. Thank you! ;)

video=colorbars(width = 704, height = 396, pixel_type = "yv12")

ch1=WAVSource("ch1.wav") #FL
ch2=WAVSource("ch2.wav") #FR
ch3=WAVSource("ch3.wav") #C
ch4=WAVSource("ch4.wav") #LFE
ch5=WAVSource("ch5.wav") #SL
ch6=WAVSource("ch6.wav") #SR

audio=MergeChannels(ch1, ch2, ch3, ch4, ch5, ch6)
#MergeChannels(FL, FR, C, LFE, SL, SR)

AudioDub(video, audio)

Normalize(0.89, show=false)

SuperEq("C:\Programmi\AviSynth 2.5\Equalizer Presets\Loudness.feq")