Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p-by-step guide to setting-up an Ubuntu system for AvxSynth
- ##Ubuntu Setup
- 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).
- Run Update Manager
- ##Install Dependencies
- Build Tools sudo apt-get install build-essential checkinstall git pkg-config yasm autoconf automake libtool
- MPlayer sudo apt-get install mplayer
- Log4CPP sudo apt-get install liblog4cpp5-dev liblog4cpp5
- Cairo sudo apt-get install libcairo2-dev
- Pango sudo apt-get install libpango1.0-dev
- LibJPEG sudo apt-get install libjpeg-dev (required to build the frame capture plugin)
- QT sudo apt-get install libqt4-dev(required if you want to build the GUI app AvxEdit).
- 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:
- ##ffmpeg
- Get source code of ffmpeg 0.11.1 (http://ffmpeg.org/releases/ffmpeg-0.11.1.tar.bz2)
- Compile and install
- ./configure --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-postproc
- make
- 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 (http://libav.org) 0.8 series is also compatible.
- ##FFMPEGSource
- Get source code of FFMS-2.17 (http://code.google.com/p/ffmpegsource/downloads/detail?name=ffms-2.17-src.tar.bz2)
- Open "configure" in a text editor and replace all occurrences of "avcodec_init();" with "avcodec_register_all();"
- Compile and install
- ./configure --enable-shared
- make
- sudo checkinstall --pkgname=ffms2 --pkgversion="2.17" --backup=no --deldoc=yes --fstrans=no --default
- ##AvxSynth Build
- Get AvxSynth source code from github
- git clone https://github.com/avxsynth/avxsynth.git
- (or via ssh)
- git clone git@github.com:avxsynth/avxsynth.git
- Generate build system from autotools templates. This must be done only the first time the project is checked out.
- autoreconf -i
- 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"
- To install
- sudo make install
- Alternatively, you can compile and debug using KDevelop. Click here for instructions. Make sure you run configure before following these instructions.
- ##Basic Test
- Launch AVXEdit. In $avxsynthroot$/apps/AVXEdit/
- ./AVXEdit
- In the AVXEdit window, type 'Version()' and click the run button. This will launch an MPlayer window with the AviSynth Version video
- For instructions on using the AvxSynth Frame Server, check out this page.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement