» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Learn to script
»Discussion fora
»Project page
»External filters

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth




( Diese Seite in flag-germany.gif Deutsch )

MergeChannels(clip1 clip, clip2 clip [, clip3 clip])

Starting from v2.5 MergeChannels replaces MonoToStereo, and can be used to merge the audio channels of two or more clips.

Example, converts "uncompressed wav" audio to a 44.1 kHz stereo signal:

video = AviSource("c:\divx_wav.avi")
audio = WavSource("c:\divx_wav.avi")
l_ch = GetChannel(audio, 1)
r_ch = GetChannel(audio, 2)
stereo = MergeChannels(l_ch, r_ch).ResampleAudio(44100)
return AudioDub(video, stereo)

Note, this is similar to:

video = AviSource("c:\divx_wav.avi")
audio = WavSource("c:\divx_wav.avi")
stereo = GetChannel(audio, 1, 2).ResampleAudio(44100)
return AudioDub(video, stereo)

SourceForge Logo


Edit this document | View document history
Document last modified Sun, 01 Feb 2004 15:26:36