The syntax of the function call for each filter is shown in the filter's description. The functions in Avisynth's scripting language are video filters. The fourth and fifth cases are equivalent to UnalignedSplice( expression1, expression2 ) and AlignedSplice( expression1, expression2 ) respectively. The third case is an alternate syntax (called "OOP notation") which is equivalent to Function ( args, expression ). In the second case, the value is the return value of the function (which will be some filter producing a video clip). In the first case, the value of the expression is the value of the variable (which must have previously been assigned to). The name cannot start with a digit.Īn expression can have one of these forms: The fourth case is equivalent to return last.Ī variable_name can be up to 50 characters long and can contain letters, digits, and underscores ( _), but no other characters. In the third case, expression is evaluated and is used as the "return value" of the script-that is, the video clip that will be seen by the application which opens the AVS file. In the second case, expression is evaluated and the result is assigned to the special variable last. In the first case, expression is evaluated and the result (which is always a video clip) is assigned to variable_name. Avisynth scripting language reference guide Avisynth scripting language reference guideĪll Avisynth scripting statements have one of these forms:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |