Advertisement
metapy

avxsynth

Mar 26th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. p-by-step guide to setting-up an Ubuntu system for AvxSynth
  2.  
  3. ##Ubuntu Setup
  4.  
  5. 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).
  6. Run Update Manager
  7.  
  8. ##Install Dependencies
  9.  
  10. Build Tools sudo apt-get install build-essential checkinstall git pkg-config yasm autoconf automake libtool
  11. MPlayer sudo apt-get install mplayer
  12. Log4CPP sudo apt-get install liblog4cpp5-dev liblog4cpp5
  13. Cairo sudo apt-get install libcairo2-dev
  14. Pango sudo apt-get install libpango1.0-dev
  15. LibJPEG sudo apt-get install libjpeg-dev (required to build the frame capture plugin)
  16. QT sudo apt-get install libqt4-dev(required if you want to build the GUI app AvxEdit).
  17. ffms2 sudo apt-get install libffms2-dev libavcodec-dev libavformat-dev libavutil-dev libpostproc-dev libswscale-dev (required to build the ffms2 plugin)
  18.  
  19. 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.
  20.  
  21. Alternatively to installing ffms2 and ffmpeg from repository, you may build them as follows:
  22.  
  23. ##ffmpeg
  24.  
  25. Get source code of ffmpeg 0.11.1 (http://ffmpeg.org/releases/ffmpeg-0.11.1.tar.bz2)
  26.  
  27. Compile and install
  28.  
  29. ./configure --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-postproc
  30. make
  31. sudo checkinstall --pkgname=ffmpeg --pkgversion="0.11.1" --backup=no --deldoc=yes --fstrans=no --default
  32.  
  33. (The --enable-postproc option must be set, otherwise the ffms2 plugin won't build)
  34.  
  35. Note: libav (http://libav.org) 0.8 series is also compatible.
  36.  
  37. ##FFMPEGSource
  38.  
  39. Get source code of FFMS-2.17 (http://code.google.com/p/ffmpegsource/downloads/detail?name=ffms-2.17-src.tar.bz2)
  40.  
  41. Open "configure" in a text editor and replace all occurrences of "avcodec_init();" with "avcodec_register_all();"
  42.  
  43. Compile and install
  44.  
  45. ./configure --enable-shared
  46. make
  47. sudo checkinstall --pkgname=ffms2 --pkgversion="2.17" --backup=no --deldoc=yes --fstrans=no --default
  48.  
  49. ##AvxSynth Build
  50.  
  51. Get AvxSynth source code from github
  52.  
  53. git clone https://github.com/avxsynth/avxsynth.git
  54.  
  55. (or via ssh)
  56.  
  57. git clone git@github.com:avxsynth/avxsynth.git
  58.  
  59. Generate build system from autotools templates. This must be done only the first time the project is checked out.
  60.  
  61. autoreconf -i
  62.  
  63. In avxsynth root directory (to see other options, call ./configure --help)
  64.  
  65. ./configure && make
  66.  
  67. Note: If you would like silent rules (less verbose output), either use "./configure --enable-silent-rules" or "make V=0"
  68.  
  69. To install
  70.  
  71. sudo make install
  72.  
  73. Alternatively, you can compile and debug using KDevelop. Click here for instructions. Make sure you run configure before following these instructions.
  74.  
  75. ##Basic Test
  76.  
  77. Launch AVXEdit. In $avxsynthroot$/apps/AVXEdit/
  78.  
  79. ./AVXEdit
  80.  
  81. In the AVXEdit window, type 'Version()' and click the run button. This will launch an MPlayer window with the AviSynth Version video
  82.  
  83. For instructions on using the AvxSynth Frame Server, check out this page.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement