View Full Version : VapourSynth Installer, Applications, & Plugins for macOS (Intel)
Pages :
[
1]
2
3
4
5
6
7
8
9
10
l33tmeatwad
11th June 2018, 16:39
The applications, installer, and plugins are compiled for macOS 10.12 or newer. To install plugins simply copy them to the autoloading path, which can be found through the shortcut on the desktop.
NOTE: Gatekeeper will require you to approve the installer and each plugin you add individually by following Apple's instructions (https://support.apple.com/en-us/HT202491) for opening an app that hasn't been notarized or is from an unidentified developer.
VapourSynth Installer:
Installer Downloads (http://www.mediafire.com/folder/8xulo6r12tqbv)
Installers include D2V Source, FFMS2, & LSMASHSource.
INFO: To access the python environment for the VapourSynth.framework just run vspython in terminal.
DEPENDENCY: For ImageMagick to work you will need to install XQuartz (https://www.xquartz.org/).
IMPORTANT: The installer includes it's own copy of python separate from the system, to access that environment use the commands vspython3 or vspip3 in terminal.
Alternative VapourSynth Install Method (Brew):
IMPORTANT: Brew users will need to create and set the autoload folder prior to installing VapourSynth! Simply run the following commands:
mkdir -p /usr/local/lib/vapoursynth
mkdir -p "$HOME/Library/Application Support/VapourSynth"
touch "$HOME/Library/Application Support/VapourSynth/vapoursynth.conf"
echo UserPluginDir=/usr/local/lib/vapoursynth >> "$HOME/Library/Application Support/VapourSynth/vapoursynth.conf"
echo SystemPluginDir=/usr/local/lib/vapoursynth >> "$HOME/Library/Application Support/VapourSynth/vapoursynth.conf"
(Optional) Create desktop shortcuts for the plugins and scripts folders. Run the following commands in terminal:
mkdir $HOME/Desktop/VapourSynth
ln -s /usr/local/lib/vapoursynth $HOME/Desktop/VapourSynth/Plugins
ln -s /usr/local/lib/python3.9/site-packages $HOME/Desktop/VapourSynth/Scripts
Use brew (https://brew.sh/) command: brew install vapoursynth
Applications:
D2V Witch v5 (https://www.mediafire.com/file/df4pi90k09ke037/D2VWitch_v5_macOS.dmg/file)
VapourSynth Editor r19 Mod 1 (https://www.mediafire.com/file/16etqjzie4wpmko/VapourSynth-Editor-r19-mod1.dmg/file)
VapourSynth Editor r19 Mod 5.1 (https://www.mediafire.com/file/kdpkpt4r5df2mze/VapourSynth-Editor-r19-mod5.1.dmg/file) (Requires macOS 10.13+)
VapourSynth Editor r19 Mod 6.3 (https://www.mediafire.com/file/y81x1eaqorez557/VapourSynth-Editor-r19-mod6.3.dmg/file) (Requires macOS 10.15+)
Plugins:
Plugin Downloads (http://www.mediafire.com/folder/wvdlnjapm1vvw) (Mirror (http://vsdb.top/vapoursynth/mac/))
Available Plugins:
AdaptiveGrain
AddGrain
Anime4KCPP
AreaResize (**)
ASharp
AutoCrop
Average
aWarpSharp2
BestAudioSource
Bifrost
Bilateral
BM3D
Bwdif
CAS (Requires macOS 10.14+)
CNR2
ColorBars
CombMask
ContinuityFixer
CTMF
D2VSource
Damb
DCTFilter
Deblock
DeblockPP7
DeCross
Dedot
DegrainMedian
DeLogo
DePan (Source)
Descale
DFTTest (r7+ Requires macOS 10.14+)
DotKill
DPID
EdgeFixer
EEDI2
EEDI3
EEDI3m
FFMS2
FFT3DFilter
FFTSpectrum
FieldHint
FillBorders
Fix Telecined Fades
Flash3kyuu Deband
Fluxsmooth
Focus
Format Conversion
GradCurve
Histogram
HQDN3D
ImageMagick
IT (Requires macOS 10.15+)
JincResize (**)
KNLMeansCL
LGhost
LSMASHSource
MiniDeen
MinSharp
MotionMask
MSmoosh
MVTools
NNEDI3
NNEDI3CL
NoiseGenerator (**)
OCR
Placebo (Requires macOS 10.15+)(*)
QRCodeSource
RawSource
ReadMpls
RemoveDirt
RemoveGrain
RemapFrames
RemoveGrain Single Precision
Retinex
SangNom
SangNomMod
SceneChange
SCrawl
SCXvid
SmoothUV
SRMD (Requires macOS 10.15+)(*)
SSIQ
SurfaceBlur
TBilateral
TCanny
TComb
TDeintMod
TempLinearApproximate
TemporalSoften
TemporalSoften2
TimeCube
TIVTC
TNLMeans
ToneMap
TTempSmooth
VagueDenoiser
vcmod
vcmove
vctrans
VFR to CFR
VideoScope
VIVTC
VMAF
W3FDIF
Waifu2x NCNN Vulkan (Requires macOS 10.15+)(*)
Waifu2x-w2xc
Warpsharp Single Precision (Requires macOS 10.14+)
Yadifmod
ZNEDI3
(*) Requires Vulkan SDK (https://vulkan.lunarg.com/sdk/home) to be installed.
(**) Crashes VapourSynth Editor when preview window is closed or refreshed.
Source Code for Applications, Installer, & Plugins:
Source Downloads (http://www.mediafire.com/folder/3tv37w2c9ibps) (Mirror (http://vsdb.top/vapoursynth/mac-src/))
Selur
11th June 2018, 18:35
Okay. Hoping for the installer, since brew isn't an option for me. :)
May be two installers, or an installer and an plugin-updater?
Out of curiosity: What plugins use C++17?
l33tmeatwad
11th June 2018, 19:16
Setting Up Tools
Note: It is recommended that you either use macOS 10.15 or use the '-mmacosx-version-min=10.15' in "export CPPFLAGS=' for better distribution compatibility. VapourSynth and other tools will not work on 10.14 or older.
Download Command Line Tools for Xcode 12.4 (https://developer.apple.com/download/more/) and install it.
The installer is built using the software Packages (http://s.sudre.free.fr/Software/Packages/about.html).
IMPORTANT: Some files may not download correctly with curl and will need to be downloaded manually through your web browser.
Create a working directory:
cd $HOME
mkdir .installs
cd .installs
Setup Autoconf (https://ftp.gnu.org/gnu/autoconf/)
cd $HOME/.installs
curl https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz -o autoconf-2.71.tar.gz
tar -xzf autoconf-71.tar.gz
cd autoconf-2.71
./configure
make
sudo make install
Setup Automake (https://ftp.gnu.org/gnu/automake/)
cd $HOME/.installs
curl https://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz -o automake-1.16.5.tar.gz
tar -xzf automake-1.16.5.tar.gz
cd automake-1.16.5
./configure
make
sudo make install
Setup Libtool (https://ftp.wayne.edu/gnu/libtool/)
cd $HOME/.installs
curl https://ftp.wayne.edu/gnu/libtool/libtool-2.4.7.tar.gz -o libtool-2.4.7.tar.gz
tar -xzf libtool-2.4.7.tar.gz
cd libtool-2.4.7
./configure
make
sudo make install
Setup pkg-config (https://pkg-config.freedesktop.org/releases/)
cd $HOME/.installs
curl https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz -o pkg-config-0.29.2.tar.gz
tar -xzf pkg-config-0.29.2.tar.gz
cd pkg-config-0.29.2
./configure --with-internal-glib
make
sudo make install
Setup CMake (https://cmake.org/download/)
cd $HOME/.installs
git clone https://gitlab.kitware.com/cmake/cmake.git
cd cmake
git checkout v3.27.9
./configure
make
sudo make install
Setup ragel (https://www.colm.net/open-source/ragel/l)
cd $HOME/.installs
curl -L http://www.colm.net/files/ragel/ragel-6.10.tar.gz -o ragel-6.10.tar.gz
tar -xzf ragel-6.10.tar.gz
cd ragel-6.10
./configure
make
sudo make install
Setup NASM (https://github.com/netwide-assembler/nasm)
cd $HOME/.installs
git clone https://github.com/netwide-assembler/nasm
cd nasm
git checkout nasm-2.16.01
./autogen.sh
./configure
make
sudo make install
Setup YASM (https://github.com/yasm/yasm)
cd $HOME/.installs
curl http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz -o yasm-1.3.0.tar.gz
tar -xzf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make
sudo make install
Setting Up VapourSynth.framework
Setup OpenSSL (https://www.openssl.org/source/)
cd $HOME/.installs
git clone git://git.openssl.org/openssl.git
cd openssl
git checkout openssl-3.2.0
./config --prefix=/Library/Frameworks/VapourSynth.framework -no-shared
make
sudo make install
Setup XZ Utils (https://tukaani.org/xz/)
cd $HOME/.installs
curl -L https://tukaani.org/xz/xz-5.4.5.tar.gz -o xz-5.4.5.tar.gz
tar -xzf xz-5.4.5.tar.gz
cd xz-5.4.5
./configure --prefix=/Library/Frameworks/VapourSynth.framework -disable-shared
make
sudo make install
Setup zlib (https://github.com/madler/zlib)
cd $HOME/.installs
git clone https://github.com/madler/zlib
cd zlib
git checkout v1.3
./configure --prefix=/Library/Frameworks/VapourSynth.framework --static
make
sudo make install
Setting up Python (https://www.python.org)
cd $HOME/.installs
curl https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz -o Python-3.11.6.tgz
tar xvfj Python-3.11.6.tgz
cd Python-3.11.6
export LDFLAGS='-L/Library/Frameworks/VapourSynth.framework/lib'
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include'
export PKG_CONFIG_PATH=/Library/Frameworks/VapourSynth.framework/lib/pkgconfig
./configure --prefix=/Library/Frameworks/VapourSynth.framework --enable-shared
make
sudo make install
Make Python Links
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/pip3.11 /usr/local/bin/vspip3
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/python3.11 /usr/local/bin/vspython
Setup Cython (https://pypi.python.org/pypi/Cython/)
sudo vspip3 install cython
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/cython /usr/local/bin/cython
Setup NumPy (https://github.com/numpy/numpy)
sudo vspip3 install numpy
Setup LibJPEG Turbo (https://github.com/libjpeg-turbo/libjpeg-turbo)
cd $HOME/.installs
git clone https://github.com/libjpeg-turbo/libjpeg-turbo
cd libjpeg-turbo
git checkout 2.1.3
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/Library/Frameworks/VapourSynth.framework/ -DENABLE_STATIC=ON -DENABLE_SHARED=OFF .
make
sudo make install
Setup libpng (http://www.libpng.org/pub/png/libpng.html)
cd $HOME/.installs
curl -L https://download.sourceforge.net/libpng/libpng-1.6.40.tar.gz -o libpng-1.6.40.tar.gz
tar xvzf libpng-1.6.40.tar.gz
cd libpng-1.6.40
./configure --prefix=/Library/Frameworks/VapourSynth.framework --enable-shared=no
make
sudo make install
Setup libtiff (https://gitlab.com/libtiff/libtiff)
cd $HOME/.installs
git clone https://gitlab.com/libtiff/libtiff
cd libtiff
git checkout v4.6.0
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/Library/Frameworks/VapourSynth.framework/ -DBUILD_SHARED_LIBS=OFF -Dzstd=OFF -Dlzma=OFF .
make
sudo make install
Setup ImageMagick (https://github.com/ImageMagick/ImageMagick)
cd $HOME/.installs
unset CPPFLAGS
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include'
git clone https://github.com/ImageMagick/ImageMagick
cd ImageMagick
git checkout 7.1.1-21
./configure --prefix=/Library/Frameworks/VapourSynth.framework --without-xml --disable-shared --enable-delegate-build
make
sudo make install
Setup FreeType (https://www.freetype.org/)
cd $HOME/.installs
unset CPPFLAGS
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include'
curl -L http://download.savannah.gnu.org/releases/freetype/freetype-2.13.2.tar.gz -o freetype-2.13.2.tar.gz
tar xvzf freetype-2.13.2.tar.gz
cd freetype-2.13.2
./configure --prefix=/Library/Frameworks/VapourSynth.framework --disable-shared
make
sudo make install
Setup Harfbuzz (https://www.freedesktop.org/wiki/Software/HarfBuzz/)
cd $HOME/.installs
unset CPPFLAGS
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include'
git clone https://github.com/harfbuzz/harfbuzz
cd harfbuzz
git checkout 8.3.0
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework --disable-shared
make
sudo make install
Setup FriBidi (https://github.com/fribidi/fribidi)
cd $HOME/.installs
unset CPPFLAGS
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include'
git clone https://github.com/fribidi/fribidi
cd fribidi
git checkout v1.0.13
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework --disable-shared
make
sudo make install
Setup LIBASS (https://github.com/libass/libass)
cd $HOME/.installs
unset CPPFLAGS
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include/freetype2 -I/Library/Frameworks/VapourSynth.framework/include/harfbuzz'
git clone https://github.com/libass/libass
cd libass
git checkout 0.17.1
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework --disable-shared
make
sudo make install
Setup Leptonica (http://www.leptonica.com/)
cd $HOME/.installs
git clone https://github.com/danbloomberg/leptonica
cd leptonica
git checkout 1.83.0
export LDFLAGS='-L/Library/Frameworks/VapourSynth.framework/lib' CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include'
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework --disable-shared
make
sudo make install
Setup Tesseract (https://github.com/tesseract-ocr/tesseract)
cd $HOME/.installs
unset CPPFLAGS
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include/leptonica'
export PKG_CONFIG_PATH=/Library/Frameworks/VapourSynth.framework/lib/pkgconfig
git clone https://github.com/tesseract-ocr/tesseract
cd tesseract
git checkout 5.3.3
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework
make
sudo make install
Setup L-SMASH (https://github.com/l-smash/l-smash)
cd $HOME/.installs
git clone https://github.com/l-smash/l-smash
cd l-smash
git checkout v2.14.5
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework -disable-shared
make
sudo make install
Setup FFmpeg (https://github.com/FFmpeg/FFmpeg)
cd $HOME/.installs
git clone https://github.com/ffmpeg/ffmpeg
cd ffmpeg
git checkout n6.1
./configure --prefix=/Library/Frameworks/VapourSynth.framework --enable-gpl --enable-version3 --enable-shared --disable-static --disable-encoders --disable-programs \
--disable-filters --disable-doc --disable-avdevice --disable-avfilter --disable-network --disable-postproc
make
sudo make install
Setup ZIMG (https://github.com/sekrit-twc/zimg)
cd $HOME/.installs
git clone https://github.com/sekrit-twc/zimg
cd zimg
git checkout release-3.0.3
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework
make
sudo make install
Setup VapourSynth (https://github.com/vapoursynth/vapoursynth)
cd $HOME/.installs
export PYTHON=/Library/Frameworks/VapourSynth.framework/bin/python3
git clone https://github.com/vapoursynth/vapoursynth
cd vapoursynth
git checkout R58
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.framework
make
sudo make install
sudo mkdir /Library/Frameworks/VapourSynth.framework/lib/vapoursynth
Make VapourSynth Links
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth.dylib /usr/local/lib/libvapoursynth.dylib
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.dylib /usr/local/lib/libvapoursynth-script.dylib
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.0.dylib /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.0.dylib
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/vapoursynth /usr/local/lib/vapoursynth
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/pkgconfig/vapoursynth.pc /usr/local/lib/pkgconfig/vapoursynth.pc
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/pkgconfig/vapoursynth-script.pc /usr/local/lib/pkgconfig/vapoursynth-script.pc
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/vspipe /usr/local/bin/vspipe
sudo ln -s /Library/Frameworks/VapourSynth.framework/include/vapoursynth /usr/local/include/vapoursynth
Make Desktop Shortcuts (Optional)
sudo mkdir $HOME/Desktop/VapourSynth
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin "$HOME/Desktop/VapourSynth/Add Executables"
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib "$HOME/Desktop/VapourSynth/Add Libraries"
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/vapoursynth "$HOME/Desktop/VapourSynth/Add Plugins"
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/python3.10/site-packages "$HOME/Desktop/VapourSynth/Add Scripts"
Details for Plugins
Most plugins will be compiled similarly to the dependencies above, here's an example using FFMS2:
git clone https://github.com/FFMS/ffms2
cd ffms2
git checkout 2.23
export LDFLAGS='-L/Library/Frameworks/VapourSynth.framework/lib'
export CPPFLAGS='-I/Library/Frameworks/VapourSynth.framework/include'
export PKG_CONFIG_PATH=/Library/Frameworks/VapourSynth.framework/lib/pkgconfig
./autogen.sh
./configure --prefix=/Library/Frameworks/VapourSynth.Framework
make
sudo make install
Plugins will usually have autogen.sh or just a configure file, however a few others will use cmake or waf. With the current setup the autoloading path for VapourSynth is /Library/Frameworks/VapourSynth.framework/lib/vapoursynth, but most plugins will actually install to the /Library/Frameworks/VapourSynth.framework/lib instead. Often this path path will be hard coded into the plugin ID, so it will need to be altered so the plugin can be moved to the correct path for autoloading. Browse to the path the plugin was installed to and use the following command to check the plugin (ex. ffms2):
otool -L libffms2.4.dylib
You will then see something similar to this:
/Library/Frameworks/VapourSynth.framework/libffms2.4.dylib (compatibility version 5.0.0, current version 5.0.0)
/Library/Frameworks/VapourSynth.framework/lib/libavformat.58.dylib (compatibility version 58.0.0, current version 58.12.100)
/Library/Frameworks/VapourSynth.framework/lib/libavcodec.58.dylib (compatibility version 58.0.0, current version 58.18.100)
/Library/Frameworks/VapourSynth.framework/lib/libswscale.5.dylib (compatibility version 5.0.0, current version 5.1.100)
/Library/Frameworks/VapourSynth.framework/lib/libavutil.56.dylib (compatibility version 56.0.0, current version 56.14.100)
/Library/Frameworks/VapourSynth.framework/lib/libavresample.4.dylib (compatibility version 4.0.0, current version 4.0.0)
/Library/Frameworks/VapourSynth.framework/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
If the plugin has the full path on the first line containing it's own filename, use the following command to change it:
sudo install_name_tool -id "libffms2.4.dylib" libffms2.4.dylib
NOTE: You can also use this opportunity to change the name of the plugin itself by changing the id to what you want it to be.
Additionally, the location of dependencies can be changed to be relative to the location of the actual plugin. For example, ffms2 looks for it's dependency zlib in /Library/Frameworks/VapourSynth.framework/lib, that location can be change to look for it one directory above where libffms2.4.dylib is located (assuming you place libffms2.4.dylib in the VapourSynth autoloading folder) by using a variable called @loader_path. Here is an example of how that would work:
sudo install_name_tool -change /Library/Frameworks/VapourSynth.framework/lib/libz.1.dylib @loader_path/../libz.1.dylib libffms2.4.dylib
Using otool to check files and install_name_tool to change the id and dependency paths to be relative instead of absolute will allow the modified plugins to work no matter what path vapoursynth is installed to as long as the plugin is located in the autoload directory. This same method can be used on the dependencies as well to allow for distribution of those with the plugins.
Mad_Hatter
13th June 2018, 09:13
SCXvid was removed from mediafire ^^
EDIT: Another question, if I had to compile a few plugins by myself which are not present in the list, what params should I use? Since I get an error about not finding vapoursynth.h.
DJATOM
13th June 2018, 12:41
It seems your VS headers are not in the include path or so, you can look for them in the most common folders (usually /usr/local/include, etc) and add extra include dir at configure step.
l33tmeatwad
13th June 2018, 15:26
Out of curiosity: What plugins use C++17? FFT3DFilter uses C++17 code and EEDI3m would not compile correctly with the macOS 10.11 compiler so I had to use GCC 8.1.0 for that as well.
SCXvid was removed from mediafire ^^
EDIT: Another question, if I had to compile a few plugins by myself which are not present in the list, what params should I use? Since I get an error about not finding vapoursynth.h.
Sorry, having xvid as part of the file name apparently automatically blocks it, but download is fixed now. As for the headers, they are included, but in the /Library/Frameworks/VapourSynth.framework/include/vapoursynth path. As for more information about compiling/building VapourSynth.framework, I started a full post with instructions on how to do so that can be found here (https://forum.doom9.org/showthread.php?p=1844300#post1844300).
Selur
13th June 2018, 18:07
Can't test before Sunday, just to get it straight what needs to be done to get a working Vapoursynth with all the plugins:
a. Download http://www.mediafire.com/folder/8xulo6r12tqbv which contains the installer and D2V Source, FFMS2 and LSMASHSource.
b. Go to https://www.mediafire.com/folder/wvdlnjapm1vvw and download the latest 7z from each folder, extract the dylib file and place it into the plugins folder (/usr/local/lib/vapoursynth)
Is that all or do I have to do anything else?
Are the dependencies compiled statically into the dylib files? Do the dependencies come with the installer or is there something else to do?
@Hybrid-users: no panic I'll bundle the plugins with the Hybrid release, so no hours downloading and extracting the files.
@l33tmeatwad: how about adding the .dylib files to a git repository on github or similar, so getting the latest versions could be done with a 'git clone --depth=1 <remote_repo_url>' ?
(always having to check all the folders by hand for updates and extracting the 7z files seem bothersome ;))
Cu Selur
Ps.: @l33tmeatwad: any change of an uninstaller for the base installer? Something that would remove everything the installer added to the system?
l33tmeatwad
13th June 2018, 19:34
Can't test before Sunday, just to get it straight what needs to be done to get a working Vapoursynth with all the plugins:
a. Download http://www.mediafire.com/folder/8xulo6r12tqbv which contains the installer and D2V Source, FFMS2 and LSMASHSource.
b. Go to https://www.mediafire.com/folder/wvdlnjapm1vvw and download the latest 7z from each folder, extract the dylib file and place it into the plugins folder (/usr/local/lib/vapoursynth)
Is that all or do I have to do anything else?
That is all that needs to be done.
Are the dependencies compiled statically into the dylib files? Do the dependencies come with the installer or is there something else to do?
Dependencies are shared libs that will need to be placed in the lib folder. The dependencies for things in the installer are included, but any plugin that lists a needed dependency above will need to be downloaded from the dependencies folder. The installer creates a folder on the desktop with shortcuts to the locations in which dependencies, executables, plugins, and scripts need to be placed.
@l33tmeatwad: how about adding the .dylib files to a git repository on github or similar, so getting the latest versions could be done with a 'git clone --depth=1 <remote_repo_url>' ?
(always having to check all the folders by hand for updates and extracting the 7z files seem bothersome ;))
Sorry, for now this is the distribution method, it is just the easiest for me to get things packaged up and distributed. I suppose I could repackage them in another format at a later time with something the native OS supports.
Ps.: @l33tmeatwad: any change of an uninstaller for the base installer? Something that would remove everything the installer added to the system?
It's on the to-do list. For now the main way to remove it is to delete /Library/Frameworks/VapourSynth.framework. If you want all of it removed you can run the following terminal commands:
sudo rm -rf /Library/Frameworks/VapourSynth.framework
sudo rm -rf /usr/local/bin/ffmsindex
sudo rm -rf /usr/local/bin/vspipe
sudo rm -rf /usr/local/bin/vspython
sudo rm -rf /usr/local/include/vapoursynth
sudo rm -rf /usr/local/lib/libvapoursynth-script.dylib
sudo rm -rf /usr/local/lib/libvapoursynth.dylib
Selur
13th June 2018, 20:19
Hope to do some testing on Sunday and report back. :)
l33tmeatwad
14th June 2018, 15:25
For anyone that is interested in compiling their own plugins that snagged the installer before, I have updated the R43 installer to include the pkgconfig files.
kolak
15th June 2018, 16:12
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1847, in vapoursynth.vpy_evaluateScript
File "", line 9, in
File "/Library/Frameworks/VapourSynth.framework/lib/python3.6/site-packages/havsfunc.py", line 1222, in QTGMC
dnWindow = core.fft3dfilter.FFT3DFilter(noiseWindow, sigma=Sigma, planes=CNplanes, bt=noiseTD, ncpu=FftThreads)
File "src/cython/vapoursynth.pyx", line 1561, in vapoursynth._CoreProxy.__getattr__
File "src/cython/vapoursynth.pyx", line 1416, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name fft3dfilter exists. Did you mistype a plugin namespace?
even if libfft3dfilter.dylib is in plugins folder and gcc 8.1.0 is already installed and up-to-date.
Had issues with mvtools (mv.Super) also but installing with brew and overwriting library fixed it.
l33tmeatwad
15th June 2018, 16:25
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1847, in vapoursynth.vpy_evaluateScript
File "", line 9, in
File "/Library/Frameworks/VapourSynth.framework/lib/python3.6/site-packages/havsfunc.py", line 1222, in QTGMC
dnWindow = core.fft3dfilter.FFT3DFilter(noiseWindow, sigma=Sigma, planes=CNplanes, bt=noiseTD, ncpu=FftThreads)
File "src/cython/vapoursynth.pyx", line 1561, in vapoursynth._CoreProxy.__getattr__
File "src/cython/vapoursynth.pyx", line 1416, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name fft3dfilter exists. Did you mistype a plugin namespace?
even if libfft3dfilter.dylib is in plugins folder and gcc 8.1.0 is already installed and up-to-date.
Had issues with mvtools (mv.Super) also but installing with brew and overwriting library fixed it.
Did you install GCC 8.1.0 through brew? If so, FFT3DFilter is looking for the LibstdC++ library file the directory above where it is located (in /Library/Frameworks/VapourSynth.framework/libs) and not in /usr/local/lib. You can either create a link or download library file itself. As for the issues with mv.Super, can you provide the error messages so I can investigate?
Side note, if you are already using brew to install some things, I would recommend using it to install vapoursynth as well, this will help to avoid any issues of finding dependencies as they will all be in a single location. The installer is intended to be used if you do not wish to install xcode & brew and creates it's own self contained environment to not conflict with anything already installed. This is to maintain it working and not break things if other updates are done (like if you are using brew and update FFmpeg beyond the version FFMS2 or LSMASHSource was compiled to be compatible with). This means that the location /Library/Frameworks/VapourSynth.framework will need it's own copy of each dependency, or you can create links to them.
kolak
15th June 2018, 16:47
Found LibstdC++ library (libstdc++.dylib) which was a link pointing to actual library. Made same link in Vapoursynth/Lib but still no luck (so VS/Lib/libstdc++.dylib is definitely pointing to actual library).
Well- I'm bit lost with it, so some things are done through brew, some not (or even compiled blindly by me). It's most likely mess.
Issue with mv.Super was I think related to some by in mvtools which are in your package. mvtools itself worked I assume, just some part if it (mv.Super) didn't o maybe this is just my understanding. By installing it with brew and then replacing your library all got fixed.
l33tmeatwad
15th June 2018, 16:53
Found LibstdC++ library (libstdc++.dylib) which was a link pointing to actual library. Made same link in Vapoursynth/Lib but still no luck (so VS/Lib/libstdc++.dylib is definitely pointing to actual library).
Well- I'm bit lost with it, so some things are done through brew, some not (or even compiled blindly by me). It's most likely mess.
Issue with mv.Super was I think related to some by in mvtools which are in your package. mvtools itself worked I assume, just some part if it (mv.Super) didn't o maybe this is just my understanding. By installing it with brew and then replacing your library all got fixed.
Would you mind sharing the script you used that cause issues with mv.Super? I'd like to test it out just to troubleshoot. If I need to fix something with the binary that's available I will.
kolak
15th June 2018, 16:56
import vapoursynth as vs
core = vs.get_core()
import havsfunc as haf
clip = core.ffms2.Source(source="")
clip = core.resize.Bicubic(clip=clip,format=vs.YUV422P8)
deint = haf.QTGMC(clip, Preset='Fast', TFF=True)
deint.set_output()
so just a call of QTGMC.
If you add grain retention:
deint = haf.QTGMC(clip, Preset='Fast', TFF=True, EZKeepGrain=1)
then issues with FFT3DFilter appears.
l33tmeatwad
15th June 2018, 17:04
import vapoursynth as vs
core = vs.get_core()
import havsfunc as haf
clip = core.ffms2.Source(source="")
clip = core.resize.Bicubic(clip=clip,format=vs.YUV422P8)
deint = haf.QTGMC(clip, Preset='Fast', TFF=True)
deint.set_output()
so just a call of QTGMC.
If you add grain retention:
deint = haf.QTGMC(clip, Preset='Fast', TFF=True, EZKeepGrain=1)
then issues with FFT3DFilter appears.
It is working with the provided dependency binaries from the download location with an install using the VapourSynth installer. It's possibly something related to the split location for all the dependencies.
Edit: I just noticed I didn't list MVTools as needing FFTW3, it does require that dependency.
kolak
15th June 2018, 17:40
Yes, it was probably failing due to missing dependencies (due to mess on my system).
Hm... still have to fight FFT3DFilter problem.
I did uninstall vs with brew and used installer, so it should work.
Does FFT3DFilter needs some other library (other than. LibstdC++)?
What about FFTW3 itself (I think I actually tried copying all of its libraries into VS/Lib folder)?
l33tmeatwad
15th June 2018, 17:48
Yes, it was probably failing due to missing dependencies (due to mess on my system).
I just checked and it also needs FFTW3 as well, sorry about that, in the process of getting all these up all in one day I missed marking those two. The easy way to fix would be to downloaded the provided dependencies and place them in the libraries folder (either through the shortcuts on the desktop or by browsing to /Library/Frameworks/VapourSynth.framework/lib). Having both of those should fix the issue.
Hm... still have to fight FFT3DFilter problem.
I did uninstall vs with brew and used installer, so it should work.
Does FFT3DFilter needs some other library (other than. LibstdC++)?
What about FFTW3 itself (I think I actually tried copying all of its libraries into VS/Lib folder)?
It actually requires both libstdc++.6.dylib & libgcc_s.1.dylib. If you ever have issues with plugins/library files you can browse to that directory using terminal and run the command otool -L plugin.dylib to see what dependencies it needs. Here's what it looks like for FFT3Dfilter:
otool -L libfft3dfilter.dylib
libfft3dfilter.dylib:
libfft3dfilter.dylib (compatibility version 0.0.0, current version 0.0.0)
@loader_path/../libfftw3f_threads.3.dylib (compatibility version 9.0.0, current version 9.8.0)
@loader_path/../libfftw3f.3.dylib (compatibility version 9.0.0, current version 9.8.0)
@loader_path/../libstdc++.6.dylib (compatibility version 7.0.0, current version 7.25.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
@loader_path/../libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
kolak
15th June 2018, 18:23
Ok- maybe we are getting closer :)
Yes, with this command I can check things myself.
l33tmeatwad
15th June 2018, 18:27
Ok- maybe we are getting closer :)
Yes, with this command I can check things myself.
Instead of using the brew copies, try using the ones I provided in the download location above to see if that resolves your issues.
kolak
15th June 2018, 18:43
I had 4 dependencies. Made links to them, but still not working :)
kolak
15th June 2018, 18:45
Instead of using the brew copies, try using the ones I provided in the download location above to see if that resolves your issues.
But you have only links to plugins, not to dependencies (what goes to libraries)?
I already copied plugins libraries.
Getting lost.
l33tmeatwad
15th June 2018, 18:47
But you have only links to plugins, not to dependencies (what goes to libraries)?
I already copied plugins libraries.
Getting lost.
In the downloads link there is a folder called "Dependencies" that includes all the dependencies for any of the plugins.
To be completely specific about every dependencies you need, you will need links or copies of the following in /Library/Frameworks/VapourSynth.framework/lib:
libfftw3f_threads.3.dylib
libfftw3f.3.dylib
libgcc_s.1.dylib
libstdc++.6.dylib
kolak
15th June 2018, 20:25
Sorry, makes sense now.
I have those libs. Lets see if copying yours will fix it.
update: it's working now with your libraries. It's very possible it would work with main also, but I had missing dot in one of the names!
Thank you for your patience.
l33tmeatwad
15th June 2018, 20:32
Sorry, makes sense now.
I have those libs. Lets see if copying yours will fix it.
I was looking into brew installs for everything and it appears that it does not place the gcc libs in the lib path for some odd reason...I have updated the first post with instructions on how to get brew installs working properly.
jackoneill
16th June 2018, 09:52
1. As of today, if you compile MVTools from git, you can pass -static-libstdc++ -static-libgcc so you don't have to worry about shipping those libraries.
If using the latest meson from git:
mkdir build; cd build
meson ../ -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
If using meson 0.46.x it's a bit different due to a bug:
mkdir build; cd build
meson ../
meson configure -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
(libtool would strip these from LDFLAGS so you have to use meson.)
2. I don't use anything fancier than C++11, so Apple's clang compiler should be able to compile MVTools. What errors do you get?
l33tmeatwad
16th June 2018, 13:18
1. As of today, if you compile MVTools from git, you can pass -static-libstdc++ -static-libgcc so you don't have to worry about shipping those libraries.
If using the latest meson from git:
mkdir build; cd build
meson ../ -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
If using meson 0.46.x it's a bit different due to a bug:
mkdir build; cd build
meson ../
meson configure -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
(libtool would strip these from LDFLAGS so you have to use meson.)
2. I don't use anything fancier than C++11, so Apple's clang compiler should be able to compile MVTools. What errors do you get?MVtools is fine for those libs, the fftw dependency was the one they were missing. FFT3DFilter is the one they needed the gcc libs for as it has c++17 code.
jackoneill
16th June 2018, 17:39
MVtools is fine for those libs, the fftw dependency was the one they were missing. FFT3DFilter is the one they needed the gcc libs for as it has c++17 code.
Ah, I mixed them up.
l33tmeatwad
26th June 2018, 22:55
Added DeblockPP7, RawSource, RemapFrames, and Retinex. Will be working on more of my backlog of plugins to compile this week. If there are new plugins to add please PM Selur as he is helping me to manage the list.
ChaosKing
26th June 2018, 23:28
You can copy paste my list https://forum.doom9.org/showthread.php?t=175529
l33tmeatwad
27th June 2018, 16:57
While I try to test every plugin to make sure it doesn't crash before uploading, I will mark any that are not tested that I add. I just added VFR to CFR and because I have nothing to test with I decided to just go ahead and add it. If anyone can test it to verify it works that would be awesome (I know it loads).
l33tmeatwad
28th June 2018, 22:50
Added: AutoCrop, BM3D, CNR2, COlorBars, CombMask, DeCross, DeLogo, FillBorders, Histogram, HQDN3D, & SmoothUV
Updated: aWarpSharp2
Hi, VapourSynth Editor crashes when i launch the application. I'm running mac OS Sierra (10.12.6).
It only happens when the plugins folder is not empty.
l33tmeatwad
2nd July 2018, 02:04
Hi, VapourSynth Editor crashes when i launch the application. I'm running mac OS Sierra (10.12.6).
It only happens when the plugins folder is not empty.
How did you install VapourSynth, compiling, brew, or the installer? Could you provide the crash log?
l33tmeatwad
12th July 2018, 14:27
Ps.: @l33tmeatwad: any change of an uninstaller for the base installer? Something that would remove everything the installer added to the system?
I looked into several options on how to best approach this and decided to created a .command file that can be run to remove all of the files added by the installer. I will be packaging it into the installer soonish, but for now I placed it in the installers download folder.
l33tmeatwad
19th July 2018, 11:25
R44 is now available. The uninstaller script is included with that and will be for future installers as well. It can be run from the desktop shortcut or by running the terminal command removevs.
ChaosKing
29th July 2018, 13:47
Found this https://github.com/Bl4Cc4t/homebrew-vsplugins/tree/master/Formula
Maybe it can simplify things for you.
l33tmeatwad
30th July 2018, 18:21
Found this https://github.com/Bl4Cc4t/homebrew-vsplugins/tree/master/Formula
Maybe it can simplify things for you.Good concept, I have to do a lot of custom stuff to make them compile and work for different types of installs, but I should probably start creating scripts like these.
l33tmeatwad
26th October 2018, 16:18
Been a bit busy with life, will try to get the installer updated to R45 on Sunday.
l33tmeatwad
29th October 2018, 22:30
The installer for R45 is now up, I used the 45.1 source to compile it.
l33tmeatwad
23rd December 2018, 06:56
The following plugins were updated:
DFTTest
FFT3DFilter
MVTools
NNEDI3
TDeintMod
l33tmeatwad
8th July 2019, 16:18
VapourSynth R46 installer is now up, only updates are VapourSynth (R46) and Zimg (2.9.1).
l33tmeatwad
10th August 2019, 04:24
VapourSynth R47 installer is now up, only updates are VapourSynth (R47.1) and Zimg (2.9.2).
l33tmeatwad
18th August 2019, 18:43
VapourSynth R47.2 installer is now up, only update was VapourSynth (R47.2).
l33tmeatwad
2nd November 2019, 01:37
VapourSynth R48 installer is now up, only update was VapourSynth (R48).
karesch
27th November 2019, 17:09
Hi Folks,
I'm an experienced AviSynth user and now I've tried to install VapourSynth on Catalina using brew. Used the method recommended by l33tmeatwad (creating autoload folders, Gatekeeper disabled). Installed ffms2 using brew, as brew recommended during VapourSynth install. Installed a few plugins in the autoload folder.
But, when I try to start the most basic scripts in VapourSynth Editor:
from vapoursynth import core
video = core.ffms2.Source(source='/Users/karesch/Movies/gabor.vob')
video = core.std.Transpose(video)
video.set_output()
nothing happens, the log window shows:
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1946, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 1947, in vapoursynth.vpy_evaluateScript
File "", line 2, in
File "src/cython/vapoursynth.pyx", line 1679, in vapoursynth._CoreProxy.__getattr__
File "src/cython/vapoursynth.pyx", line 1539, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name ffms2 exists. Did you mistype a plugin namespace?
I thought that somehow the vapoursynth PluginDirs are not set correctly, but they seem to be fine, and the /usr/local/lib/vapoursynth includes:
ffmsindex libfft3dfilter.dylib
finesharp.py libfftw3f.3.dylib
havsfunc.py libfftw3f_threads.3.dylib
libavcodec.58.dylib libmiscfilters.dylib
libavformat.58.dylib libmorpho.dylib
libavresample.4.dylib libmvtools.dylib
libavutil.56.dylib libnnedi3.dylib
libd2vsource.dylib libremovegrain.dylib
libdeblock.dylib libswscale.5.dylib
libdepan.dylib libvinverse.dylib
libeedi3.dylib libvivtc.dylib
libffms2.4.dylib nnedi3_weights.bin
libffms2.dylib
Does anybody know, what am I doing wrong? Are there further links to be set up?
Thanks a lot for help.
update:
found a solution, now it works
Apparently The issue was that a few dylib files were not set executable by brew.
l33tmeatwad
2nd December 2019, 16:11
Glad you found a solution. Side note, I should probably fix my instructions, because you don't need to disable gatekeeper unless you are using the package installer (not brew).
Frank Booth
30th December 2019, 06:32
Hello,
I've come to this forum because I need to deinterlace some SD video, and upscale it to HD. As I'm sure you know the built in deinterlacers in video editors produce quite severe jaggies, and I'm looking for a better result. However I am not a programmer, and I feel overwhelmed by the in this new environment. What I'm writing to ask if there's anyone who would be willing to do some hand holding, to help me install the software and run a script to get a high quality deinterlace. I am running macOS 10.13
Thank you in advance. Apologies if I have posted in the wrong place, I'm new to the forums and wasn't sure where else to post.
l33tmeatwad
2nd January 2020, 20:53
Hello,
I've come to this forum because I need to deinterlace some SD video, and upscale it to HD. As I'm sure you know the built in deinterlacers in video editors produce quite severe jaggies, and I'm looking for a better result. However I am not a programmer, and I feel overwhelmed by the in this new environment. What I'm writing to ask if there's anyone who would be willing to do some hand holding, to help me install the software and run a script to get a high quality deinterlace. I am running macOS 10.13
Thank you in advance. Apologies if I have posted in the wrong place, I'm new to the forums and wasn't sure where else to post.
If all of this is a little overwhelming I would recommend my VapourSynth 101 guide (http://www.l33tmeatwad.com/vapoursynth101) which goes step by step to walk you through how everything works and how to use filters. As for installing, the VapourSynth installer linked on the first post of this thread may be a good start, however if you do not want to deal with downloading plugins then AMVpack (https://www.amv101.com/software/amvpack) may be a good option as well. AMVpack was a project I started years ago that helps (AMV) video editors get started quickly and easily with advanced tools so they don't have to deal with the complications of setting everything up or compiling things.
Frank Booth
21st January 2020, 04:04
Thank you meatwad! I appreciate the help! I'll follow the guide and report back here on my progress :D
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.