g-force said:
WXM said:
Darn, I was hoping you, Mother, or someone else knew a trick for easily wiping those dupe frames...
Mother and G-Force, would you say that your scripts above are better than the "Average" dll that I use? I would guess it would just be a different route to exactly the same result. What could the diffference be?
The doom9 forums are full of avisynth scripts to get rid of those dupe frames. Check it out! Luckily, the LD catures should give you exactly the same number of frames every time.
I would guess that the averaging script that Moth3r posted would give you EXACTLY the same results as whatever average you are using, as long as you give yours only 3 sources, so no worries! The median script though (yes Orinoco_Womble, it's the same concept as TOOT) should give even better results with 3 sources than an average of 3 sources, and a 3-source median may even be better than a 5-source average.
-G
I've been thinking about it and I'm still not sure if a median filter would be better, in your example you made the assumption that only a third of pixels duffer from noise and that no one pixel suffers noise in two captures, which is a highly idealised situation.
I think the median method would be a good way avoiding bursts of static or dropouts that may not be reproduceable so only effect one capture but I can't see how it would help with the smaller random variations present in all analouge captures, when dealing with random variations taking the mean of the multiple values is surely the better way.
however I do like the idea of using temporalsoften with the scenechange parameter as this should take the mean value of the captures but ignore any with significant dropouts/static so should give the best of both approaches, but I have two questions/comments:
will the scenechange parameter allow the middle capture to be excluded from the average? as this would not be useful for it's original purpose and the differences are measured relative to the middle capture, so if the middle capture had a significant problem then the other two would be excluded and the problem would remain.
also from Avisynth.org: "scenechange=n parameter: Using this parameter will avoid blending across scene changes. 'n' defines the maximum average pixel change between frames. Good values for 'n' are between 5 and 30."
what does it really mean by 'average pixel change'? is it a percentage? if 5-30 is appropriate for a change in scene isn't 25 too great a difference for supposedly identical frames I wouldn't expect 2 captures of the same frame to be different by more that 1-2%
I hope that makes sense, if not I'll try to explain tomorrow.