SmoothFreezeFrame
From Avisynth wiki
(Difference between revisions)
(Created page with "Like FreezeFrame, but blends all frames inside the start-end range together to create a smooth result: function SmoothFreezeFrame(clip clip, int start, int end) { rep...") |
Latest revision as of 23:06, 12 May 2013
Like FreezeFrame, but blends all frames inside the start-end range together to create a smooth result:
function SmoothFreezeFrame(clip clip, int start, int end) { replace = clip.trim(start,end) smooth = replace.TemporalSoften(round((end-start)/2),255,255,255,2) insert = smooth.FreezeFrame(0,end-start,round((end-start)/2)) return clip.Trim(0,start-1)+insert+clip.Trim(end+1,0) }