VapourSynth Install Guide

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with VapourSynth.
Locked
User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

VapourSynth Install Guide

Post by l33tmeatwad » Wed Mar 16, 2016 2:20 pm

Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Install for Linux

Post by l33tmeatwad » Wed Mar 16, 2016 2:20 pm

IMPORTANT INFO FOR FEDORA USERS: When running ./configure for ffmpeg, l-smash, vapoursynth, x264, x265, and zimg, use --prefix=/usr

This guide is for the following Linux distributions:
Fedora 23 (amd64)
Ubuntu 15.10 (amd64)


Install Steps
1. Prepare for the Install
2. Install Dependencies
3. Install VapourSynth
4. Install VapourSynth-Viewer



1. Prepare for the Install

Create install directory and browse to it:

Code: Select all

mkdir $HOME/.installs

Code: Select all

cd $HOME/.installs
(Ubuntu Only) Install git to be able to fetch some install packages:

Code: Select all

sudo apt-get install git
Download VapourSynth, dependencies, and tools:
Spoiler :

Code: Select all

git clone https://github.com/vapoursynth/vapoursynth.git

Code: Select all

git clone https://github.com/ffmpeg/ffmpeg.git

Code: Select all

git clone https://github.com/l-smash/l-smash.git

Code: Select all

git clone git://git.videolan.org/x264.git

Code: Select all

git clone https://github.com/sekrit-twc/zimg.git

Code: Select all

git clone https://bitbucket.org/mystery_keeper/vapoursynth-editor.git
Fedora:
Create a link for the plugins install directory to the VapourSynth one:

Code: Select all

sudo ln -s /usr/lib64/vapoursynth /usr/local/lib/vapoursynth
Ubuntu:
Check to see if the "site-packages" directory exists:

Code: Select all

if test -d /usr/local/lib/python3.4/site-packages; then echo "exists"; else echo "doesn't exist"; fi
If it does, moving all the files to dist-packages and deleting the directory is recommended.

Create a link to the "dist-packages" directory:

Code: Select all

sudo ln -s /usr/local/lib/python3.4/dist-packages /usr/local/lib/python3.4/site-packages

2. Install Dependencies

Fedora:
Install some of the needed dependencies for VapourSynth and VapourSynth plugins:

Code: Select all

sudo dnf install automake gcc gcc-c++ yasm libass-devel python3-devel libtool ImageMagick-c++-devel fftw-devel redhat-rpm-config qt5-qtbase-devel

Code: Select all

sudo pip3 install cython
Ubuntu:
Install some of the needed dependencies for VapourSynth and VapourSynth plugins using apt-get:

Code: Select all

sudo apt-get install build-essential yasm libass-dev python3-pip python3-dev cython3 autoconf libtool libmagick++-dev qt5-default libfftw3-dev
All Linux Distros:
Run the install process listed for the remaining dependencies:

l-smash

Code: Select all

cd $HOME/.installs/l-smash

Code: Select all

./configure --enable-shared

Code: Select all

make lib

Code: Select all

sudo make install-lib
x264

Code: Select all

cd $HOME/.installs/x264

Code: Select all

./configure --enable-shared

Code: Select all

make

Code: Select all

sudo make install
x265 (Optional)
Spoiler :

Code: Select all

cd $HOME/.installs

Code: Select all

sudo apt-get install mercurial

Code: Select all

sudo apt-get install cmake

Code: Select all

hg clone https://bitbucket.org/multicoreware/x265

Code: Select all

cd x265

Code: Select all

cmake ./source

Code: Select all

make

Code: Select all

sudo make install
ffmpeg
(Optional: for x265 add --enable-libx265)

Code: Select all

cd $HOME/.installs/ffmpeg

Code: Select all

./configure --enable-gpl --enable-libx264 --enable-avresample --enable-shared

Code: Select all

make

Code: Select all

sudo make install
Zimg

Code: Select all

cd $HOME/.installs/zimg

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install

3. Install VapourSynth
Install VapourSynth with the following commands:

Code: Select all

