2017-02-12, 03:46 PM
2 scripts here. 1 for 5 pass average. 1 for 3 pass average. I saw no need for two threads about this.
This should allow for averaging captures from the same source or even different sources that are similar in size and alignment. Mileage might vary . I personally use it for making 3 or 5 captures of a laserdisc and averaging it to remove as much noise as possible before moving on to IVTC and DNR. It's up to you to make sure the clips are aligned before feeding them into this function. So make sure to trim beforehand.
What you'll need:
avisynth 2.6
interleave (internal filter)
MVTOOLS2 (2.6.0.5 or similar)
temporalsoften (internal filter)
This should allow for averaging captures from the same source or even different sources that are similar in size and alignment. Mileage might vary . I personally use it for making 3 or 5 captures of a laserdisc and averaging it to remove as much noise as possible before moving on to IVTC and DNR. It's up to you to make sure the clips are aligned before feeding them into this function. So make sure to trim beforehand.
What you'll need:
avisynth 2.6
interleave (internal filter)
MVTOOLS2 (2.6.0.5 or similar)
temporalsoften (internal filter)
Code:
Function FivePassAverage(clip pass1,clip pass2,clip pass3, clip pass4, clip pass5)
{
interleave=interleave(pass1,pass2,pass3,pass4,pass5)
super=msuper(interleave,pel=2,mt=true)
multivectors=manalyse(super,multi=true,delta=2,mt=true)
multiclip=mcompensate(interleave,super,multivectors,mt=true,tr=2,center=true)
average=temporalsoften(multiclip,2,255,255,50,2).selectevery(25,12)
return(average)
}
Code:
Function ThreePassAverage(clip pass1,clip pass2,clip pass3)
{
interleave=interleave(pass1,pass2,pass3)
super=msuper(interleave,pel=2,mt=true)
multivectors=manalyse(super,multi=true,delta=1,mt=true)
multiclip=mcompensate(interleave,super,multivectors,mt=true,tr=1,center=true)
average=temporalsoften(multiclip,1,255,255,50,2).selectevery(9,4)
return(average)
}