Log in

View Full Version : Applying a filter to only a small subset of frames?


Lyle_JP
30th July 2010, 18:08
I have a clip with heavy block noise, but only for about two seconds in one spot. I wanted to apply a strong deblocking filter to just that one part of the video, but leave the rest untouched. I know the beginning and ending frame numbers, I'm just wondering if there's any way to do what I'm trying in avisynth.

Gavino
30th July 2010, 18:11
ApplyRange (http://avisynth.org/mediawiki/ApplyRange)

poisondeathray
30th July 2010, 18:11
or you can use trim to divide up your video & apply different filters

a451guy451
30th July 2010, 18:11
Just apply trims to isolate those frames. Something like:
A=avisource("feature.avi")
v1=trim(a,0,100)
v2=trim(a,101,105).deblockingfilter()
v3=trim(a,106,0)
V1 ++ v2 ++ v3

Lyle_JP
31st July 2010, 05:24
Thanks, everyone. The trim method worked perfectly.
:thanks: