Installation Instructions

Table of contents

Downloading the right version of AVSLib

AVSLib distributions will be either production versions or alpha or beta versions of the library. Alpha and beta versions will always include a notice about this fact (the terms "alpha" or "beta" inside parentheses as part of the name of the distribution). All other distributions not containing such a notice will always be production versions of the library.

In general, unless you want to participate in the testing of AVSLib or you are a developer of extensions to AVSLib, you should download the latest production or beta version (the one with the larger version number) from the AVSLib download page.

[<< to top]

Installing AVSLib

From version 1.1.0 AVSLib comes with a full featured installer. A source-only distribution is also provided for manual installation, in case anyone faces a problem with the installer.

Standard (recommended) installation procedure

The standard installation procedure is very simple; download and run the installer, then follow the on screen instructions.

Manual installation procedure

  1. Unpack the entire contents of the downloaded source-only distribution's archive to the selected destination folder in your hard drive.
    Be sure to check that unpacking will recreate the archived contents folder structure.
  2. Open the destination folder with Windows Explorer and locate the files loader.avsi and avslib.avsi.
  3. Open the file avslib.avsi in a text editor.
  4. Enter at the end of the last line (the one containing "__LIBROOT_AVSLIB = ") the full path to the destination folder where you had unpacked the distribution in step 1. Don' t forget to surround the path with double quotes!
  5. Save the modified file.
  6. Copy loader.avsi and avslib.avsi to Avisynth's plugins folder (the one that is used for plugin autoloading).
  7. (Optionally) create a shortcut to the AVSLib documentation on your desktop.

[<< to top]

Using AVSLib

To use AVSLib, load into your scripts the modules that contain the desired functionality. You can use any combination of the LoadLibrary(), LoadPackage() and LoadModule() functions for this. See the packages documentation to locate the modules that contain the filters and functions you want to use.

With LoadLibrary(), which loads entire parts of the AVSLib library, you can use the following predefined constants:

The preferred place in your script to place the calls to the load functions is the begining, but this is not necessary. As long as you load the modules before using their functions, you can put the calls to LoadLibrary(), LoadPackage() and LoadModule() anywhere in your script.

[<< to top]

Solving installation problems

If the installer encounters problems during the installation, it will notify you of these. Workaround the pointed out problems and rerun the installer.

If your problem persists, check if a solution is described at the FAQs section of the documentation, or post a support request at the Help / Support AVSLib project's forum.

You may also try the manual installation procedure from the source-only distribution described above.

[<< to top]

Uninstalling AVSLib

Standard (recommended) installation procedure

Run the uninstaller and follow the on screen instructions.

Manual installation procedure

[<< to top]