# Uncomment one of the following (remove the # sign) to make AVISynth # assign your source file to the script variable "MySource", which # is a variable name we just picked out of thin air and which has no # special meaning. Notice that we turn off audio in the source filters # because we're only encoding the video. # If your source is an AVI file and you have appropriate Video for Windows # and Audio Compression Manager drivers installed to decode the media types # it contains uncomment the following "AVISource" line. AVISource is the # best input type to use when working with DivX files. # MySource = AVISource("C:\SomeFolder\SomeFile.avi", audio = false) # If your source is any other file type or AVISource did not work # uncomment the following "DirectShowSource" line. Generally if a file # can be played in Windows Media Player DirectShowSource should work. # MySource = DirectShowSource("C:\SomeFolder\SomeFile.avi", audio = false) # Sometimes DirectShowSource can't automatically determine the video # frame rate. If this happens you can specify the frame rate manually. # MySource = DirectShowSource("C:\SomeFolder\SomeFile.avi", fps = 25, audio = false) # Finally, we hand the video to the application (e.g. VirtualDub) # by "returning" our clip. Return MySource