cd $HOME/.installs/vapoursynth

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

make install

4. Install VapourSynth-Editor
Now that VapourSynth is installed, it is recommended to install VapourSynth-Editor.

Now browse to the VapourSynth-Editor Install directory and use the following commands to install:

Code: Select all

cd $HOME/.installs/vapoursynth-editor/pro

Code: Select all

qmake pro.pro
NOTE: Fedora uses qmake-qt5 instead!

Code: Select all

make

Code: Select all

mkdir $HOME/.Applications

Code: Select all

sudo mv ../build/release-64bit-gcc $HOME/.Applications/VapourSynth-Editor

Code: Select all

sudo ln -s  $HOME/.Applications/VapourSynth-Editor/vsedit /usr/bin/vsedit

Code: Select all

sudo ln -s  $HOME/.Applications/VapourSynth-Editor/vsedit.ico /usr/share/icons/vsedit.ico
NOTE: When using vsviwer, if the video color space is YUV you may need to convert to RGB to preview!

(Optional) Add to Unity Search (Ubuntu)
Spoiler :
Create vsedit.desktop using gedit:

Code: Select all

sudo gedit $HOME/.local/share/applications/vsedit.desktop
Enter the following, save, then close gedit:

Code: Select all

[Desktop Entry]
Type=Application
Name=VapourSynth-Editor
Comment=
Icon=/usr/share/icons/vsedit.ico
Exec=/usr/bin/vsedit
Terminal=false
Categories=VapourSynth;
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Install for macOS

Post by l33tmeatwad » Wed Mar 16, 2016 2:21 pm

Installer Option
  1. Download the AMVpack installer.
  2. Open AMVpack.pkg
    NOTE: The file name will vary based on the version you download.
  3. On the Introduction screen click Continue.
  4. On the License Agreement screen click Continue.
  5. In the Read License drop down click Agree
  6. In the Custom Install screen click Install.
    (NOTE: If you need additional features, such as tsMuxeR, make sure to click Customize and select them before continuing!)
  7. Enter your password when requested then click Install Software.
  8. On the Summary screen click Close.
After Installing: You should see "VapourSynth Editor" in the Applications directory and in Launchpad.


Manual Install Option
WARNING: The manual install guide for VapourSynth requires the use of Terminal and is not recommended for novice users!
1. Install Homebrew
2. Install Dependencies
3. Install VapourSynth
4. Install VapourSynth-Editor



1. Install Homebrew
To install Homebrew, run the following command:

Code: Select all

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
A box should pop up to install Xcode, click Install and once it is finished click Done.
Back in terminal press "return" then enter your password and hit "return" again to finish installing Homebrew.


2. Install Dependencies
To install all the needed dependencies for VapourSynth and VapourSynth plugins, run the follow commands in terminal:

Code: Select all

brew install python3 yasm libass automake libtool zimg l-smash ffmpeg fftw qt5

Code: Select all

brew link --force qt5

Code: Select all

pip3 install cython

3. Install VapourSynth
Now create a folder to run the installs from and browse into it:

Code: Select all

mkdir $HOME/.installs

Code: Select all

cd $HOME/.installs
Download VapourSynth with the following command:

Code: Select all

git clone https://github.com/vapoursynth/vapoursynth.git
To install VapourSynth run the following commands:

Code: Select all

cd $HOME/.installs/vapoursynth

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

make install

4. Install VapourSynth-Editor
Now that VapourSynth is installed, it is recommended to install VapourSynth-Editor.

Download Binary Option
  1. Download VapourSynth-Editor
  2. Open VapourSynthEditor.dmg and drag "VapourSynth Editor" into the Applications folder shortcut.
[/list]

Compile from Source Option
Browse to the .installs directory:

Code: Select all

cd $HOME/.installs
Download VapourSynth-Editor with the following command:

Code: Select all

git clone https://bitbucket.org/mystery_keeper/vapoursynth-editor.git
Install Xcode from the AppStore, open it, agree to the license agreement, then close the application.
NOTE: This will take a very long time!

