Selur's Little Message Board
Vapoursynth: 'Apply filter only to range'-option? - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html)
+--- Forum: Small Talk (https://forum.selur.net/forum-7.html)
+--- Thread: Vapoursynth: 'Apply filter only to range'-option? (/thread-1682.html)



Vapoursynth: 'Apply filter only to range'-option? - Selur - 17.01.2021

I'm thinking of adding an 'Apply filter only to range'-option to some of the filters.
The idea is to use ReplaceFramesSimple from https://github.com/Irrational-Encoding-Wizardry/Vapoursynth-RemapFrames and use it like this:
clip = core.remap.Rfs(baseclip=clip, sourceclip=adjust.Tweak(clip=clip, bright=40), mappings="[0 10] [30 40] [100 200]")
to for example apply Tweak only to the frame 0..10 30...40 100..200.

So I would add this to filters that:
a. to not change the resolution or frame count
b. do not consist of multiple filter calls

Would this be useful to anyone? (it's easy to add, but requires time to implement)

Cu Selur