Selur's Little Message Board
[HELP] ReplaceSingle (to replace multi) - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [HELP] ReplaceSingle (to replace multi) (/thread-4084.html)



ReplaceSingle (to replace multi) - zspeciman - 03.05.2025

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.


RE: ReplaceSingle - Selur - 03.05.2025

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


RE: ReplaceSingle (to replace multi) - Selur - 03.05.2025

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

Cu Selur


RE: ReplaceSingle (to replace multi) - zspeciman - 03.05.2025

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.


RE: ReplaceSingle (to replace multi) - Selur - 03.05.2025

I'll look into, it maybe I mixed up an index somewhere.


RE: ReplaceSingle (to replace multi) - Selur - 03.05.2025

Think I found the problem, replacing ReplaceMultipleFrames.py with
https://github.com/Selur/VapoursynthScriptsInHybrid/blob/master/ReplaceMultipleFrames.py
should fix it.

Cu Selur


RE: ReplaceSingle (to replace multi) - zspeciman - 03.05.2025

Thank you maestro, it works flawlessly.