You could use
Luma / Chroma Merger to merge two sources in Avisynth. So a script like this:
Code:
(import stuff)
avisource("file 1")
avi2=avisource("file 2")
mergeluma(avi2,0.5)
mergechroma(avi2,0.5)
That should give you an exact average of the two sources (and be much easier and faster than using vdub). Be aware of your colors - there may be a bug in mergechroma in weighed mode - but it may also be related to a specific testcase - if so, please mail me, or post here.