Do the audio lengths match each of the trimmed avi sections?
If so, all you need is to replace the first 14 lines by
cap1=Trim(AVISource("1.avi",audio=false),15,3098).AudioDub(WavSource("1.wav"))
etc
__________________
GScript and GRunT - complex Avisynth scripting made easier
|