OK, unfortunately still a little bit confusion but what i got was that you want to mix
input 3+7 -> output 1
input 4+8 -> output 2
If you take a look at this fil, you see what avisynth functions are used underneath the mixing ability.
ffastrans\Processors\avs_plugins\mixdown.avs
The functions of interest are GetChannel and MixAudio and in the end MergeChannels, you can read the documentation on avisynth wiki, e.g.
http://avisynth.nl/index.php/MixAudio
an example custom avisynth script (untested) for the above described configuration:
Code: Select all
#m_clip is passed by ffastrans. it contains at start of your avs script all your input audio and video channels
#get each audio channel into separate variable
three = GetChannel(m_clip, 3)
four = GetChannel(m_clip, 4)
seven = GetChannel(m_clip, 7)
eight = GetChannel(m_clip, 8)
#mix audios
output_left = MixAudio(three , seven, 1, 1)
output_right = MixAudio(four , eight, 1, 1)
#modify m_clip with the newly created channels
m_clip = MergeChannels(output_left,output_right)
#In the end we always need to return m_clip back to ffastrans
return m_clip