Avisynth: When to resize? filter order?
Hi,
Given the following script used to encode a fairly noisy VHS Interlaced source to DVD: ######################################### LoadPlugin("D:\Video\Avisynth\Plugins\LoadPluginEx .dll") LoadPlugin("D:\Video\Avisynth\Plugins\Convolution3 D.dll") AVISource("d:\Video\Capture\Clip10001.avi") KillAudio() Seg1= Trim(32,5129).FadeIn2(30).FadeOut2(30) Seg2= Trim(5147,19821).FadeIn2(30).FadeOut2(30) Seg3= Trim(19830,36708).FadeIn2(30).FadeOut2(30) Seg4= Trim(36721,38842).FadeIn2(30).FadeOut2(60) JoinClips= Seg1++Seg2++Seg3++Seg4 PreFilter= JoinClips.Crop(16,8,-16,-8).BilinearResize(352,464).SeparateFields() FilteredEven= PreFilter.SelectEven().Undot().Unfilter(20,20).Cnr 2().FluxSmooth().Convolution3D(0,32,128,16,32,10,0 ) FilteredOdd= PreFilter.SelectOdd().Undot().Unfilter(20,20).Cnr2 ().FluxSmooth().Convolution3D(0,32,128,16,32,10,0) PostFilter= Interleave(FilteredEven,FilteredOdd).Weave().AddBo rders(0,8,0,8) return PostFilter ######################################## Can anyone offer any reasons why I should or shouldn't resize after applying filters? Also, should Unfilter be the last filter, or is it where it should be? Thanks! |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.