Now browse to the VapourSynth-Editor directory and use the following commands to install:

Code: Select all

cd $HOME/.installs/vapoursynth-editor/pro

Code: Select all

qmake pro.pro

Code: Select all

make

Code: Select all

mv ../build/release-64bit-gcc/vsedit.app /Applications/vsedit.app
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Install for Windows

Post by l33tmeatwad » Wed Mar 16, 2016 2:21 pm

IMPORTANT: It is recommended that 64-bit Windows users install the 64-bit versions of everything! You can see if your system is 64-bit by checking the system properties panel or looking to see if the "C:\Program Files (x86)" folder exists, 32-bit systems will not have this folder!

NOTE: Users who have 32-bit Windows will need to use "C:\Program Files" instead of "C:\Program Files (x86)" when setting up all of the software!

Software to Install
A. Install Python
B. Install VapourSynth
C. Install VapourSynth-Editor
D. Install DGIndex (Optional)


A. Install Python
  1. Download Python 3.5.
    NOTE: The 64-bit version is recommend!
  2. Run python-3.5.1-amd64.exe
  3. NOTE: The file name will vary based on the version you download.
  4. On the Install Python Screen click "Install Now".
  5. On the Setup was successful Screen click Close.
B. Install VapourSynth
  1. Download VapourSynth.
  2. Run vapoursynth-r31.exe
    NOTE: The file name will vary based on the version you download.
  3. On the Select Destination Location Screen click Next.
  4. On the Select Components Screen click Next.
  5. On the Select Menu Folder Screen click Next.
  6. On the Select Additional Tasks Screen click Next.
  7. On the Ready to Install Screen click Install.
    NOTE: If a box pops up asking to install Visual C++ 2013 & 2015 Update 1 click Yes.
  8. On the Completing the VapourSynth Setup Wizard Screen click Finish.
C. Install VapourSynth-Editor
  1. Download VapourSynth-Editor.
    NOTE: Download the 64-bit version if you installed 64-bit Python & VapourSynth!
  2. Extract VapourSynthEditor-64bit.zip to the directory: C:\Program Files\VapourSynth-Editor
    NOTE: The file name will vary based on the version you download.
  3. Create a shortcut of vsedit-64bit.exe and place it in the location of your choice.
D. Install DGIndex (Optional, for creating D2V files)
  1. Download DGMPGDec.
  2. Extract dgmpgdec158.zip to the directory: C:\Program Files (x86)\dgmpgdec
  3. Create a shortcut of DGIndex.exe and place it in the location of your choice.
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Install Plugins

Post by l33tmeatwad » Tue Mar 22, 2016 8:57 am

A. Install Plugins for Linux & macOS
B. Install Plugins for Windows



A. Install Plugins for Linux & macOS

Installer Option (macOS Only!)
Plugins are installed with the VapourSynth install package!

Installer Script Option
IMPORTANT: This process will fail if any dependancies are not installed!
  1. Download VSPluginsInstall
  2. Open Terminal and type in:

    Code: Select all

    chmod +x ./Downloads/VSPluginsInstall && ./Downloads/VSPluginsInstall
  3. Once you see [VapourSynth Plugins Install Complete] close the terminal window.
Manual Install Option
Install Steps
1. Setup Install Directory
2. Download Plugins
3. Install Plugins


1. Setup Install Directory
Create a folder to run the installs from and browse into it:

Code: Select all

mkdir $HOME/.installs/VapourSynthPlugins

Code: Select all

cd $HOME/.install/VapourSynthPlugins
2. Download Plugins
Download all of the recommended plugins:
Spoiler :

Code: Select all

git clone https://github.com/dubhater/vapoursynth-awarpsharp2.git

Code: Select all

git clone https://github.com/dubhater/vapoursynth-bifrost.git

Code: Select all

git clone https://github.com/dwbuiten/d2vsource.git

Code: Select all

git clone https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest.git

Code: Select all

git clone https://github.com/FFMS/ffms2.git

Code: Select all

