# Note: rename file to 'foobar.avs' for use # This avisynth script changes HDV 1080i into SD 480i with better # quality than a direct conversion in Vegas 6d. # Script written by John Beale 3/27/2006 www.bealecorner.com # Script requires Avisynth 2.5 and 'reversefielddominance' plugin from # http://www.geocities.com/siwalters_uk/reversefielddominance.html AVISource("C:\Video\HDV.avi") # frameserved HDV, 1440x1080i RGB24 mode from Vegas SeparateFields() # work on fields separately BilinearResize(720,240) # convert 1440x540 HDV fields to 720x240 SD fields Weave() # rejoin fields to form interlaced 720x480 SD frame ReverseFieldDominance() # HDV (upper field 1st) -> SD (lower field 1st) # -------- optional smoothing & sharpening ------------- # Blur(Horizontal, Vertical): negative value sharpens Blur(-0.75,0.25) # slight blending of fields (vert. blur) looks better Blur(-.5,0.0) # yet more sharpening horizontally # -------- optional noise reduction -------------------- ConvertToYUY2() # smoothing filters don't use RGB formats FluxSmoothT(6) # reduce noise on smooth surfaces for MP2 encode ConvertToRGB24() # MP2 encoders prefer RGB formats # convert result to MPEG2 with CCE Basic with Adv Video Setting->Luminance 16-235