System Setup

avxsynth-testing edited this page Jun 26, 2012 · 37 revisions

Step-by-step guide to setting-up an Ubuntu system for AvxSynth

##Ubuntu Setup

  1. Install ubuntu-12.04-desktop-amd64.iso (64-bit Ubuntu) or ubuntu-12.04-desktop-i386.iso (32-bit Ubuntu) on system or appropriate vm (i.e. Virtual Box).
  2. Run Update Manager

##Install Dependencies

  1. Build Tools sudo apt-get install build-essential checkinstall git pkg-config yasm autoconf automake libtool
  2. MPlayer sudo apt-get install mplayer
  3. Log4CPP sudo apt-get install liblog4cpp5-dev liblog4cpp5
  4. Cairo sudo apt-get install libcairo2-dev
  5. Pango sudo apt-get install libpango1.0-dev
  6. LibJPEG sudo apt-get install libjpeg-dev (required to build the frame capture plugin)
  7. QT sudo apt-get install libqt4-dev(required if you want to build the GUI app AvxEdit).
  8. ffms2 sudo apt-get install libffms2-dev libavcodec-dev libavformat-dev libavutil-dev libpostproc-dev libswscale-dev (required to build the ffms2 plugin)

NOTE: Users of Ubuntu 11.04 and 11.10 have an old, unsupported version of ffms2 in their repositories. They need to recompile ffms2 as described below.

Alternatively to installing ffms2 and ffmpeg from repository, you may build them as follows:


  1. Get source code of ffmpeg 0.11.1 (

  2. Compile and install

    ./configure --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-postproc
    sudo checkinstall --pkgname=ffmpeg --pkgversion="0.11.1" --backup=no --deldoc=yes --fstrans=no --default

(The --enable-postproc option must be set, otherwise the ffms2 plugin won't build)

Note: libav ( 0.8 series is also compatible.


  1. Get source code of FFMS-2.17 (

  2. Open "configure" in a text editor and replace all occurrences of "avcodec_init();" with "avcodec_register_all();"

  3. Compile and install

    ./configure --enable-shared
    sudo checkinstall --pkgname=ffms2 --pkgversion="2.17" --backup=no --deldoc=yes --fstrans=no --default

##AvxSynth Build

  1. Get AvxSynth source code from github

    git clone

    (or via ssh)

    git clone
  2. Generate build system from autotools templates. This must be done only the first time the project is checked out.

    autoreconf -i
  3. In avxsynth root directory (to see other options, call ./configure --help)

    ./configure && make

Note: If you would like silent rules (less verbose output), either use "./configure --enable-silent-rules" or "make V=0"

  1. To install

    sudo make install
  2. Alternatively, you can compile and debug using KDevelop. Click here for instructions. Make sure you run configure before following these instructions.

##Basic Test

  1. Launch AVXEdit. In $avxsynthroot$/apps/AVXEdit/

  2. In the AVXEdit window, type 'Version()' and click the run button. This will launch an MPlayer window with the AviSynth Version video

  3. For instructions on using the AvxSynth Frame Server, check out this page.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.