git clone https://github.com/l33tmeatwad/VapourSynth-FFT3DFilter.git

Code: Select all

git clone https://github.com/SAPikachu/flash3kyuu_deband.git

Code: Select all

git clone https://github.com/VFR-maniac/L-SMASH-Works.git

Code: Select all

git clone https://github.com/dubhater/vapoursynth-mvtools.git

Code: Select all

git clone https://github.com/dubhater/vapoursynth-nnedi3.git

Code: Select all

git clone https://github.com/HomeOfVapourSynthEvolution/VapourSynth-SangNomMod.git

Code: Select all

git clone https://github.com/dubhater/vapoursynth-tcomb.git

Code: Select all

git clone https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TDeintMod.git

Code: Select all

git clone https://github.com/chikuzen/vsrawsource.git
3. Install Plugins
Run the install process listed for each plugin, some installation sequences may vary:

aWarpSharp2
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/vapoursynth-awarpsharp2

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
Bifrost
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/vapoursynth-bifrost

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
D2VSource
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/d2vsource

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
DFTTest
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/VapourSynth-DFTTest

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
FFMS2
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/ffms2

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
FFT3DFilter
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/VapourSynth-FFT3DFilter

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
Flash3kyuu Deband
Spoiler :

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/flash3kyuu_deband

Code: Select all

./waf configure

Code: Select all

./waf build

Code: Select all

sudo ./waf install
L-SMASH-Works
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/L-SMASH-Works/VapourSynth

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
MVTools
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/vapoursynth-mvtools

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
NNEDI3
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/vapoursynth-nnedi3

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
SangNomMod
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/VapourSynth-SangNomMod

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
TComb
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/vapoursynth-TComb

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
TDeintMod
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/VapourSynth-TDeintMod

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
VSRawSource
Spoiler :
Browse to the install directory and run the installer:

Code: Select all

cd $HOME/.installs/VapourSynthPlugins/vsrawsource

Code: Select all

./configure

Code: Select all

make

Code: Select all

sudo make install
B. Install Plugins for Windows

Windows x86
  1. Download aWarpSharp2, BiFrost, ContinuityFixer, D2Vsource, DFTTest, FFMS2, Flash3kyuu Deband, LSMASHSource, MVTools, NNEDI3, SangNom2, TComb, TDeint, and VSRawSource
  2. Extract ZIP and 7Z archives.
    NOTE: All 7z files will require 7zip to extract them.
  3. Copy continuity.dll, d2vsource.dll, DFTTest.dll, flash3kyuu_deband.dll, libawarpsharp2.dll, libbifrost.dll, libnnedi3.dll, libtcomb.dll, and vslsmashsource.dll to the directory:
    C:\Program Files\VapourSynth\plugins32
    NOTE: Do not put them in sub-folders within the plugins directory!
    IMPORTANT: Make sure you copy the x86 (32-bit) version of each plugin!
  4. Download FFTW (32-bit)
  5. Copy libfftw3f-3.dll to C:\Windows\System32
Windows x64
  1. Download aWarpSharp2, BiFrost, ContinuityFixer, D2Vsource, DFTTest, FFMS2, Flash3kyuu Deband, LSMASHSource, MVTools, NNEDI3, SangNom2, TComb, TDeint, and VSRawSource
  2. Extract ZIP and 7Z archives.
    NOTE: All 7z files will require 7zip to extract them.
  3. Copy continuity.dll, d2vsource.dll, DFTTest.dll, flash3kyuu_deband.dll, libawarpsharp2.dll, libbifrost.dll, libnnedi3.dll, libtcomb.dll, and vslsmashsource.dll to the directory:
    C:\Program Files (x86)\VapourSynth\plugins64
    NOTE: Do not put them in sub-folders within the plugins directory!
    IMPORTANT: Make sure you copy the x64 (64-bit) version of each plugin!
  4. Download FFTW (64-bit)
  5. Copy libfftw3f-3.dll to C:\Windows\System32
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | Twitter | YouTube

Locked

Return to “VapourSynth Help”