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


RE: Vapoursynth: 'Apply filter only to range'-option? - Euangelos - 21.03.2024

Hi

Searching for Vapoursynth select a range of frames, I found the above post from 2017!  I found a this wonderful idea! How come there is no interest? There are filters better for fast motion i.e BasicVSR, others are better in more "static" scenes... or to apply "retinex" to certain range of frames makes sense! For me this very important... so a donation is in order... and if we have a way to automatically detect "fast motion frames" or "dark scenes" that would be a bonus!

ps where can I find more info about retinex?

Cheers!


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

you might want to enable the options under "Filtering->Vapoursynth->Misc->UI"
[Image: grafik.png]
this will enable some additional controls on the right side of the filters:
[Image: grafik.png]

about Retinex:
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Retinex
https://www.ipol.im/pub/art/2014/107/article_lr.pdf

Cu Selur