### Sample Avisynth scripts for flicker-reduction ### video source: Street Fighter II Champion Edition bonus stage clip ### original audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi") clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0) ### even audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi").selecteven clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0) ### odd audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi").selectodd clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0) ### merged audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi") even = selecteven(clip) odd = selectodd(clip) clip = merge(even, odd) clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0) ### interleaved audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi") even = selecteven(clip).selectodd odd = selectodd(clip).selectodd clip = interleave(even, odd) clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0) ### changefps audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi") clip = changefps(clip, 30) clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0) ### convertfps audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi").converttoyuy2 clip = convertfps(clip, framerate(clip)/2, height(clip)/4) clip = converttoyv12(clip) clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0) ### scale up audio = wavsource("sf2ceua.wav") clip = avisource("sf2ceua.avi") clip = pointresize(clip, width(clip)*7/3, height(clip)*3) clip = audiodub(clip, audio) return fadeout(clip, 30).trim(10, 0)