Selur's Little Message Board

Full Version: ReplaceSingle (to replace multi)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a clip that has two sequential frames that are bad; frames 898 and 899.
ReplaceSingle usually does a great job, but when two bad frames are sequential, it doesn't work well.
Is there another tool or method to solve this?
Perhaps eliminate one of the bad frames completely and the use ReplaceSingle to replace the one bad left frame that was left.
Replace single is meant to replace single frames, not multiple frames in a row.
It uses the adjacent frames as base to create the interpolation to replace the existing frame.
One would need something like a 'ReplaceMultipleFrames' script, the current frame can't do this atm. .
Maybe I'll find to write a script for this tomorrow, since I probably will be afk. for most of the day, today.


Cu Selur
Uploaded a new dev version which comes with a 'ReplaceMultiple'.

Cu Selur
Thank you, thank you.  A great new tool you've just added.
Already looks a whole lot better, but I think there is a small issue.  The two bad frame 898 and 899 now look great, but it appears that now frame 899 and 900 are identical.
I'll look into, it maybe I mixed up an index somewhere.
Think I found the problem, replacing ReplaceMultipleFrames.py with
https://github.com/Selur/VapoursynthScri...eFrames.py
should fix it.

Cu Selur
Thank you maestro, it works flawlessly.