View Full Version : VapourSynth Installer, Applications, & Plugins for macOS (Intel)


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

yoon
1st July 2018, 20:41
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

Frank Booth
29th January 2020, 11:24
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.

I have followed your instructions and have VS working up to a point. I don't really know what I'm doing but I have the following script working because the preview works.

import vapoursynth as vs
core = vs.get_core()
video = core.ffms2.Source(r'/Volumes/music/forencoding/gabrielle.mov')
video.set_output()



When I attempt the following script (which I have simply copied from your thread)..

import vapoursynth as vs
core = vs.get_core()
import havsfunc as haf

clip = core.ffms2.Source(source="/Volumes/music/forencoding/gabrielle.mov")
clip = core.resize.Bicubic(clip=clip,format=vs.YUV422P8)
deint = haf.QTGMC(clip, Preset='Fast', TFF=True)
deint.set_output()

I get the following error:

Failed to evaluate the script:
Python exception: Resize error: Matrix must be specified when converting to YUV or GRAY from RGB

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1847, in vapoursynth.vpy_evaluateScript
File "/Users/macbook/Desktop/first script.vpy", line 16, in
File "src/cython/vapoursynth.pyx", line 1739, in vapoursynth.Function.__call__
vapoursynth.Error: Resize error: Matrix must be specified when converting to YUV or GRAY from RGB

What I am trying to achieve is the highest quality deinterlace. I am not requiring any other functionality. Deinterlacing is my only goal. Can you please walk me through the steps, in language that would suit somebody who is completely over his head (filmmaker not programmer)? Also does the AMV pack include QTGMC, which I understand is the best deinterlacer? Thank you so much.

Lypheo
29th January 2020, 13:05
I get the following error:

Failed to evaluate the script:
Python exception: Resize error: Matrix must be specified when converting to YUV or GRAY from RGB

As the error message very clearly states, you need to specify a YUV matrix. Try:
core.resize.Bicubic(clip=clip,format=vs.YUV422P8, matrix_s="709")

l33tmeatwad
29th January 2020, 18:58
I will update my guide to point out RGB sources need to be converted to use certain filters earlier in the guide to avoid this in the future, thanks for catching that.

Myrsloik
29th January 2020, 20:05
I will update my guide to point out RGB sources need to be converted to use certain filters earlier in the guide to avoid this in the future, thanks for catching that.

Poke the script authors too, proper checks are more helpful.

Nico8583
14th February 2020, 11:55
Hi, I would like to try VapourSynth for Windows to replace AviSynth but I don't find FFMS2 or L-SMASH plugin. Any link to download ? Thank you !

shph
20th March 2020, 07:10
l33tmeatwad, i would like to appreciate you for sharing those plugins and installer packages. This definitely simplifies a lot of things.
As a new user, i attempt to connect VapourSynth to Hybrid.app on macOS and expect to use QTGMC deinterlace. I must admit that it was rather complicated adventure. I spend more than week to collect info from endless different forums to make it work. In the end i create package and guide that finally just works out of box:

VapourSynth + QTGMC Deinterlace + Hybrid UI FAQ for macOS. Currently it discussed and tested here https://forum.selur.net/showthread.php?tid=1279&pid=6894#pid6894 and here https://forum.blackmagicdesign.com/viewtopic.php?f=3&t=109259

I also have huge request for your VapourSynth Installer - Please include all plugins and Hybrid scripts inside.

It is total pain to download plugins one by one from Mediafire (it don't allow folder download for free).
People just lost inside those endless folders, versions and variations of Plugins and scripts, and this is the main source of problems: Missing Plugins, Missing Dependencies, Dependencies placed in wrong folder, Missing, Scripts, Wrong location, Alias link deleted by accident, Original .dylib file replaced and Alias link no more works. Error, Error, Error.

Why don't just include into VapourSynth installer all possible plugins, dependencies and scripts so it will work for any possible task and with any possible UI wrapper without additional adjustment? Full plugins package weights only 50MB but may save weeks and months of wasted time.

P.S. Hybrid is no more developed for macOS, but it still works ok. As you may see in Hybrid forum, i was able to update FFmpeg and MKVToolNix inside Hybrid. Selur also suggsted to update MP4Box binary and .dylib files, but he is not sure which files are safe to replace on macOS. Maybe you can suggest something here: https://forum.selur.net/showthread.php?tid=1279&pid=6903#pid6903

l33tmeatwad
20th March 2020, 15:22
I originally had started out with all the plugins compiled into one package, but that is a bit much if someone just wants to just upgrade VapourSynth. I understand it can be a pain to download all the plugins individually, however unless I find a better way to host them it is just how it has to be for now.

The installer was made with the software Packages (http://s.sudre.free.fr/Software/Packages/about.html), my recommendation to make it easier for others to use Hybrid would be to create a companion installer that has the dependencies and places them where they need to go. If you want I am more than happy to help you get started and answer any questions. I'm involved in a lot of different things and I just don't have the capacity to cater to every software that has certain dependancies, I actually haven't had enough time to keep up to date with all the plugins since no one else is contributing at this time.

As for upgrading stuff, I would not recommend replacing system files at all, I would replace things either in the app itself or self contain them like I did with the VapourSynth installer and create link files if needed. Dependency locations for dylib files can actually be changed, if you need any help with this feel free to contact me as I know it can get a bit complicated trying to avoid replacing anything on the system level.

shph
21st March 2020, 09:21
For those who just wants to upgrade VapourSynth, you may add option to installer to select VapourSynth with basic plugins or VapourSynth with all plugins selected with checkboxes. It is so simple. Almost every Mac installer pkg have option like this.

New versions of FFmpeg and MKVToolNix i replaced inside Hybrid works just great. Few people on forums (including me) tested it over week without any issues. The main reason for me to use updated FFmpeg - is updated version of ProRes codec with a lot of bugfixes.
As i understand MP4Box is sort of h264 related part so it is less critical for me. If replacing dylib files is not safe, let's keep things without changes yet.

Selur
21st March 2020, 09:30
to clarify about the .dylib files: the files I meant are not system files but files inside the MacOS folder of the Hybrid.app which would only influence tools in the Hybrid MacOS folder not system wide, so only thin that can break through replacing them is a tool in the Hybrid MacOS folder to not work

l33tmeatwad
28th March 2020, 20:27
VapourSynth R49 installer is now up with Zimg updated to 2.9.3 and Python updated to 3.7.6. Make sure to backup any added scripts from site-packages before installing as it will remove the Python 3.6 folders. You can access the site-packages folder from the "Add Scripts" shortcut in the VapourSynth desktop folder.

UPDATE: I may update this for Python 3.8 later, however I wanted to go ahead and get this out there and I had already updated my framework to 3.7 and knew it worked.

l33tmeatwad
10th May 2020, 04:10
I apologize for the delay on getting the R50 installer out, working on rebuilding the base libraries and upgrading Python to 3.8. Should have it out Monday or Tuesday due to my schedule.

l33tmeatwad
12th May 2020, 01:42
VapourSynth R50 Installer is up, lots of things were updated, which includes Cython (0.29.17), FreeType (2.10.2), Fribidi (1.0.9), LibWEBP (1.1.0), Python (3.8.2), and VapourSynth (R50). As with the last update, since it's moving from 3.7 to 3.8 (should be the last shift for a while) you will need to backup site-packages (the scripts shortcut on the desktop) before installing.

l33tmeatwad
13th May 2020, 15:10
Forgot I had not added it, but D2V Witch v3 is now available.

l33tmeatwad
14th May 2020, 03:41
Updated & recompiled the plugins D2VSource, FFMS2, LSMASHSource with static libs for the dependancies so that they won't need to be downloaded separately.

l33tmeatwad
17th May 2020, 00:52
While everyone should be using R50, I went ahead and updated the R49 installer to have Python 3.8 as well. In addition to that, I started the move away from shared dependancies for most things so it's a bit less complicated. I will be looking into updating some plugins that can be compiled with the dependencies build in to reduce some complications for less experienced users.

shph
17th May 2020, 01:33
Thanks for release again! Hope VapourSynth 50 on macOS will work in Hybrid same as 49 worked.
I see you upload a folder with scripts "havsfunc-200414" Are those scripts required for VapourSynth-R50? Should i put them to python "site-packages" folder?

shph
17th May 2020, 02:04
Updated & recompiled the plugins D2VSource, FFMS2, LSMASHSource with static libs for the dependancies so that they won't need to be downloaded separately.

So VapourSynth 50 Installer installs old versions of those plug-ins?
Should i just download new versions from MediaFilre folder and replace them?

This makes things even more complicated for new users...

l33tmeatwad
17th May 2020, 02:06
So VapourSynth 50 Installer installs old versions of those plug-ins?
Should i just download new versions from MediaFilre folder and replace them?

This makes things even more complicated for new users...
No, R50 should have the latest version, however with those I chose to use the shared libs as it would have bloated the installer. The downloadable versions are just there so if someone compiles VapourSynth or uses brew to install it they can just snag those plugins without the need for also snagging dependancies.

shph
17th May 2020, 02:09
Ok. Got it.
By the way it seems some mistake in naming:
VapourSynth R50: libffms2.dylib
Downloaded from Mediafire: libffms2.4.dylib

l33tmeatwad
17th May 2020, 02:16
Ok. Got it.
By the way it seems some mistake in naming:
VapourSynth R50: libffms2.dylib
Downloaded from Mediafire: libffms2.4.dylib
Just fixed that. I try to keep things the same across the board, but I messed that one up as it should just be libffms2.dylib.
Thanks for release again! Hope VapourSynth 50 on macOS will work in Hybrid same as 49 worked.
I see you upload a folder with scripts "havsfunc-200414" Are those scripts required for VapourSynth-R50? Should i put them to python "site-packages" folder?
I just uploaded that with the date I put the package together because someone on Twitter was having a hard time getting hasvfunc to work and I was trying to help them make sure they had everything.

l33tmeatwad
11th June 2020, 03:16
Added D2V Witch v4.

l33tmeatwad
12th June 2020, 21:55
BM3D, DCTFilter, DFTTest, EEDI3m, FFT3DFilter, MVTools, and NNEDI3CL were all just updated or recompiled using static libs for the dependancies so that the dependancies will not need to be downloaded separately. I have removed the previous versions and the dependancies to avoid confusion and issues.

shph
13th June 2020, 01:07
Thanks for update! Can you please explain further how to deal with your new "recompiled using static libs" updates? I just usually install all your plug-ins from MediaFire folder.
Is it enough just replace old versions with new versions of BM3D, DCTFilter, DFTTest, EEDI3m, FFT3DFilter, MVTools, and NNEDI3CL in vapoursynth folder?
Could it be a conflict if i didn't delete old dependencies? I'm not sure which exact dependencies use each of these plug-ins. What if some same dependencies used by other plug-ins?

l33tmeatwad
13th June 2020, 01:09
They just don't need the dependencies anymore, they are built in. This makes the files slightly larger, but prevents the need to download additional stuff. Replacing the old ones will work fine.

shph
13th June 2020, 02:20
Ok, seems works. I updated VapourSynth + Plugins + Scripts + Hybrid package here as usual: https://forum.doom9.org/showthread.php?t=181299

l33tmeatwad
15th June 2020, 19:30
Wobbly updated.

l33tmeatwad
16th June 2020, 15:59
Added or Updated the following plugins:
AddGrain
Descale
Fix Telecined Fades
HQDN3D
MinSharp
QRCodeSource
RemapFrames
Retinex
SangNom
SCrawl
SmoothUV
TCanny
ToneMap
VideoScope
W3FDIF

l33tmeatwad
17th June 2020, 04:36
Noticed the FFMS2 included in the installer was the old copy that links to Libz even though I had removed it in favor of using the static lib. While it still works without it is possible it may have some issues with random stuff so I updated the R49 & R50 installers with a new copy and also updated LSMASHSource to the latest release. There is also a new copy of LSMASHSource in the plugin downloads location with the static libs as well and that copy uses FFmpeg 4.3.

l33tmeatwad
17th June 2020, 19:49
Added the following plugins:
MiniDeen
SceneChange
SurfaceBlur
TimeCube
tc2cfr
TNLMeans

l33tmeatwad
18th June 2020, 01:45
Small update, I've been working on a backlog of requests for a while and I'm close to finishing that, however there are a few that were requested that will not be added for following reasons:

depan: Depreciated
bilateralgpu: Depreciated
IT: Crashes
RemoveGrainSP: Crashes
DGMVSource: Windows Only
vcfreq: Windows Only
vcmod: Windows Only
vcmove: Windows Only
vctrans: Windows Only
VSFilterMod: Windows Only

This does not mean these will never be compiled and added, however I do not have the time right now to troubleshoot and submit pull requests or fixes for ones that are broken and some are just optimized for Windows so much that they might need to be entirely reworked.

shph
18th June 2020, 05:11
MinSharp and TimeCube archives are corrupted:
https://i.imgur.com/M5VEyRW.jpg
https://i.imgur.com/p1Dz0qJ.jpg

shph
18th June 2020, 06:11
Noticed the FFMS2 included in the installer was the old copy that links to Libz even though I had removed it in favor of using the static lib. While it still works without it is possible it may have some issues with random stuff so I updated the R49 & R50 installers with a new copy and also updated LSMASHSource to the latest release. There is also a new copy of LSMASHSource in the plugin downloads location with the static libs as well and that copy uses FFmpeg 4.3.

So if i install your new version of VapourSynth-R50 there is no need to install additional separate LSMASHSource FFMS2 plugins?

By the way is it ok that ffmsindex file installed by VapourSynth-R50 (/Library/Frameworks/VapourSynth.framework/bin/ffmsindex) and ffmsindex bundled in FFMS2-2.23.1 have different size?

How do you think, may static libs versions affect apps like Hybrid?

l33tmeatwad
18th June 2020, 15:24
Wow, thanks for catching that, not sure what happened but they are fixed now!

Okay, now for the static vs shared libs discussion...to over-simplify things, when using a static library that it's like that lib is copied into the plugin instead of just adding a location of where the external lib is. I have transitioned everything over to using static libs so that they are more portable since most of the libs they link to are not very large. That said, in the installer I choose for D2V Source, FFMS2, and LSMASHSource to link to FFmpeg libs to avoid having the installer size extra bloated. The static versions are available for download for users that installed via brew or compiled the source and want an easy way to snag those plugins. Most of the time I compile them at the same time so they are essentially the same plugin just one links and the other has the copy internally for FFmpeg libs.

Now, as for the updated installer, when I was previously linking to all the library files FFMS2 also linked to libz, which I had removed from the installer since all the other plugins that linked to it were built with the static version. I did however forget to swap out the ffms2 plugin, which means that it would not be able to run any functions built in that needed it, however that just means it would either error or run differently based on how it was actually programed. I ran a few tests on my test machine and it appeared to work normally, however it may be best to either re-install OR just snag the static version for now just to avoid any issues.

Hopefully this explanation clarifies a few things.

shph
22nd June 2020, 18:07
Ok, so if same D2V Source, FFMS2, and LSMASHSource included in installer, i will not touch same separate plug-ins.
So with new static plug-ins there is no need to install additional .dylib Dependencies to /Library/Frameworks/VapourSynth.framework/lib/ ?
I guess you removed those Dependencies from Mediafire
https://i.imgur.com/RZxxEHt.jpg

l33tmeatwad
22nd June 2020, 19:58
Ok, so if same D2V Source, FFMS2, and LSMASHSource included in installer, i will not touch same separate plug-ins.
So with new static plug-ins there is no need to install additional .dylib Dependencies to /Library/Frameworks/VapourSynth.framework/lib/ ?
I guess you removed those Dependencies from Mediafire
https://i.imgur.com/RZxxEHt.jpg
Yes I did, and I removed the copies of the plugins that needed them as well.

l33tmeatwad
22nd June 2020, 20:01
In light of the recent news from Apple, I will do what I can to continue this thread to make life easier for macOS users, however I doubt I will have the cash flow to acquire a new Mac when they come out. Anyone willing to help out by building things on the new hardware once it's out feel free to reach out to me.

l33tmeatwad
12th July 2020, 18:13
I've been having problems on Catalina where using any QTGMC option above medium leads to an instant crash.

This is the script that has been working fine until recently:



I don't think havsfunc itself is the problem because QTGMC options up to "medium" work, but anything above like "slower" doesn't. There is no error message, VS editor simply crashes.

FFmpeg reports:


This applies to both the AMVPack version and the standalone installer with plugins added.
Unfortunately I'm unable to replicate this issue, is there a crash log you could post so I can narrow down exactly what plugin is crashing for you and why?

l33tmeatwad
13th July 2020, 14:57
That does appear to be the issue, found some old copies you can try, they will need the dependency placed in the Library Directory.

MVTools v19 (http://www.mediafire.com/file/e8ybvc3i7t1mn51/MVTools-v19.tar.gz/file)
MVtools v20 (http://www.mediafire.com/file/orzv1wojih8i571/MVTools-v20.tar.gz/file)

Dependency: FFTW (http://www.mediafire.com/file/7v9hu8j3chrnn7g/FFTW3F-3.3.8.tgz/file)

l33tmeatwad
13th July 2020, 18:09
Tested and can confirm it does work with the older version.

It seems someone over at the Hybrid forum (https://forum.selur.net/showthread.php?tid=1279&page=5) also reported the same problem.
I'll compile a few of the older versions, if you don't mind testing to see what the last working version is that would be helpful for narrowing down the issue.

l33tmeatwad
14th July 2020, 20:06
The two older copies you posted work without problems. I believe the last one that worked without issues for me was the one included in January/May(?) release of AMVPack and the last 2-3 updates of Vapour already had the crashing issue.
There were releases since then, if you could test those after I compile them it would be helpful for sending information along to the developer. I also want to recompile those with the dependency built in to make sure that's not somehow causing the issue.

l33tmeatwad
19th July 2020, 21:36
Added MVtools versions 20 to 22 to the downloads, if anyone who had issues with v23 please test and post the results here.

shph
20th July 2020, 11:04
I see the size is different. Old v20 was about 1 MB, new v20 and v21 are about 2MB. New v22 and v23 are about 4.5 MB Are they all self contained versions now?
By the way, from real life point of view what is the benefit to use newer version? Is it some improvement quality or speed? Or just some new special options? I guess dramatic changes in v22 and v23 size means some fundamental changes in plug-in. Maybe just stay with stable v20?

l33tmeatwad
20th July 2020, 13:15
I see the size is different. Old v20 was about 1 MB, new v20 and v21 are about 2MB. New v22 and v23 are about 4.5 MB Are they all self contained versions now?
By the way, from real life point of view what is the benefit to use newer version? Is it some improvement quality or speed? Or just some new special options? I guess dramatic changes in v22 and v23 size means some fundamental changes in plug-in. Maybe just stay with stable v20?
The old version had an external dependency (fftw) and these have it built in for simplicity as needing to download and place extra dependencies confused some users. As with any software, new versions add features and the goal is to improve speed, efficiency, quality, and stability, however sometimes random glitches pop up and only affect certain systems so developers don't realize there is an issue. In this situation finding out what version was the first to be broken will hopefully norrow down what the problem is so it can be fixed in future versions.

AdamCarter
24th July 2020, 03:28
HI all i think i noted the qtgmc slow, slower, slowest And placebo crash, but the mvtools fix seems to fix that. Ii also have crashes using denoisers. Only one that seems to work is fftd3d. Would l0ve to try mosquitoNR but its not available on the mac as far as i can tell.

l33tmeatwad
24th July 2020, 15:26
I all i think i noted the qtgmc slow, slower, slowest And placebo crash, but the mvtools fix seems to fix that. Ii also have crashes using denoisers. Only one that seems to work is fftd3d. Would l0ve to try mosquitoNR but its not available on the mac as far as i can tell.
What other filters are crashing for you? Also if there is a filter you'd like to see complied feel free to look to the source code here and I'll see what I can do.

AdamCarter
24th July 2020, 22:19
What other filters are crashing for you? Also if there is a filter you'd like to see complied feel free to look to the source code here and I'll see what I can do.

Hi l33tmeatwad
First off huge thanks. Secondly, i will be checking the otheR filters. I know MCTemporaldenoise wasn’t working, really any denoiser other than fftd3d causes crash.

For other filters, I have a ton of old 80s cartoons, that it’s clear that either the source material they pulled from was lacking or the effort they used to encode it was next to none.

I know the windows version of hybrid has the ability to use waifu2x-caffe Or the gpu accelerated version waifu2x-vulcan i am looking for that or anime4k. Not necessarily to increase the resolution, but i really like the built in AI denoising specific for animation. They really clean up the lines, etc.

https://github.com/lltcggie/waifu2x-caffe/releases

https://github.com/f11894/waifu2x-ncnn-vulkan-GUI

https://github.com/bloc97/Anime4K

Thank you in advance, i dont mind if it was stand alone, but ultimately would love for the above denoisers would work on the source material before i encode to x264 or 265, so having it built into hybrid would just make it easier.


Is this your website https://www.l33tmeatwad.com/vapoursynth101/using-filters-functions
OMG, OMG, OMG if it is

Dude i wan’t to pick your brain about animation encodes.

Like i said i have tons of 80s cartoons, that could do with a Bit of noise reduction, i have the PAL dvds of NTSC cartoons which were poorly converted with blended frames like smurfs and teen wolf. Would love to pick your brain on encoding settings too.

l33tmeatwad
27th July 2020, 02:07
Yeah that's my website, feel free to hit me up on discord sometime. As for the waifu filters, caffe was depreciated and the other I was having a hard time getting that to work on older versions of macOS so I haven't gotten around to testing newer version yet. I'll look into the Anime4K one in the next few weeks as I find time.

AdamCarter
27th July 2020, 03:30
Yeah that's my website, feel free to hit me up on discord sometime. As for the waifu filters, caffe was depreciated and the other I was having a hard time getting that to work on older versions of macOS so I haven't gotten around to testing newer version yet. I'll look into the Anime4K one in the next few weeks as I find time.

Whats the discord link?

Anime4k will apparently incorporate this denoiser.
https://github.com/bloc97/Anime4K/blob/master/glsl/Denoise/Anime4K_Denoise_Heavy_CNN_L.glsl

AdamCarter
30th July 2020, 06:51
Yeah that's my website, feel free to hit me up on discord sometime. As for the waifu filters, caffe was depreciated and the other I was having a hard time getting that to work on older versions of macOS so I haven't gotten around to testing newer version yet. I'll look into the Anime4K one in the next few weeks as I find time.

Take a look at this
https://github.com/k4yt3x/video2x

Here is a demo
https://youtu.be/mGEfasQl2Zo

l33tmeatwad
5th August 2020, 21:23
I apologize for the delay, I was on vacation, the installer for VapourSynth R51 is now up.

shph
8th August 2020, 04:36
I just notice that Selur updated Hybrid Scripts about a month ago https://github.com/Selur/VapoursynthScriptsInHybrid so today i download them and try to use.
As usual i put a copy inside Hybrid.app and another copy to /Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/.
With new scripts and Very Slow or Placebo deinterlace settings i got: Aborting '06_15_03_5110_02_video' due to: ERROR
I try VS 50 or 51 and different versions of MVTools and got same error. So it is definitely some problem with updated script itself or with macOS version compatibility.

Here i attach old working scripts to compare, if it helps.

Selur
8th August 2020, 09:13
newer QTGMC uses neo_fft3d (https://github.com/HomeOfAviSynthPlusEvolution/neo_FFT3D/releases) instead of fft3dfilter, so without neo_fft3d this will cause a crash.

AdamCarter
8th August 2020, 17:37
Can’t wait for the newest version of hybrid with updated qtgmc/neo-fftd.

Guess will gsve to wait for neo-Fft3d to be mac compiled first?

l33tmeatwad
9th August 2020, 13:53
Working on patching the neo plugin, it's got some issues that keep it from compiling on macOS.

Update: Looks like Sierra does not support compiling with some of the features it uses, I will need to find which version has the features needed to compile it.

shph
13th August 2020, 04:41
Why don't use Mojave 10.14.6 ? It is still up to date system and same time the last version that support 32 bit apps.

l33tmeatwad
13th August 2020, 04:53
Why don't use Mojave 10.14.6 ? It is still up to date system and same time the last version that support 32 bit apps.I mean I could and then compile with version compatibility flags, however I usually just find it easier to compile and test on the oldest OS version I plan for it to work on to make sure it doesn't crash or that I can gather a crash report. As for 32-bit support, why would that matter? Apple hasn't had a computer with a 32-bit processor since like 2006 and most of those lost support long before Mojave. The main reason to be concerned about 32-bit support would be if you were writing an application that used an external library that you only had access to 32-bit binaries for.

shph
13th August 2020, 05:22
Hybrid on macOS still use some 32 bit components, so Mojave is the last working system if maybe you want to test something with Hybrid.app

l33tmeatwad
13th August 2020, 20:01
Hybrid on macOS still use some 32 bit components, so Mojave is the last working system if maybe you want to test something with Hybrid.appFrom my understanding the developer has dropped support, so trying to maintain support will be a bit of a losing battle as the switch to ARM is going to cause the application to eventually become obsolete. Considering the complies I'm offering support back to 10.12 currently, there should be no issue with compatibility unless core functions are charged that break compatibility with the application itself.

l33tmeatwad
15th August 2020, 04:21
So I've got bad news for those of you looking to keep Hybrid up to date by using the neo fft3d plugin to allow the scripts to be updated...there are features used in the neo plugin that requires Catalina for it to compile...I will upload the plugin, but it will require Catalina or higher to run, so good luck!

AdamCarter
15th August 2020, 05:51
I run hybrid catalina. It runs great, but sox and lsdvd were the only plugins that didnt work for me. However shijan, said that the new versions of lsdvd and sox work now, so i bet once i update to the newest version Hybrid on catalina will be great.

I usually rip stuff using makemkv
Then run hybrid

Since i am in catalina and sox didnt work before i would remux the audio from original mkv to the new mkv using mkvtoolnix.

But if sox Is working now, boom, things rill be that much faster.

Still hoping for anime4k denoising or some waifu2k variant. Then i’d be in heaven.

shph
15th August 2020, 06:58
So I've got bad news for those of you looking to keep Hybrid up to date by using the neo fft3d plugin to allow the scripts to be updated...there are features used in the neo plugin that requires Catalina for it to compile...I will upload the plugin, but it will require Catalina or higher to run, so good luck!

Yep, bad news for Mojave users. But it appears it is possible to revert new QTGMC scripts back to legacy fft3dfilter. Just replace 'neo_fft3d.FFT3D' with 'fft3dfilter.FFT3DFilter' in havsfunc.py

Probably i will create two versions of VapourSynth+QTGMC+Hybrid package in future. One with legacy fft3dfilter and edited script compatible with Mojave and Catalina.
And second package with neo_fft3d.FFT3D for Catalina only.

So it still make sense to compile neo_fft3d

Hope it will be no problem with x64 version of ffmbc.

l33tmeatwad
15th August 2020, 16:29
I usually test these things before posting, unfortunately the plugin is causing fftw3 to crash when seeking. I'll try to collect details to pass on to the developer.

shph
15th August 2020, 17:41
Seems new stuff is always buggy.
I tested new QTGMC scripts with 'neo_fft3d.FFT3D' name manually replaced with 'fft3dfilter.FFT3DFilter' in havsfunc.py and everything works great with legacy fft3dfilter.

l33tmeatwad
15th August 2020, 22:22
Actually I think the method used to call fftw3 was broken by Catalina, which is ironic because it's the only version capable of compiling it.

shph
15th August 2020, 22:31
Maybe ask developer of neo_fft3d to add support for Mojave somehow?

l33tmeatwad
15th August 2020, 22:34
Maybe ask developer of neo_fft3d to add support for Mojave somehow?That doesn't actually fix the problem and would be a more complicated fix. It's counter productive to adjust something to only work on older versions of an OS.

shph
15th August 2020, 23:44
Also here is my test report about different versions of MVtools plug-ins that you share earlier.
MVtools-v20 and v21 works well.
MVtools-v22 and v23 are broken. When i use preset "Placebo" in Hybrid render starts, but after some short time it stops with error. "crashed: Helper1, exitCode: 11"

AdamCarter
19th August 2020, 13:00
Actually I think the method used to call fftw3 was broken by Catalina, which is ironic because it's the only version capable of compiling it.

Can this be compiled on catalina?

https://github.com/rlaPHOENiX/VSGAN

l33tmeatwad
19th August 2020, 14:45
If you used the VapourSynth installer then you already have Numpy and Mvsfunc, so all you would need to do is run the following commands (ONLY valid for those that used the installer):
sudo vspip3 install torch torchvision
sudo vspip3 install vsgan
Now for some reason the pip install also installs a bottled version of VapourSynth that will confuse Python and cause scripts to always crash, so you'll also need to run the following command to remove it:
sudo rm /Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/vapoursynth.cpython-38-darwin.so
sudo rm -rf /Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/VapourSynth-51-py3.8.egg-info
Additionally if you want to use the new commands installed easily you can do the following:
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/convert-caffe2-to-onnx /usr/local/bin/vsconvert-caffee2-to-onnx
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/convert-onnx-to-caffe2 /usr/local/bin/vsconvert-onnx-to-caffe2
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/futurize /usr/local/bin/vsfuturize
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/pasteurize /usr/local/bin/vscpasteurize
I always add vs when adding links so it doesn't potentially overwrite anything someone might have installed and also so it reminds me that I'm running stuff specifically for the VapourSynth framework.

AdamCarter
19th August 2020, 20:23
Actually I think the method used to call fftw3 was broken by Catalina, which is ironic because it's the only version capable of compiling it.

If you used the VapourSynth installer then you already have Numpy and Mvsfunc, so all you would need to do is run the following commands (ONLY valid for those that used the installer):
sudo vspip3 install torch torchvision
sudo vspip3 install vsgan
Now for some reason the pip install also installs a bottled version of VapourSynth that will confuse Python and cause scripts to always crash, so you'll also need to run the following command to remove it:
sudo rm /Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/vapoursynth.cpython-38-darwin.so
sudo rm -rf /Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/VapourSynth-51-py3.8.egg-info
Additionally if you want to use the new commands installed easily you can do the following:
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/convert-caffe2-to-onnx /usr/local/bin/vsconvert-caffee2-to-onnx
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/convert-onnx-to-caffe2 /usr/local/bin/vsconvert-onnx-to-caffe2
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/futurize /usr/local/bin/vsfuturize
sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/pasteurize /usr/local/bin/vscpasteurize
I always add vs when adding links so it doesn't potentially overwrite anything someone might have installed and also so it reminds me that I'm running stuff specifically for the VapourSynth framework.


All of this went over my head.

AdamCarter
20th August 2020, 06:07
Recently upgraded to hybrid 8.16 vs r51 qtgmc custom setting does not work.
There are three variables i was playing with to try and get a lossless encode to run via topaz ai.
I Set the lossless and source matching on both with the highest settingS after temporal smoothing and 2xredefined It failed, then i tried changing just the source matching down one setting It failed , and then down another setting It failed, and then off It failed. Then i lowered the lossless down a setting It failed and then off It failed. I also lowered temporal smoothing to from 1 to 0 that failed. I tried Above settings when encode it to prorez for lossless it failed. I also tried to Encode x264 Rate 1 for lossless then 16, then 17 all Failed..

The source was a interlaced 29.97 variable fps file Ripped from An old tape recording .

Going to try my standard interlaced dvd hopefully i can do my standard encoding which is qtgmc bob even x264 Rate 17.

Shph do you happen to have the r50 complete install kmage with all the old stuff pre lsdvd and sox? And neofft3d and all those updates i just want to get back to my previous working build which I completely deleted.

Update normal ripped track from a dvd i ripped into mkv via makemkv. Seems to work like before with above build On placebo, i believe custom is still broken but havent tried it yet. . So it may be just that file. The file reports its progressive via tags, but hybrid said it was bottom field first. So i was running qtgmc bob 59.97. I also put it into a demo of topaz ai and it can only work on progressive media And it was processing the footage so either it just reads the tags and proceeds. hybrid identified it as interlaced bottom field first. It is so hard because it was likely recorded off of tv or vhs and at 29.97 to me that screams interlaced (or telecine).

l33tmeatwad
20th August 2020, 14:28
If you just need VapourSynth r50, you can find the installer linked in the first post of this thread, that is the one packaged with those Hybrid bundles.

shph
20th August 2020, 19:21
AdamCarter, It could be due VS-51 as well. Try install R-50. There is a report on BM forum that R-51 is buggy and suggest to update to R52-RC1.
I don't keep legacy Hybrid packages, but you can always download old original version of Hybrid 2017 and extract components manually from it and replace back in Hybrid.app (right-click -> show package contents)

shph
20th August 2020, 19:44
Here is a serious problem report: Vapoursynth R51 now produces video aliasing output compared to R50 https://github.com/vapoursynth/vapoursynth/issues

Cary Knoop
20th August 2020, 20:04
Here is a serious problem report: Vapoursynth R51 now produces video aliasing output compared to R50 https://github.com/vapoursynth/vapoursynth/issues
I encountered a crash in R51 (probably when calling vcfreq.dll) that is away in R52-RC1

shph
20th August 2020, 20:19
I can confirm aliasing problem in macOS VS-R51 running with early alpha version of Hybrid 2020. Aliasing is visible even with "Slow" preset.

shph
21st August 2020, 21:56
Any news about neo_fft3d ? It seems a lot of other filters now rely on it,
Also any chance to add CAS filter (Contrast Adaptive Sharpening) to collection? https://github.com/HomeOfVapourSynthEvolution/VapourSynth-CAS It is available Hybrid UI

l33tmeatwad
21st August 2020, 22:20
Any news about neo_fft3d ? It seems a lot of other filters now rely on it,
Also any chance to add CAS filter (Contrast Adaptive Sharpening) to collection? https://github.com/HomeOfVapourSynthEvolution/VapourSynth-CAS It is available Hybrid UINeo is pretty broke for macOS, it'll have to be fixed by the developer. I'll look into CAS when I get the chance.

shph
21st August 2020, 23:06
Also seems there is some mistake with dfttest plug-in or with plug-in naming in Hybrid. I will ask Selur about this, but can you check plug-in somehow to be sure that it works?

Filtering -> DeNoise -> DFTTest:

Failed to evaluate the script:
Python exception: No attribute with the name dfttest exists. Did you mistype a plugin namespace?

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1956, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 1957, in vapoursynth.vpy_evaluateScript
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile00_46_47_216.vpy", line 19, in <module>
clip = core.dfttest.DFTTest(clip=clip)
File "src/cython/vapoursynth.pyx", line 1546, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name dfttest exists. Did you mistype a plugin namespace?

Filtering -> DeNoise -> MCTemporalDenoise:

Failed to evaluate the script:
Python exception: There is no attribute or namespace named dfttest

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1956, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 1957, in vapoursynth.vpy_evaluateScript
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile00_48_42_176.vpy", line 26, in <module>
clip = havsfunc.MCTemporalDenoise(i=clip, settings="very high")
File "/Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/havsfunc.py", line 3134, in MCTemporalDenoise
p = i.dfttest.DFTTest(tbsize=1, slocation=[0.0,4.0, 0.2,9.0, 1.0,15.0], planes=planes)
File "src/cython/vapoursynth.pyx", line 1233, in vapoursynth.VideoNode.__getattr__
AttributeError: There is no attribute or namespace named dfttest

l33tmeatwad
21st August 2020, 23:23
Make sure you have the latest build with the dependency built in and test it by itself if you need to. The Mac protection may stop it from loading as well so check the security section in system settings.

shph
21st August 2020, 23:41
Ok, probably just a bug in alpha version of Hybrid 2020, because no any error message when i select dfttest in QTGMC Deinterlace settings.

AdamCarter
22nd August 2020, 03:38
I had same issues with r49, and r50 with 2018 hybrid with regards to denoisers. I dont know if they have been compiled in catalina or mojave yet or x64 yet, but i mentioned this earlier. That they didnt work,

https://forum.doom9.org/showthread.php?p=1919247#post1919247

shph
22nd August 2020, 03:51
1. Some Denoisers and Sharpeners didn't worked because mvmulti.py script was missing in Hybrid. Selur add it here today https://github.com/Selur/VapoursynthScriptsInHybrid and it helps to fix problems with some filters.
2. Some Denoisers and Sharpeners don't work now because there is no macOS versions of neo_fft3d and CAS plug-ins yet.
3. DFTTest and MCTemporalDenoise don't work now probably because some bug in Hybrid with plug-in names or part names.

AdamCarter
22nd August 2020, 05:17
Sweet, at least it is progressing. Getting very happy

Selur
22nd August 2020, 09:38
@shph:
DFTTest calls in Hybrid look fine to me:
# Imports
import vapoursynth as vs
core = vs.get_core()
# loading source: /Users/selur/Desktop/test.avi
# color sampling YUV420P8@8, matrix:470bg, scantyp: progressive
# luminance scale TV
# resolution: 640x352
# frame rate: 25 fps
# input color space: YUV420P8, bit depth: 8, resolution: 640x352, fps: 25
# Loading source using FFMS2
clip = core.ffms2.Source(source="/Users/selur/Desktop/test.avi",cachefile="/Users/selur/temp/avi_c6b2c493052375dcc56052d30e195c86_853323747.ffindex",format=vs.YUV420P8,alpha=False)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# denoising using DFTTest
clip = core.dfttest.DFTTest(clip=clip)
# Output
clip.set_output()
-> this seems more like a problem with the autoloading, the library or the Vapoursynth install

Also 2 years ago none of the GPU supported/based filters worked which is why Hybrid atm. disables/removes the following on MacOS:

NNEDI3CL: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL
KNLMeansCL: https://github.com/Khanattila/KNLMeansCL
gpu support in QTGMC, due to missing: NNEDI3CL
SVP/InterFrame: the gpu support
Anime4KCPP


additionally some filters were disabled since they didn't compile at the time on MacOS X:

DegrainMedian: https://github.com/dubhater/vapoursynth-degrainmedian
MCDegrainSharp: not sure whether this would work nowadays
libtcanny: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TCanny
and/or
libmvtools: https://github.com/dubhater/vapoursynth-mvtools
DeCrawl: due to missing libscenechange (https://forum.doom9.org/showthread.php?t=166769)
SSIQ: https://github.com/dubhater/vapoursynth-ssiq
Waifu2x: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-w2xc/
Waifu2x nvk: https://github.com/Nlzy/vapoursynth-waifu2x-ncnn-vulkan
SRMD: https://github.com/Kiyamou/VapourSynth-SRMD-ncnn-Vulkan
mClean doesn't work due to missing vcmod: source available over at http://www.avisynth.nl/users/vcmohan/
Limited Sharp Fasten Faster Mod: fails due to missing CAS
LGhost: doesn't work due to missing library https://github.com/HomeOfVapourSynthEvolution/VapourSynth-LGhost
Interframe/SVP: since there wasn't a mac version back then
all tools from Donald Graft


Cu Selur

l33tmeatwad
22nd August 2020, 14:44
DFTTest is failing to load due to a C++ library error, something is wrong with the compile. I will look into what happened and recompile and test before uploading again. For now here's the the DFTTest v4 and the library dependancy:

DFTTest v4 (http://www.mediafire.com/file/dp81tjgj7dddy1z/DFTTest-r4.tar.gz/file)
FFTW3F (http://www.mediafire.com/file/7v9hu8j3chrnn7g/FFTW3F-3.3.8.tgz/file)

Side note, was looking into Hybrid and vsedit include is OLLLLLD, might want to consider updating that, but it's calling it as "vsViewer" which was apparently a lazy update to avoid updating code when it was switched from vsviewer to VapourSynth Editor. May want to update that in the source so users can update it.

shph
22nd August 2020, 17:56
Filtering -> DeNoise -> DFTTest gives no error now with DFTTest v4. Great!

But there is still error in Filtering -> DeNoise -> MCTemporalDenoise. Strange...
Failed to evaluate the script:
Python exception: DFTTest: Function does not take argument(s) named slocation

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1956, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 1957, in vapoursynth.vpy_evaluateScript
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile19_55_22_278.vpy", line 26, in <module>
clip = havsfunc.MCTemporalDenoise(i=clip, settings="very high")
File "/Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/havsfunc.py", line 3141, in MCTemporalDenoise
p = i.dfttest.DFTTest(tbsize=1, slocation=[0.0,4.0, 0.2,9.0, 1.0,15.0], planes=planes)
File "src/cython/vapoursynth.pyx", line 1835, in vapoursynth.Function.__call__
vapoursynth.Error: DFTTest: Function does not take argument(s) named slocation

l33tmeatwad
22nd August 2020, 18:11
Filtering -> DeNoise -> DFTTest gives no error now with DFTTest v4. Great!

But there is still error in Filtering -> DeNoise -> MCTemporalDenoise. Strange...
Failed to evaluate the script:
Python exception: DFTTest: Function does not take argument(s) named slocation

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1956, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 1957, in vapoursynth.vpy_evaluateScript
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile19_55_22_278.vpy", line 26, in <module>
clip = havsfunc.MCTemporalDenoise(i=clip, settings="very high")
File "/Library/Frameworks/VapourSynth.framework/lib/python3.8/site-packages/havsfunc.py", line 3141, in MCTemporalDenoise
p = i.dfttest.DFTTest(tbsize=1, slocation=[0.0,4.0, 0.2,9.0, 1.0,15.0], planes=planes)
File "src/cython/vapoursynth.pyx", line 1835, in vapoursynth.Function.__call__
vapoursynth.Error: DFTTest: Function does not take argument(s) named slocation
Keep in mind you are using v4, there may have been some features added since then that are being utilized in the newer versions. I will compile the new one as soon as I can and will verify it's working before posting it.

AdamCarter
22nd August 2020, 19:29
Thanks meatwad!!!!!!!

Thanks selur

shph
22nd August 2020, 20:10
l33tmeatwad, can you confirm that "dotkill64.dylib" is correct plug-in name. I just noticed that all other plug-in names look like "libaddgrain.dylib", "libautocrop.dylib". But DotKill-R1 use just plain "dotkill64.dylib" name. https://www.mediafire.com/folder/wvdlnjapm1vvw#gm3qrek88a7bp

l33tmeatwad
22nd August 2020, 20:16
l33tmeatwad, can you confirm that "dotkill64.dylib" is correct plug-in name. I just noticed that all other plug-in names look like "libaddgrain.dylib", "libautocrop.dylib". But DotKill-R1 use just plain "dotkill64.dylib" name. https://www.mediafire.com/folder/wvdlnjapm1vvw#gm3qrek88a7bp
Run the following command while in the directory with it:
otool -L dotkill64.dylib
If it shows up with a different name then it's wrong.

shph
22nd August 2020, 20:25
looks like this:
otool -L /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/dotkill64.dylib
/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/dotkill64.dylib:
dotkill64.dylib (compatibility version 0.0.0, current version 0.0.0)
/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)

l33tmeatwad
22nd August 2020, 20:41
looks like this:
otool -L /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/dotkill64.dylib
/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/dotkill64.dylib:
dotkill64.dylib (compatibility version 0.0.0, current version 0.0.0)
/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)
As you can see on the first line, it is correct. If you would like to change it, you can use install_name_tool as listed in the build instructions in this thread.

shph
23rd August 2020, 00:11
Side note, was looking into Hybrid and vsedit include is OLLLLLD, might want to consider updating that, but it's calling it as "vsViewer" which was apparently a lazy update to avoid updating code when it was switched from vsviewer to VapourSynth Editor. May want to update that in the source so users can update it.

How about to update VS viewer icons based on something like modified SF Apple Symbols?
https://www.avanderlee.com/swift/sf-symbols-guide/
"SF Symbols were introduced during WWDC 2019 and are a big present for us developers. Apple basically gave us free symbols to use in our app and it’s even really easy to use them as well! With SF Symbols 2.0 being introduced in WWDC 2020 we’ve got even more possibilities to show beautiful icons in our apps."
"SF Symbols is a set of over 1,500 symbols that you can use in your app. They’re aligned and configurable in a wide range of weights and scales to adapt to your designs. As they are integrated into the San Francisco system font they automatically ensure optical vertical alignment with text for all weights and sizes."

You may see my another slowly moving customization project based on those icons here: https://www.pl32.com/forum3/viewtopic.php?f=3&t=6302&start=30

Here is my sketch for VapourSynth Editor. All icons are in vector format, but manually redrawn and optimized for 16x16 pixel grid size. If it possible, you may add some svg icons support for UI in future, so icons will look sharp on on hi-dpi retina-like displays. Let me know what you think. I can provide icons in PNG format as well.
https://i.imgur.com/k9jDNzf.jpg

l33tmeatwad
23rd August 2020, 16:38
DFTTest r6 was updated and I was only able to insure it loaded, but it does load with VapourSynth. I am pretty busy this weekend so I figured I'd go ahead and upload it. If someone could let me know if it's working that would be great.

Side note, r7 added new features that require a newer compiler so that is why I complied r6 instead of r7. I may have to raise the base version supported again.

l33tmeatwad
23rd August 2020, 19:36
Got a chance to test it, it appears to be working fine on my MacBook Pro as well. In addition to that I have uploaded the VapourSynth R52 installer.

shph
23rd August 2020, 19:44
Thanks a lot! Updated DFTTest r6 seems works well. No more any errors related to it. Most denoisers work well now.

Only got errors due some missing plug-ins:

mClean DeNoise error because:
AttributeError: No attribute with the name vcmod exists.

LimitedSharpen-Faster-Mod and CAS sharpener error because:
AttributeError: There is no attribute or namespace named cas

l33tmeatwad
23rd August 2020, 19:59
As I've said before, feel free to make requests, but please link to the source repository so I don't have to try and track them down.

ChaosKing
23rd August 2020, 20:04
Lsfmod only needs CAS for smode 3 (or higher). Use defaults = slow or set smode to 2

https://github.com/HomeOfVapourSynthEvolution/VapourSynth-CAS
http://www.avisynth.nl/users/vcmohan/vcmod/vcmod.html (see bottom nav)

l33tmeatwad
23rd August 2020, 20:16
Lsfmod only needs CAS for smode 3 (or higher). Use defaults = slow or set smode to 2

https://github.com/HomeOfVapourSynthEvolution/VapourSynth-CAS
http://www.avisynth.nl/users/vcmohan/vcmod/vcmod.html (see bottom nav)Thank you! I was looking through my backlog of suggested plugins as well as ones on my list of plugins not currently possible to compile and found my previous notes about vcmod and unfortunately that one is not cross platform. The other was apparently already on my list I just haven't gotten around to it yet.

Here are my notes on plugins that can't be compiled:
bilateralgpu - Depreciated
DePan - Depriciated
DGMVSource - Windows Only
IT - Crashes
vcfreq - Windows Only
vcm - Windows Only
VSFilterMod - Windows Only
waifu2x-w2xc - Depriciated
xy-VSFilter - Windows Only

shph
23rd August 2020, 20:26
Yep, link was posted by Selur in this list https://forum.doom9.org/showpost.php?p=1921547&postcount=140 Some plug-ins from that list already work. (NNEDI3CL, KNLMeansCL, DegrainMedian, SSIQ, DeCrawl, MCDegrainSharp)

DeDot: https://github.com/dubhater/vapoursynth-dedot isn't available for mac atm.

ChaosKing
23rd August 2020, 20:28
Does this help?
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vapoursynth-plugin-vcmove
https://github.com/4re/vapoursynth-portage/blob/master/media-plugins/vapoursynth-vcmod/vapoursynth-vcmod-2017.10.17.ebuild

shph
23rd August 2020, 20:32
also currently missing:
CAS
vcmod: http://www.avisynth.nl/users/vcmohan/
LGhost library https://github.com/HomeOfVapourSynthEvolution/VapourSynth-LGhost
Edgefixer: https://github.com/sekrit-twc/EdgeFixer
SagNomMod: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-SangNomMod
Anime4KCPP

AdamCarter
23rd August 2020, 20:44
And anime4k
For us animation enthusiasts.

Will this forked waifu2x work?
https://github.com/Nlzy/vapoursynth-waifu2x-ncnn-vulkan

l33tmeatwad
23rd August 2020, 20:48
Edgefixer: https://github.com/sekrit-twc/EdgeFixer
EdgeFixer and ContinuityFixer are actually the same thing, it got renamed at some point and I was still using the old name.

shph
24th August 2020, 02:07
KNLMeansCL Denoiser combined with "Placebo" or "Very Slow" preset gives me this artifact in Hybrid. Bug in plug-in or in Hybrid or somewhere between?
https://i.imgur.com/diiN0LS.jpg

l33tmeatwad
24th August 2020, 02:23
Added the following plugins:
Dedot
LGhost
SangNomMod

CAS will require macOS 10.14+ and Anime4KCPP requires a lot of extras so I'll come back to that later. As for waifu2x-ncnn-vulkan, I've looked into it before and it requires you to install another tool so that would be a bit more complicated to explain to users, I may revisit that at a later time as well.

l33tmeatwad
24th August 2020, 02:23
KNLMeansCL Denoiser combined with "Placebo" or "Very Slow" preset gives me this artifact in Hybrid. Bug in plug-in or in Hybrid or somewhere between?
What version of VapourSynth are you using?

shph
24th August 2020, 02:31
What version of VapourSynth are you using?
This is with VapourSynth-52

shph
24th August 2020, 02:42
MVTools v22 and v23 (same as before) don't works with all updates in Hybrid 2020 and VapourSynth-52.
MVTools v20 and v21 works.

l33tmeatwad
24th August 2020, 02:43
MVTools v22 and v23 (same as before) don't works with all updates in Hybrid 2020 and VapourSynth-52.
MVTools v20 and v21 works.Are you getting a crash log?

shph
24th August 2020, 03:02
I'll PM you full Log.
In Hybrid basic window it looks like this:
Helper(1) finished with exitCode: 11 and exitStatus: 1
-> 2020-08-24@04_36_58_2410_02_video crashed: Helper1, exitCode: 11
Aborting '2020-08-24@04_36_58_2410_02_video' due to: Helper1, exitCode: 11

AdamCarter
24th August 2020, 03:40
Added the following

CAS will require macOS 10.14+ and Anime4KCPP requires a lot of extras so I'll come back to that later. As for waifu2x-ncnn-vulkan, I've looked into it before and it requires you to install another tool so that would be a bit more complicated to explain to users, I may revisit that at a later time as well.

Thanks meatwad. For all the hard work.

Def hoping anime4k can be brought over. It’s the only thing i’m looking forward too.

Selur
24th August 2020, 16:05
@shph: Try the Vapoursynth Preview before encoding, that's the only way to get proper error messages in regard to using Vapoursynth in Hybrid.
The log (even the debug output log) will not be that informative to l33tmeatwad.

l33tmeatwad
24th August 2020, 17:52
@shph: Try the Vapoursynth Preview before encoding, that's the only way to get proper error messages in regard to using Vapoursynth in Hybrid.
The log (even the debug output log) will not be that informative to l33tmeatwad.
If it's the Hybrid log, yeah that's not very helpful to me. If it's the system crash log it does tell me what thread crashed and what was loaded in that thread so that is useful for finding out what piece of the puzzle is crashing, but it only narrows it down.

AdamCarter
24th August 2020, 18:09
Meatwad,
Selur looked at the crash with importing image sequences

His response was:
so my guess is that ImageMagick Writer-Reader (http://www.vapoursynth.com/doc/plugins/imwri.html) is missing in the Vapoursynth build.
Vapoursynth Preview should give an error message,...

Maybe shph can create a log of the crash.

l33tmeatwad
24th August 2020, 18:54
Meatwad,
Selur looked at the crash with importing image sequences

His response was:
so my guess is that ImageMagick Writer-Reader (http://www.vapoursynth.com/doc/plugins/imwri.html) is missing in the Vapoursynth build.
Vapoursynth Preview should give an error message,...

Maybe shph can create a log of the crash.
It's not missing, it just need XQuartz to be installed (as noted in the first post of this thread).

AdamCarter
24th August 2020, 19:04
Oh oksorry missed that

shph
25th August 2020, 01:37
Tested a lot of plug-ins today here https://forum.selur.net/showthread.php?tid=1495&pid=8710#pid8710 hope those logs may help to fix some plug-in related errors.

P.S. XQuartz was already installed on my system before, so it is not source of image sequence error.

l33tmeatwad
25th August 2020, 01:48
It seems that jpg decoding is not enabled by default in image magick, I'll have to recompile and make sure that format is enabled. I'll rebuild all the installers once I verify it's working.

shph
25th August 2020, 02:36
jpeg :)
Yes, i can confirm. Tested with PNG sequence and it works.

shph
25th August 2020, 03:08
Tif or Tiff import also don't works. You may check somehow other formats support if possible.
Failed to evaluate the script:
Python exception: Read: Failed to read image properties: vsViewer: NoDecodeDelegateForThisImageFormat `TIF' @ error/constitute.c/ReadImage/562

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile05_04_59_524.vpy", line 10, in <module>
clip = core.imwri.Read("/Users/shph/Desktop/untitled folder/%02d.tif", firstnum=1)
File "src/cython/vapoursynth.pyx", line 2069, in vapoursynth.Function.__call__
vapoursynth.Error: Read: Failed to read image properties: vsViewer: NoDecodeDelegateForThisImageFormat `TIF' @ error/constitute.c/ReadImage/562

l33tmeatwad
25th August 2020, 04:41
The R52 installer was updated with libimwri that supports jpg & tiff.

AdamCarter
25th August 2020, 05:48
Thanks meatwad.

shph
25th August 2020, 07:30
Image sequence works well! Thanks for update l33tmeatwad!

Wonder if someone here tested KNLMeansCL without Hybrid on macOS with some real footage. As you can see from my reports in Hybrid it only produce crazy artifacts and even kernel panic with computer restart.
But same time when i add test line to test.vpy script
# testing KNLMeansCL
clip = core.knlm.KNLMeansCL(clip=clip)
and run command
<PATH TO vspipe> --info <PATH to test.vpy> -
It gives me no any errors

l33tmeatwad
25th August 2020, 15:39
So there has been some useful feedback and such lately which I am grateful for, but I figured I should break down where certain problems should be reported so things can be streamlined and the correct people can be notified. There are 3 types of issues with the plugins/libraries:


Does not autoload & fails to load manually. It will generally let you know that it did not autoload with the error "No attribute with the name _ exists" and if you try to manually load it and it fails, that generally means there is either something wrong with the plugin itself or it has a dependency that is not loading. Either of these issues would be good to follow up with me about.

If a plugin loads but appears to be missing features that are listed or available on other platforms. This will generally give an error message, for example image reader had NoDecodeDelegateForThisImageFormat. This would also be a good one to follow up with me about as it may need some additional dependancies that I was not aware of at the time of compile.

If a plugin loads, but crashes when previewing or loading. I generally try to test and see if a plugin will load for more than just one frame, if it doesn't I usually won't upload it, however if this is happening for you this is generally an issue that you would want to follow up with the developer(s) about.

As for the issues with KNLMeansCL, that plugin is a graphics card accelerated plugin and based on some of the error messages you posted on the other forum, it appears there is a compatibility issue with your machine and what the plugin supports. You can follow up with the developer if you would like, however these issues are generally from graphics card drivers or just the card you have is not supported by the OpenCL features it is using.

shph
26th August 2020, 04:06
Great explanation!

KNLMeansCL give error when i select GPU or CPU as well, so i guess most likely problem somewhere in KNLMeansCL itself, or it is just not supported on Mojave.
I use i7-8700K CPU overclocked to 4.7Ghz, Radeopn RX580 GPU and macOS Mojave 10.14.6. No problem with OpenCL and Metal in other apps like DaVinci Resolve. QTGMC, NNEDI3 resizer and other VapourSynth filters on GPU/OpenCL also now woks well in last alpha version of Hybrid 2020.

Here are some test results:
Source VOB file (29.970 FPS duration 00:00:52.82) rendered to ProRes with QTGMC Placebo with BOB (59.94 FPS):
OpenCL render finished after 00:00:54.713
CPU render finished after 00:01:52.309

Source VOB file (29.970 FPS duration 00:00:52.82) rendered to ProRes with QTGMC Placebo with BOB (59.94 FPS) and upscaled to 1440x1080 with NNEDI3 (Neurons: 32, Network: 2, Prescreening: new)
OpenCL Render finished after 00:01:59.560
CPU render finished after 00:06:09.171

shph
26th August 2020, 09:42
l33tmeatwad, please see also some new reports https://forum.selur.net/showthread.php?tid=1495&pid=8735#pid8735
Strange problem with error "AttributeError: There is no function named SangNom" I try SangNom-r40 and SangNom-r41

ChaosKing
26th August 2020, 10:58
You could manually load the sangnom lib with std.LoadPlugin("path-to-file") and see what error code it returns. Maybe a dependency is just missing.

http://www.vapoursynth.com/doc/functions/loadplugin.html

l33tmeatwad
26th August 2020, 14:26
l33tmeatwad, please see also some new reports https://forum.selur.net/showthread.php?tid=1495&pid=8735#pid8735
Strange problem with error "AttributeError: There is no function named SangNom" I try SangNom-r40 and SangNom-r41
That's odd, I tested both on two systems and it appears to be fine. ChaosKing is correct, try loading it with the following and post the error:
core.std.LoadPlugin('/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib')
Other things to check:

It is in the plugins folder and not the library folder.
OS security isn't picking it up and blocking it.
You aren't renaming the file.

shph
26th August 2020, 15:46
Plugin from l33tmeatwad Mediafile folder and copied to /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/ same as all other plugins. Selur also report that it works on his system. Maybe it is not supported on Mojave?
:(
core.std.LoadPlugin('/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib')
-bash: syntax error near unexpected token `'/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib''

l33tmeatwad
26th August 2020, 16:52
Plugin from l33tmeatwad Mediafile folder and copied to /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/ same as all other plugins. Selur also report that it works on his system. Maybe it is not supported on Mojave?
:(
core.std.LoadPlugin('/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib')
-bash: syntax error near unexpected token `'/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib''First off, that goes in a script, not terminal. Secondly, unless stated otherwise, ALL plugins support macOS 10.12+, AS STATED IN THE OPENING THREAD POST.

shph
26th August 2020, 17:46
Ah ok, not into Terminal :) I am just total noob when it goes to codes.
So is it possible to explain step by step how to run this?
Create text file, rename to .vpy, add core.std.LoadPlugin('/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib') and run? how exact to run? Or add that line to to normal basic .vpy script?

Here is what i got when i add "core.std.LoadPlugin('/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib')" to normal .vpy script taken from Hybrid and run "<PATH TO vspipe> --info <PATH to test.vpy> -" (as Selur explained me earlier)

/Library/Frameworks/VapourSynth.framework/bin/vspipe --info /Users/shph/Desktop/test.vpy -

Script evaluation failed:
Python exception: Plugin load of /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib failed, namespace sangnom already populated by /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnommod.dylib

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript
File "/Users/shph/Desktop/test.vpy", line 20, in <module>
core.std.LoadPlugin('/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib')
File "src/cython/vapoursynth.pyx", line 2069, in vapoursynth.Function.__call__
vapoursynth.Error: Plugin load of /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnom.dylib failed, namespace sangnom already populated by /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libsangnommod.dylib

l33tmeatwad
26th August 2020, 17:49
So it looks like you cannot have SangNomMod and SangNom in the autoload directory together, there is some kind of conflict.

AdamCarter
26th August 2020, 18:08
Meatwad a plugin developer had a question before making it mac compatible.

ChaosKing
26th August 2020, 18:22
So it looks like you cannot have SangNomMod and SangNom in the autoload directory together, there is some kind of conflict.

Both use the same namespace.

Use only SangNom https://github.com/dubhater/vapoursynth-sangnom and remove SangNomMod (https://github.com/HomeOfVapourSynthEvolution/VapourSynth-SangNomMod)

shph
26th August 2020, 18:41
Yep. I removed SangNomMod and MAA and AAF filters now works. Guess it is more-less ok to sacrifice SangNomMod Anti Aliasing filter in Hybrid yet.

But i still see problems with with Santiag Anti Aliasing filter:
No error, but empty preview window if i choose "Type: sangnom"
Error "TypeError: santiag() got an unexpected keyword argument 'typevh'" if i use "Type: selectHV"

ChaosKing
26th August 2020, 19:16
selectHV is not a valid type. Read the doc https://github.com/HomeOfVapourSynthEvolution/havsfunc/blob/e56f8f787bd4b679e6d14c9b08bf0460a3480ea4/havsfunc.py#L134

type = "nnedi3", "eedi2", "eedi3" or "sangnom"

shph
27th August 2020, 09:32
Ok, so seems current summary situation with missing/broken plug-ins is not so bad:

CAS just not compiled yet (i guess macOS 10.14+ is ok)

EdgeFixer is just a renamed legacy ContinuityFixer and just not compiled yet.

Interframe/SVP can't understand is it some sort of commercial plug-in? Or is it just don't compiled yet?

Anime4k probably the most distant plug-in because not yet available in Hybrid UI and as l33tmeatwad explained "need a lot of additional stuff to work"

---

KNLMeansCL may cause kernel panic and probably needs some fundamental fixes from developer and currently removed from Hybrid UI.

MVtools-v22 and v23 produce strange hangs during render and problem source is unknown yet (crashed: Helper1, exitCode: 11) Need global system report log to investigate. MVtools-v20 and v21 works well so probably new versions are not extra critical.

SangNomMod and SangNom compatibility problem source is known now. Hope someone will find some problem fix in future.

Santiag probably just needs a fix from Selur in Hybrid UI.

l33tmeatwad
27th August 2020, 16:17
Has anyone with actual Apple hardware had issues with MVTools v22 & 23?

l33tmeatwad
27th August 2020, 17:28
Added CAS r2 & EdgeFixer r2.

shph
27th August 2020, 18:17
So it is not 10.14+, it is 10.15+. too bad (for me) CAS seems like very interesting and unique tool.

l33tmeatwad
27th August 2020, 18:37
Additional note for EdgeFixer, it uses the same namespace as ContinuityFixer so both cannot be in the autoload directory.

shph
28th August 2020, 09:18
So i checked EdgeFixer and CAS on my 10.14.6 and both works well. No errors, no crashes. Render goes well. Is there any more scientific but real life way to check if something in these plugins don't work on 10.14.6?

shph
28th August 2020, 09:24
SangNom vs SangNomMod issue ticket https://github.com/HomeOfVapourSynthEvolution/VapourSynth-SangNomMod/issues/5

l33tmeatwad
28th August 2020, 13:02
SangNom vs SangNomMod issue ticket https://github.com/HomeOfVapourSynthEvolution/VapourSynth-SangNomMod/issues/5You don't need to report that here, if it's resolved and you need it compiled feel free to let me know, but reporting this kind of information just floods the thread.

ChaosKing
28th August 2020, 13:09
I'm curious: For what do you need SangNomMod? SangNom supports up to 32f precision while the mod version supports 8bit only. I don't see any reason to use the mod version.

shph
28th August 2020, 20:08
Agree. Plug-ins that support only 8 bit depth are unacceptable.

l33tmeatwad
28th August 2020, 20:21
Agree. Plug-ins that support only 8 bit depth are unacceptable.Considering the plugin in question is for interlaced material and that the overwhelming majority of content at this point that is interlaced is 8-bit, I think "unacceptable" is a bit silly. I'd honestly be surprised if you could find 10-bit or higher interlaced content, but I'm sure it probably exists out there somewhere...

ChaosKing
28th August 2020, 20:47
Sangnom is probably used in 80% of all antialiasing scripts and not just for deinterlacing ;)

So in this case it makes sense to support higher bit depth, but is does not mean every plugin should support it by default.

l33tmeatwad
28th August 2020, 20:50
Sangnom is probably used in 80% of all antialiasing scripts and not just for deinterlacing ;)

So in this case it makes sense to support higher bit depth, but is does not mean every plugin should support it by default.
That's fair, that said, we're getting a bit off topic.

shph
28th August 2020, 20:56
Yep, 8 bit plug-ins are OK for DVD and for native DV tape sources restoration because it is usually 8 bit 4:2:0. All those very specific tools like Bifrost, DeCross are 8 bit only

But for analogue sources 8 bit is not a limit. More-less professional capture cards and codecs do native 10-bit 4:2:2 from VHS, Hi8 and any other tape source and it is totally different level of quality and color correction flexibility.
But anyway, why limit things with 8 bit from start? It is not convenient. Soon or late someone need some tool for 10 but capture restoration and oops, it transforms everything to 8 bit. Also (same as in audio) bit depth upscale for processing have advantages.

l33tmeatwad
28th August 2020, 21:15
Again, this is way off topic. If you have major issues with plugins being 8 bit I'm sure the developer(s) would appreciate it if you were to fork the project, update it, and push a pull request.

shph
29th August 2020, 11:51
Problem found in macOS version TimeCubes. Windows version works well.
https://forum.selur.net/showthread.php?tid=1495&pid=8759#pid8759
https://forum.selur.net/showthread.php?tid=1495&pid=8791#pid8791
Selur comment that it is possible that "problem with the compilation" Can you check it?

l33tmeatwad
29th August 2020, 12:57
Problem found in macOS version TimeCubes. Windows version works well.
https://forum.selur.net/showthread.php?tid=1495&pid=8759#pid8759
https://forum.selur.net/showthread.php?tid=1495&pid=8791#pid8791
Selur comment that it is possible that "problem with the compilation" Can you check it?A problem with the compile would mean it won't load. The issue is most likely with the code and the difference in OpenCL on the different platforms.

l33tmeatwad
30th August 2020, 04:25
Added VapourSynth Editor 2, it requires macOS 10.13+.

l33tmeatwad
31st August 2020, 01:04
Added DPID & JincResize. DPID has not been tested and JincResize works, but causes VapourSynth Editor to crash when closing the preview window.

l33tmeatwad
31st August 2020, 22:16
Added Bwdif & the test version for TimeCube.

l33tmeatwad
1st September 2020, 20:49
Added Focus (uses TemporalSoften namespace), TempLinearApproximate, & add new TimeCube test.

shph
1st September 2020, 21:10
LibFocus-r4.tar.gz archive is corrupted.
TimeCube is finally fixed for real and WORKS WELL!

l33tmeatwad
1st September 2020, 21:25
Added ReadMpls, RemoveDirt, reuploaded Focus, & updated Yadifmod.

l33tmeatwad
2nd September 2020, 19:41
Added vcmod, vcmove,& vctrans, the other vc filters are proving to be a bit more difficult to adapt by working around Windows only functions that were used.

l33tmeatwad
4th September 2020, 05:04
Updated DotKill, SangNom, TComb, & TimeCube.

AdamCarter
4th September 2020, 07:18
Thanks meatwad

l33tmeatwad
4th September 2020, 21:15
Added Anime4KCPP, it seems to work okay, but GPUMode previews are not correct, have not tried encoding with it.

AdamCarter
4th September 2020, 23:32
Thanks meatwad.

shph
5th September 2020, 00:18
So Focus (uses TemporalSoften namespace) is a updated and renamed version of TemporalSoften? or it is a separate filter with namespace conflict similar to SangNom vs SangNomMod namespace confusion?

l33tmeatwad
5th September 2020, 01:01
So Focus (uses TemporalSoften namespace) is a updated and renamed version of TemporalSoften? or it is a separate filter with namespace conflict similar to SangNom vs SangNomMod namespace confusion?Much like EdgeFixer vs ContinuityFixer, it's a different developer's implementation of TemporalSoften. It's actually older, but I decided to compile it for archival purposes and in case someone wants it.

l33tmeatwad
5th September 2020, 04:38
Updated FFMS2 & LSMASHSource to their latest version with FFmpeg 4.3.1 and recompiled D2VSource with FFmpeg 4.3.1 as well. Also ffmsindex included with FFMS2 is a static build so it does not matter where it is placed for it to work.

AdamCarter
5th September 2020, 05:21
Nice it’s going to be like using a whole new app.

shph
5th September 2020, 07:58
Should we expect updated VapourSynth-R52 installer in future? Or those updates only for standalone components?

l33tmeatwad
5th September 2020, 13:41
Should we expect updated VapourSynth-R52 installer in future? Or those updates only for standalone components?Eventually, but it'll probably be a while.

l33tmeatwad
6th September 2020, 04:08
The VapourSynth R52 installer was updated with the latest FFMS2, LSMASHSource, & FFmpeg libs.

AdamCarter
6th September 2020, 07:03
Thanks meatwad

l33tmeatwad
6th September 2020, 20:14
Updated AddGrain, CTMF, DFTTest, & ZNEDI3. DFTTest r7 does not work on Sierra or High Sierra & I do not have a test machine with Mojave, so it's possible it only works on Catalina or higher. These are the last plugins I had on my list that were out of date. If there are any other plugins out there feel free to link them here and I can look into them. Here is the updated list of plugins I've looked into that are not currently available:

bilateralgpu - Depreciated
DGMVSource - Windows Only
MVTools-Float - Needs C++2a
vcm - Windows Only
vcfreq - Windows Only
VSFilterMod - Windows Only
waifu2x-w2xc - Depriciated
xy-VSFilter - Windows Only

AdamCarter
6th September 2020, 20:45
Waifu2x-ncnn-vulkan
Last updated Jul 2020
https://github.com/Nlzy/vapoursynth-waifu2x-ncnn-vulkan

Waifu2x-caffe
Last updated March 2020
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-caffe


Thanks meatwad

l33tmeatwad
6th September 2020, 22:00
Waifu2x-ncnn-vulkan

Last updated Jul 2020

https://github.com/Nlzy/vapoursynth-waifu2x-ncnn-vulkan



Waifu2x-caffe

Last updated March 2020

https://github.com/HomeOfVapourSynthEvolution/VapourSynth-Waifu2x-caffe





Thanks meatwadWaifu2x-caffe requires CUDA, which is Nvidia, which is no longer supported by macOS.

AdamCarter
6th September 2020, 22:23
Ncnn could still work in theory with AMD

I know how much you love challenges. And so far you have crushed every plugin out there.

I think you got this ;)

We are all rooting for you.

shph
6th September 2020, 23:30
DFTTest r7 seems works well on 10.14.6

l33tmeatwad
7th September 2020, 23:08
Revisited compiling IT direct from source without modifying it to be compatible with older version of macOS. It does work, however it uses aligned_alloc which is introduced in Catalina so it will not be compatible with older versions of the OS.

AdamCarter
8th September 2020, 00:43
Thanks meatwad

Is this available?
https://github.com/dubhater/vapoursynth-awarpsharp2

Because it is a must, when upscaling 80s animation..

l33tmeatwad
9th September 2020, 01:48
Waifu2x-ncnn-vulkan is now available, you will have to install the Vulkan SDK (https://vulkan.lunarg.com/sdk/home) for it to work. As with any GPU based plugin, performance & stability will vary based on your system.

AdamCarter
9th September 2020, 03:24
Dude you are a compiling GOD!!!

l33tmeatwad
9th September 2020, 16:55
Finally got around to testing tc2cfr & VFRtoCFR, both load, however tc2cfr does not appear to recognize any files as a valid Timecode V1 files so I have removed it for now. The original copy of VFRtoCFR was actually corrupted so it has been replaced with a working version.

l33tmeatwad
11th September 2020, 15:23
Event though it is considered depreciated/obsolete by the developer, I went ahead and compiled Waifu2x-w2xc and the download also includes waifu2x-converter-cpp. The main reason was due to the CUDA support for older machines with NVIDIA cards, however I was unable to test that portion. If you have a newer machine I would recommend waifu2x-ncnn-vulkan instead as it is twice as fast as this plugin.

AdamCarter
11th September 2020, 20:19
Meatwad when this whole pandemic is over remind me to buy you a beer.

Selur
12th September 2020, 08:07
Small question: Does someone have list of all the direct download paths for the latest plugins?
I would like automate the download and extraction of the plugins with something like:
curl http://download1477.mediafire.com/qcddf8lnv8zg/4s0vfvl5ql8e2oz/AddGrain-r8.tar.gz | tar -xz
since it's a pain to download all the plugins one by one.
The simple idea is to put all those links in a simple shell script to download and extract them into the current directory.

ChaosKing
12th September 2020, 09:33
I think this will only work for a while as you need the pro version for direct links.
But there is downloader you can try which worked very good for me https://github.com/pythonoma/mediafire-dl

EDIT

repo with latest fix https://github.com/gilcu3/mediafire-dl

Selur
12th September 2020, 09:35
Okay, here's a quick script:
#!/bin/bash

urls='
http://download1477.mediafire.com/qcddf8lnv8zg/4s0vfvl5ql8e2oz/AddGrain-r8.tar.gz
http://download1339.mediafire.com/bpplbdjmwydg/7xakbsoec4cld77/Anime4KCPP-2.3.0.tar.gz
http://download1350.mediafire.com/bbchyqn3qt4g/uj90d1z2ped6xnr/ASharp-v1.tar.gz
http://download939.mediafire.com/qm83ub9ov8fg/dfdpbdre81qz2p6/AutoCrop-0.1.tar.gz
http://download1500.mediafire.com/mehafz1qlxeg/3jhrjb60c2o0b6a/aWarpSharp2-v4.tar.gz
http://download942.mediafire.com/w0k4szandfpg/6a5mbrdyfu53r98/Bifrost-2.2.tar.gz
http://download941.mediafire.com/9r97sxj4rz9g/30qqptntug4lnjd/Bilateral-r3.tar.gz
http://download1590.mediafire.com/jvxjljqs8blg/l7bi7dqyso7ltxl/BM3D-r8.tar.gz
http://download1649.mediafire.com/c246g6l483qg/rlnv03fe8u35cx5/Bwdif-r2.tar.gz
http://download1653.mediafire.com/c34jup0z9apg/90t8zhq9mqoizlh/CAS-r2-%28macOS-10.15%2B%29.tar.gz
http://download941.mediafire.com/wbboqr6bkmyg/dp37j6bx7mqbp61/CNR2-v1.tar.gz
http://download1509.mediafire.com/8pmd7ab7dcpg/cfrbj6vqt4acnbj/ColorBars-R2.tar.gz
http://download1583.mediafire.com/wfn7zsixddmg/7gktm7qlcrw4pfe/CombMask-1.1.0.tar.gz
http://download1590.mediafire.com/achykynu19fg/h96228hwd8ulh9p/ContinuityFixer-v6.1.tgz
http://download1499.mediafire.com/fdplkw8oshlg/4zdxtdhvyeg28pv/CTMF-r5.tar.gz
http://download1484.mediafire.com/n133xg3ctv8g/wmupgaxuftfznjd/D2VSource-1.2.tar.gz
http://download1583.mediafire.com/utwq2dwytpkg/nxduz47pe2egpf5/DCTFilter-r2.1.tar.gz
http://download1646.mediafire.com/udkm86u49fhg/opi1rfkis45kt9v/Deblock-r6.tar.gz
http://download1589.mediafire.com/i9zkbd21aiog/etc1et689lc6ay9/DeblockPP7-r4.tar.gz
http://download944.mediafire.com/f3v6p5tvzgvg/ayr1w1fpil5l1mg/DeCross-v1.tar.gz
http://download1654.mediafire.com/bwgptq96jlig/p3xe8mc9byq4dl4/Dedot-v1.tar.gz
http://download1337.mediafire.com/djb4edityo9g/td9a6nve59ktbc3/DegrainMedian-v1.tgz
http://download1589.mediafire.com/d3h178z25lug/j116js5ak6i7a45/DeLogo-v0.4.tar.gz
http://download856.mediafire.com/ror4p36m7jog/r4rw1d55g87rnuk/DePan-r1.tar.gz
http://download1649.mediafire.com/qjdpscfy4sfg/8lzjkgu27ee7ld2/Descale-r6.tar.gz
http://download1327.mediafire.com/0wgupj3onlug/p0v6bdubf1sk00f/DFTTest-r7.tar.gz
http://download1334.mediafire.com/w8ytfawzh3hg/hy2jg8d1ad6v2vy/DotKill-R2.tar.gz
http://download1653.mediafire.com/9a4f9hhvodjg/amexapvkzl2j6t9/DPID-r4.tar.gz
http://download1979.mediafire.com/ib2bqnhxx8yg/i845a4ju0vut4sr/EdgeFixer-r2.tar.gz
http://download1652.mediafire.com/qc1483we81ng/j67ql11yzbasku6/EEDI2-r7.tar.gz
http://download1507.mediafire.com/9evkxr3hj0lg/5eeloh7cz92b80w/EEDI3m-r4.tar.gz
http://download1492.mediafire.com/urajw3ej38lg/ucf622ic18kutbi/FFMS2-2.40.tar.gz
http://download941.mediafire.com/bsrzhel0c49g/bhzsdhk4ajbvg2t/FFT3DFilter-R1.tar.gz
http://download943.mediafire.com/uhure2e3qfqg/yg9zw6rjccy517d/FieldHint-r3.tar.gz
http://download941.mediafire.com/na36ccbcz9vg/w1aeawkebsal2iw/FillBorders-v1.0.tar.gz
http://download1647.mediafire.com/takippffmhtg/8jlz0hxjqkabsyx/FTF-r5.tar.gz
http://download1980.mediafire.com/0186qag7lahg/bbk5p5ej0ve8xw8/Flash3KyuuDeband-2.0.0-1.tar.gz
http://download941.mediafire.com/0ctxhnxzd1qg/j54a54ana2qpk0j/FluxSmooth-v2.tar.gz
http://download1073.mediafire.com/rpsgv4c2jh6g/5he9ce9gu5xp8o2/LibFocus-r4.tar.gz
http://download1476.mediafire.com/j0qbhu4qfr4g/k471du5ywumuxk3/FmtConv-r22.tar.gz
http://download855.mediafire.com/n95h6hrut17g/dtfg5ya7g02t7ya/GradCurve-170201.tar.gz
http://download1980.mediafire.com/ybfm6mxrifog/n76k56rojqcb5tq/Histogram-v2.tar.gz
http://download1592.mediafire.com/fxv1xl0fufjg/dmmzsxmw7htxmfv/HQDN3D-20180629.tar.gz
http://download946.mediafire.com/gko1lia5hdkg/crfcgodu9xrme2u/IT-v1.2.tar.gz
http://download1647.mediafire.com/tevkjy8wlrkg/prcybaizipt28rw/JincResize-r7.2.tar.gz
http://download1503.mediafire.com/97aufz6fdxog/7g9n6ea93bkmg9v/KNLMeansCL-1.1.1.tar.gz
http://download2283.mediafire.com/rvynpe5hpqpg/5ljjd5fwmq714tv/LGhost-r1.tar.gz
http://download1502.mediafire.com/zhjatay6hrwg/23v8lfoc8hmyzgv/LSMASHSource-20200728.tar.gz
http://download856.mediafire.com/5c08xj4mbckg/ls8r0jusdsp5s4v/MiniDeen-r1.tar.gz
http://download1584.mediafire.com/oc1jfiur9r0g/ahoayzazsjoh698/MinSharp-r4-f90c5a7.tar.gz
http://download942.mediafire.com/wk177q4539mg/yoy8h8b1u43urbu/MotionMask-v2.tar.gz
http://download1518.mediafire.com/rbmm7w8s9ncg/5n4w4cu318qt3sn/MSmoosh-v1.1.tar.gz
http://download1505.mediafire.com/neydysuwdp7g/031maaehwnks748/MVTools-v23.tar.gz
http://download847.mediafire.com/b4e04ujrc0qg/tafv6pitkcjhjom/NNEDI3-v12.tar.gz
http://download1482.mediafire.com/vl02d0ndj8vg/kb381l2dmmpbdqd/NNEDI3CL-r8.tar.gz
http://download1649.mediafire.com/iny8w07rw80g/ptgauv3ry240qfy/QRCodeSource-1.0-b5ce453.tar.gz
http://download1654.mediafire.com/3lugszeph9vg/c6f91nnl82mte7m/RawSource-160426.tar.gz
http://download1474.mediafire.com/o3fe9hi01jdg/qy0eg1pw7cllmy8/ReadMpls-r4.tar.gz
http://download1083.mediafire.com/xikzedmyo7ag/ab64cwj6sanolab/RemapFrames-v1.1.tar.gz
http://download1475.mediafire.com/ct7ym8ps02kg/76j6ip0prteiabt/RemoveDirt-ddc78e5.tar.gz
http://download1649.mediafire.com/h56rrgg5s5cg/avi7cgbqi9qip13/Retinex-r4.tar.gz
http://download1350.mediafire.com/sjpk7152lelg/my1ahd0q5o86jxu/librgsf-r5.tar.gz
http://download1588.mediafire.com/8dzhtt3uyesg/jh2sv2co7hiix3x/SangNom-r42.tar.gz
http://download1503.mediafire.com/mlts5jvrnsvg/v0wtzfkhb5qjyef/SangNomMod-v0.1-fix.tar.gz
http://download853.mediafire.com/i3wotavpnwwg/jf9gfgn8g7f173z/SceneChange-0.2.0-2.tar.gza
http://download1522.mediafire.com/icmynjhbk1ig/wf81jpyn4liizoq/scrawl-1.0.tar.gz
http://download1642.mediafire.com/n9n5oe64rshg/xadd8jg2x88em5n/SCX-v1.tar.gz
http://download1478.mediafire.com/n6qcf4n1loeg/ltc9xx2zl0cz3o6/SmoothUV-v2.tar.gz
http://download941.mediafire.com/f5fdeu2sbmag/73zj88u67jc77rk/SSIQ-v1.0.tar.gz
http://download1496.mediafire.com/2kg8133u3wxg/22mnw8v9srtt6nj/SurfaceBlur-r0.tar.gz
http://download1338.mediafire.com/woh0kj1ibelg/uk4gs511a81jfha/TBilateral-v3.tar.gz
http://download1484.mediafire.com/ue1u1nwgk5sg/a5stqtecpqu3zoc/TCanny-r12.tar.gz
http://download1351.mediafire.com/x4r8uxvos7kg/8l82thg5uj4a88u/TComb-v4.tgz
http://download944.mediafire.com/5l8zvvb016mg/5p4d3cjh3e5yh8h/TDeintMod-r10.1.tar.gz
http://download1581.mediafire.com/3r87gmbdbrkg/op6ltasy1425hti/TempLinearApproximate-r3.tar.gz
http://download1337.mediafire.com/284cbdwlhvsg/dm7jplg9ylecp8y/TemporalSoften-v1.0.tar.gz
http://download1323.mediafire.com/u78hc9bi138g/sh5vbvf6y1ay910/TemporalSoften2-v1.tar.gz
http://download1482.mediafire.com/nuan90ot7cdg/8pr8mm9a6rzlyy4/TimeCube-r3.tar.gz
http://download939.mediafire.com/crkudfapu8tg/pjxgxic88ae9dnp/TNLMeans-r40.tar.gz
http://download852.mediafire.com/ai8z2gvu3skg/hklmtdbza9p9a5a/ToneMap-R2.tar.gz
http://download948.mediafire.com/ygzv6z13alzg/t2pze52gq152aa9/TTempSmooth-r3.tar.gz
http://download1585.mediafire.com/0x29an09yaag/2hn6vurq42d12lz/VagueDenoiser-r2.tar.gz
http://download937.mediafire.com/hrjbwhtutepg/2y8gw5lb8flu74c/libvcmod-0720.tar.gz
http://download1084.mediafire.com/pq62xt6vdj4g/h35cx6czf78pqrw/vcmove_0820.tar.gz
http://download942.mediafire.com/l55bo1r3wnbg/s01j1y4u0zw11l7/vctrans-0915.tar.gz
http://download851.mediafire.com/jls8qqpcidfg/2re4fn5w4kewdup/VFRToCFR-1.0.tar.gz
http://download1580.mediafire.com/9hdjmejryphg/tfar0lnclr6vqty/VideoScope-v1.0.tar.gz
http://download1980.mediafire.com/jhyuk37g32ug/ak1g11hb2ruyxnb/W3FDIF-r1.tar.gz
http://download1644.mediafire.com/7tf5pcuqnoug/vrcs3h363g5qbqi/waifu2x-ncnn-vulkan-r3.tar.gz
http://download2271.mediafire.com/n5xumfnqyqfg/vlpzbhafkjevhkx/Waifu2x-w2xc-r8-a9f064a.tar.gz
http://download1474.mediafire.com/2r710xp0c0gg/nr3c6vs3ozv7w2x/Yadifmod-r10.1.tar.gz
http://download1324.mediafire.com/hykixh4el82g/qp3ob9sppbdeqls/ZNEDI3-r2.tar.gz
'
for url in $urls; do
curl $url | tar -xz
done

(urls need to be adjusted when a new version of a plugins is released)

Cu Selur

ChaosKing
12th September 2020, 09:38
Your direct links don't work for me. It first shows a page "Generating new download key" and then redirects me to the page with a download button. So you absolutely need the script I posted above.

Selur
12th September 2020, 12:15
Ah, okay I feared something like that. ;)

l33tmeatwad
12th September 2020, 13:36
Yeah, I wish I had the means to host this all with direct links. I've considered other free services too, but Google Drive has soft rolling bandwidth caps on the server side & Mega has bandwidth caps on the user side for their entire service. If anyone has any better ideas for sharing locations or would like to host just let me know.

shph
12th September 2020, 14:34
How about archive.org ? It provides direct links.
There is also direct links in Dropbox. Just replace "www" to "dl" and remove "?dl=1" in the end and you will get pure direct link to file. https://www.dropboxforum.com/t5/Dropbox-files-folders/How-can-I-get-a-direct-link-to-my-file/td-p/91934

l33tmeatwad
12th September 2020, 15:19
How about archive.org ? It provides direct links.
There is also direct links in Dropbox. Just replace "www" to "dl" and remove "?dl=1" in the end and you will get pure direct link to file. https://www.dropboxforum.com/t5/Dropbox-files-folders/How-can-I-get-a-direct-link-to-my-file/td-p/91934Archive.org is not a file sharing host and Dropbox does not provide enough free space to host everything.

shph
12th September 2020, 15:29
3 GB on Dropbox is not enough? On my computer extracted plug-ins folder is about 70 MB. VapourSynth installer also about 75 MB. Or i miss some storage concept?

l33tmeatwad
12th September 2020, 15:31
3 GB on Dropbox is not enough? On my computer extracted plug-ins folder is about 70 MB. VapourSynth installer also about 75 MB. Or i miss some storage concept?Between applications, installers, plugins, and source code I'm currently using more than 4GB. That is only going to increase with time.

shph
12th September 2020, 15:33
There are a lot of ways to extend free space in Dropbox https://trendblog.net/get-free-dropbox-space/
Install Dropbox.app, get additional free space, delete app if you don't need it. And so on...

l33tmeatwad
12th September 2020, 15:34
There are a lot of ways to extend free space in Dropbox https://trendblog.net/get-free-dropbox-space/If you would like to mirror the plugins on Dropbox feel free to.

shph
12th September 2020, 15:43
I mirror plugins in VapourSynth + QTGMC Deinterlace + Hybrid UI FAQ for macOS package https://forum.doom9.org/showthread.php?t=181299 It is more less always updated ans includes all filters from your Mediafire shares. Or is it some requirement for some tasks to download filters one by one from direct links?

ChaosKing
12th September 2020, 15:46
I could host it on my server. But you could also put everything on github for free... and with macOS binaries on github, vsrepo could be extended with macos support. Maybe it already works in portable mode.

l33tmeatwad
12th September 2020, 17:04
I could host it on my server. But you could also put everything on github for free... and with macOS binaries on github, vsrepo could be extended with macos support. Maybe it already works in portable mode.I haven't looked into the terms of service enough on GitHub, but I know for the most part it's expected that you're hosting the source project there. That said I don't feel like managing so many repositories, the ones already on GitHub are easier, but that's just a mess I haven't been interested in organizing up to this point. It would be nice to work with someone on maintaining everything.

l33tmeatwad
12th September 2020, 21:33
Added the following:

AdaptiveGrain
AreaResize*
ASharp
Average
NoiseGenerator*
TBilateral
TemporalSoften2
Warpsharp Single Precision

*Crashes VapourSynth Editor when preview window is closed or refreshed.

shph
13th September 2020, 14:09
Seems AdaptiveGrain-0.3.1 archive contains some random files and folders instead of .dylib plug-in
https://i.imgur.com/JnZ7kyM.jpg

l33tmeatwad
13th September 2020, 14:41
Seems AdaptiveGrain-0.3.1 archive contains some random files and folders instead of .dylib plug-in
https://i.imgur.com/JnZ7kyM.jpgI mean technically that is the plugin...but clearly I mixed up the source code and compiled compressed files. Files are now in their correct directory.

shph
13th September 2020, 15:29
How about add description to the filters list about namespaces conflict and warning description at the bottom of the list about do not put filters with same namespace to autoload folder? Something like this:
EdgeFixer (uses ContinuityFixer namespace)
SangNomMod (uses SangNom namespace)
Focus (uses TemporalSoften namespace)

Also maybe add "8-bit only" warning to filters list?
I done bit depth filters tests in Hybrid here https://forum.doom9.org/showthread.php?p=1922287#post1922287
DeGrain -> MLDegrain
DeGrain -> TemporalDegrain
Artefacts -> DeCrawl -> DotKill (R1 and R2 versions)
Artefacts -> DeCrawl -> DeDot
Artefacts -> DeRainbow -> BiFrost
Artefacts -> DeRainbow -> SSIQ
Artefacts -> DeCross
Line -> AntiAliasing -> SangNomMod

l33tmeatwad
13th September 2020, 15:43
Or, ya know, just download plugins you need instead of everything that exists. There is no need to have two different versions of the same thing, some of these I'm compiling partially for archival purposes.

l33tmeatwad
13th September 2020, 20:20
Just added FFTSpectrum & VMAF, with these there are now 100 external plugins available for macOS! Other updates:

Currently Investigating:
Damb - Needs libsndfile which needs other dependancies.
SRMD - Need to test with AMD GPU.
vs-placebo - Needs libplacebo.

Plugins with Issues:
MVTools-Float - Needs C++20, not implamented in macOS yet.
tc2cfr - No Timecodes Work

Currently Windows Only:
DelogoHD
DGHDRtoSDR
DGMVSource
vcfreq
vcm
VSFilterMod
xy-VSFilter

Other:
bilateralgpu - Depreciated, use CuPy.

AdamCarter
14th September 2020, 13:06
Selur needs these

got tools which are used in Hybrid which I can't update:
rav1e, used for AV1 encoding
mencoder/mplayer, used for DVD Input and the normal Preview
opusenc, used for opus audio encoding
oggenc2, used for ogg vorbis audio encoding

l33tmeatwad
14th September 2020, 14:45
Selur needs these

got tools which are used in Hybrid which I can't update:
rav1e, used for AV1 encoding
mencoder/mplayer, used for DVD Input and the normal Preview
opusenc, used for opus audio encoding
oggenc2, used for ogg vorbis audio encoding
Please keep things on topic for VapourSynth support.

AdamCarter
14th September 2020, 17:45
Hey don’t shoot the messenger. If this type of work Is too complicated we Can always Teach shph how to compile.

l33tmeatwad
14th September 2020, 17:59
Hey don’t shoot the messenger. If this type of work Is too complicated we Can always Teach shph how to compile.
Both of you could learn since you both seem so fascinated with Hybrid.

l33tmeatwad
15th September 2020, 20:13
Added Damb, Placebo, & SRMD. A few more updates:

neo f3kdb - Won't Compile
neo FFT3D - Crashes
neo DFTTest - Won't Compile
neo TMedian - Won't Compile
neo Gradient Mask - Won't Compile
neo Vague Denoiser - Crashes

As for downloads, thanks to ChaosKing there are now direct downloads available in addition to the MediaFire downloads!

shph
16th September 2020, 03:12
Really great improvements! Thanks a lot l33tmeatwad and ChaosKing!
I tested Waifu2x NCNN Vulkan + SDK and seems that system works well. But that is very heavy AI filter and it is rather slow even on my Radeon RX 580 GPU.

shph
16th September 2020, 03:17
Added Anime4KCPP, it seems to work okay, but GPUMode previews are not correct, have not tried encoding with it.
I can confirm. It gives me errors when i attempt to run it on GPU. https://forum.selur.net/showthread.php?tid=1495&pid=9115#pid9115
No problem run it on CPU.

l33tmeatwad
16th September 2020, 03:36
I can confirm. It gives me errors when i attempt to run it on GPU. https://forum.selur.net/showthread.php?tid=1495&pid=9115#pid9115
No problem run it on CPU.
I wouldn't recommend it anyways, it over filters and looks pretty terrible when not used on it's ideal sample sources.

l33tmeatwad
17th September 2020, 15:50
As I was working on the plugins I realized a few quality of life changes I can make to the installer, I will most likely update the R52 installer and archive the older ones at some point. I plan to have the installer to move plugins stored in /usr/local/lib/vapoursynth to the desktop when installing so it can safely create a symbolic link from that location to the framework. In addition to that I'm going to be adding symbolic links for the package config files so that export commands aren't needed for (most) plugins to be compiled. This should help with compatibility for other tools & installers to not only work with manually compiled or brew installed versions, but to also work with installs from the VapourSynth Installer.

l33tmeatwad
18th September 2020, 02:44
The R52 installer was updated, it is a non-essential update and only benefits anyone that is interested in compiling plugins themself. The only addition the average user could benefit from can be accomplished by the following terminal command:

if test -d "/usr/local/lib/vapoursynth"; then sudo mv /usr/local/lib/vapoursynth $HOME/Desktop/VSPlugins-Backup; fi
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/vapoursynth /usr/local/lib/vapoursynth

Selur
20th September 2020, 11:12
@l33tmeatwad: when adding new filters, you could add vcm which includes vcmod and vcmove and quite a few others around frequency domain filtering. :)
see: http://www.avisynth.nl/users/vcmohan/

l33tmeatwad
21st September 2020, 16:05
@l33tmeatwad: when adding new filters, you could add vcm which includes vcmod and vcmove and quite a few others around frequency domain filtering. :)
see: http://www.avisynth.nl/users/vcmohan/
Currently the code does not compile on macOS and I am working with the developer to make adjustments, but as of right now we haven't found the correct adjustments to make it work.

Selur
21st September 2020, 19:08
Thanks for looking into it. :)

l33tmeatwad
22nd September 2020, 15:46
Figured I would ask for anyone following this thread, would you prefer the VapourSynth folder created to continue to be on the desktop or would it be preferred to be located in your home folder instead?

shph
23rd September 2020, 06:03
It depends of situation.
VapourSynth on desktop is easier to see and reach when you install first time. But i usually just always keep copy of that folder in Applications folder and delete folder from Desktop. To be honest it is a little annoying because every time i reinstall Vapoursynth i need to delete that folder from desktop and also type password because folder is sort of locked.
VapourSynth at home folder looks like more seamless option. But may be slightly less obvious to new users.

l33tmeatwad
23rd September 2020, 14:10
I could make shortcuts optional.

shph
24th September 2020, 15:18
Nice idea

shph
10th October 2020, 16:11
Seems we need temporalmedian library https://github.com/dubhater/vapoursynth-temporalmedian it required by mClean filter

Selur
11th October 2020, 18:50
@l33tmeatwad: Another filter that might be interesting assuming it can be compiled for MacOS: https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan/

l33tmeatwad
20th October 2020, 14:57
Just an update, I've added the requested plugins to my list and as soon as I get back to working on this project I'll see about getting them compiled.

Selur
20th October 2020, 15:50
Thanks, no hurry from my side.

AdamCarter
6th November 2020, 17:37
Vmod moved all his plugins here

http://www.avisynth.nl/users/vcmohan/

l33tmeatwad
17th November 2020, 16:44
I have updated the topic to specify the software and plugins are compiled for Intel based macOS since the first set of ARM based MacBooks are now in the wild. Based on the initial benchmarks spreading across the web the performance should be fine even if it's not natively compiled for the M1 chips, however if anyone can share their experience that would be great. I do not currently have plans to compile for ARM at the moment as I do not have a machine to compiling with and do not want to just cross compile with no means to test the resulting files.

Selur
29th November 2020, 08:26
@l33tmeatwad: another useful filter you could add: https://github.com/Kiyamou/VapourSynth-DehazingCE

ChaosKing
30th November 2020, 20:23
Is someone interested in a vsrepo (https://github.com/vapoursynth/vsrepo)mac version?
I just realised I could make a "fake github api" for the plugins hosted on vsdb.top. That means auto updating should work with minimal code changes.

Selur
1st December 2020, 14:55
I'd use it.

ChaosKing
2nd December 2020, 17:24
@Selur can you test this binary (pyinstaller bundle) http://vsdb.top/avsrepo-64.zip. I was generated by a github action here https://github.com/avisynth-repository/avsrepo/actions/runs/392449849
(I'm not a mac user and only have a mac Mojave-VM for testing ... )

It shows an "request ssl error" when I run "avsrepo-64 update".
If it fails for you too, try: Download http://vsdb.top/avspackages.zip extract it and try to "install" something, like "avsrepo install dfttest"

I just need to know if the error pops up only on my machine or for everyone. Btw. the error is gone if I install "certifi" via pip.

I think my "mac" does not know any cloudflare certs. Note to myself: switch to Letsencrypt :D

EDIT
oh and you need 7z in PATH. brew install p7zip

l33tmeatwad
2nd December 2020, 19:38
@ChaosKing I'll look into making this easier for everyone as the plugin directory can vary based on how VapourSynth was installed (even brew wants to use its own directory that's different). I may try to make a build of p7zip that can be bundled with avsrepo or something.

ChaosKing
2nd December 2020, 20:46
What would be the plugin path instead of /usr/local/lib/vapoursynth for other install methods?

Why am I even testing pyinstaller... This is vapoursynth + python and not Avisynth :rolleyes:

l33tmeatwad
3rd December 2020, 14:09
What would be the plugin path instead of /usr/local/lib/vapoursynth for other install methods?

Why am I even testing pyinstaller... This is vapoursynth + python and not Avisynth :rolleyes:Both my installer and Brew use alt locations and symbolic links for the main library files. In recent revisions I've started adding a symbolic link to forward stuff sent to that location as well so it should work fine with the installer, but unless you take some specific steps before using "brew install vapoursynth" you'll end up with the plug-in path in a weird location. Side note, part of the point of the installer is that it does not require any compilation tools to be installed, unlike Brew, so I was going to try and make sure it can be used without needing to install Brew.

ChaosKing
3rd December 2020, 14:48
VS docs: http://www.vapoursynth.com/doc/plugins.html#os-x
Autoloading can be configured using the file $HOME/Library/Application Support/VapourSynth/vapoursynth.conf. Everything else is the same as in Linux.
So wouldn't it make sense for vsrepo-mac to use the paths from this config? (Assuming your installer would create the config file)

p.s. vsrepo supports custom path params for scripts/plugins in case you want to download your files to a different folder.

l33tmeatwad
3rd December 2020, 15:14
I would take it into consideration, but by default neither Brew nor the installer setup the Autoloading config file. That said, in the first post of this thread I did encourage people using Brew to setup the autoloading config file.

ChaosKing
7th December 2020, 17:06
The "vsdb-github-api" is ready http://vsdb.top/vapoursynth/mac/api.php?plugin=SangNom
But I noticed that 7z does not work as intended. It extracts only the tar from tar.gz files. I need to look closer at the python tarfile module...

That would mean 7z will not be needed anymore (if all files are tar.gz files)

Selur
23rd March 2021, 10:19
I finally had some time to also do some testing. I nstalled p7zip using brew got an error when trying to install vstcanny:
selur@Georgs-Mac-2 Downloads % ./avsrepo-64 install vstcanny
vsTCanny 1.0.0: 100%|████████████████████████████████████████████████████████████████████████████████████████████| 60.2k/60.2k [00:00<00:00, 9.38MB/s]
Successfully installed vsTCanny 1.0.0
1 package installed
selur@Georgs-Mac-2 Downloads % usage: avsrepo-64 [-h] [-f] [-p] [-d] [-t {win32,win64}] [-b BINARY_PATH] [-s SCRIPT_PATH]
{install,update,upgrade,upgrade-all,uninstall,installed,available,paths} [package [package ...]]
avsrepo-64: error: argument -s: expected one argument

Cu Selur

ChaosKing
23rd March 2021, 12:07
Hmm looks like it downloaded vsTCanny. Can you see an avisynth folder with the binary inside!?

You only ran this one command? It looks a bit like 2 command were triggered.

You can test also the script version. I think the only thing I did was to remove the "import winreg" block:
https://github.com/theChaosCoder/avsrepo/blob/07e2d76ab360fb727866f63b5c7aa2e3138e02c1/avsrepo.py#L40

It was then just converted to a "bin" with pyInstaller. But you can just run it with Python3 avsrepo.py install vstcanny

I will test it a bit later (with mac files) next week or so as I'm a bit busy right now

Selur
23rd March 2021, 13:45
To be sure I did everything again:
1. download file
2. make file executeable (chmod +x avsrepo-64)
3. getting json file with filters (avsrepo-64 update)
4. install file (avsrepo-64 install vstcanny)
funny thing is everything seems to work, download happens, command line is there
./avisynth64/plugins:
total 168
drwxr-xr-x 3 selur staff 96 Mar 23 13:32 .
drwxr-xr-x 3 selur staff 96 Mar 23 13:30 ..
-rw-r--r-- 1 selur staff 85504 Mar 23 13:32 vsTCanny.dll
and 1-2 seconds after the error message it shown.

Running:

python3 avsrepo.py update
python3 avsrepo.py install vstcanny

it aborts with:
selur@Georgs-Mac-2 Downloads % python3 avsrepo.py
usage: avsrepo.py [-h] [-f] [-p] [-d] [-t {win32,win64}] [-b BINARY_PATH] [-s SCRIPT_PATH] {install,update,upgrade,upgrade-all,uninstall,installed,available,paths} [package [package ...]]
avsrepo.py: error: the following arguments are required: operation, package
selur@Georgs-Mac-2 Downloads % python3 avsrepo.py update
Local definitions updated to: Fri, 12 Mar 2021 10:21:29 GMT
selur@Georgs-Mac-2 Downloads % python3 avsrepo.py update
Local definitions updated to: Fri, 12 Mar 2021 10:21:29 GMT
selur@Georgs-Mac-2 Downloads % python3 avsrepo.py install vstcanny
Fetching: https://github.com/Asd-g/AviSynth-vsTCanny/releases/download/1.0.0/vsTCanny-1.0.0.7z
Traceback (most recent call last):
File "avsrepo.py", line 446, in <module>
res = install_package(name)
File "avsrepo.py", line 329, in install_package
res = install_files(p)
File "avsrepo.py", line 303, in install_files
result = subprocess.run([cmd7zip_path, "e", "-so", tfpath, fn_props[0]], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '7z.exe'

so simply removing the winreg part isn't encough. :)

No problem, just wanted to know what the current status is. :)

Cu Selur

ChaosKing
23rd March 2021, 14:39
ahh and I removed the ".exe" in 7z.exe :D

l33tmeatwad
25th March 2021, 15:14
Sorry for the long hiatus, had a few life events happen. I'll look into testing that plugin downloader in the next month or so and hopefully we can get it into the installer.

Sent from my Pixel 4a using Tapatalk

ChaosKing
25th March 2021, 16:21
I have not worked on this since, so nothing missed. A tar.gz extractor needs to be implemented. Everything else should work on a mac like it does on windows. (At least for the portable mode)
Ideally this would then be added to the official vsrepo script.

dev-null
14th April 2021, 18:30
Is the particular znedi3 r2 build from this release broken in any form or not compatible with all CPUs (i7/Haswell on an older Mac mini here)?

After locating various information here and there I was under the impression that znedi3 should perform noticeably better than nnedi3. Since I failed to build it myself quickly I just hunted down for the binary from the plugin download page and dropped it into the right place ("/usr/local/lib/vapoursynth" here).

Many hasvfunc functions make automatically use of znedi3 and prefer it over nnedi3.

In my case performance dropped noticeably. First I encountered it with havsfunc's daa(). It now took like ~10s to process a frame compared to like ~1s with just nnedi3 installed. Maybe just a certain problem with my parameters or with the "progressive" input clip, but a generic QTGMC test over properly combed 1440x1080i data also showed huge performance losses:

znedi3: encoded 1000 frames, 3.76 fps, 1482.79 kb/s
nnedi3: encoded 1000 frames, 4.82 fps, 1474.58 kb/s

Also the actual data seems to come out differently (different bitrate/ resulting filesize), but I don't know if both plugins should work entirely identical here or not? But primarily the performance drop is huge. I was hoping for the opposite result. :D

l33tmeatwad
22nd April 2021, 02:42
VapourSynth R53 installer is now up. It's a quick update so none of the dependencies were updated, but I'll try to do an updated version later.

Selur
24th April 2021, 16:38
@l33tmeatwad: Would be nice if you could add TIVTC (https://github.com/dubhater/vapoursynth-tivtc)

l33tmeatwad
19th May 2021, 18:04
@l33tmeatwad: Would be nice if you could add TIVTC (https://github.com/dubhater/vapoursynth-tivtc)
Added to my to-do list right behind updating dependancies.

Selur
19th May 2021, 20:42
Thanks!

asarian
29th May 2021, 14:48
Looks like R53 installer is fairly broken. :( Whenever I try and start a script, I get

"Python exception: No attribute with the name avs exists. Did you mistype a plugin namespace?"

I do nothing special, just core.avs.LoadPlugin ("C:/Program Files (x86)/dgdecnv/x64 Binaries/DGDecodeNV.dll")

All PATH setting look okay, like C:\Users\name\AppData\Local\Programs\VapourSynth\core\plugins

What is going wrong here?!

videoh
29th May 2021, 15:59
Don't know what the problem is for you with avs compat mode but you can use native Vapoursynth mode for DGSource():

...
core.std.LoadPlugin'D:/Don/Programming/C++/DGDecNV/DGDecodeNV/x64/release/DGDecodeNV.dll')
video = core.dgdecodenv.DGSource('Harry Potter.dgi',show=True)
...

If you must have AVS compat mode, then please post your full script and hopefully Vapoursynth gurus will help. This is working for me after R53 install:

import vapoursynth as vs
core = vs.get_core()
core.avs.LoadPlugin('D:/Don/Programming/C++/DGDecNV/DGDecodeNV/x64/release/DGDecodeNV.dll')
video = core.avs.DGSource('Harry Potter.dgi',show=True)
video.set_output()

asarian
29th May 2021, 16:30
Don't know what the problem is for you with avs compat mode but you can use native Vapoursynth mode for DGSource():

...
core.std.LoadPlugin(path="D:/Don/Programming/C++/DGDecNV/DGDecodeNV/x64/release/DGDecodeNV.dll")
video = core.dgdecodenv.DGSource('Harry Potter.dgi',show=True)
...

If you must have AVS compat mode, then please post your full script and hopefully Vapoursynth gurus will help. This is working for me after R53 install:

import vapoursynth as vs
core = vs.get_core()
core.avs.LoadPlugin('D:/Don/Programming/C++/DGDecNV/DGDecodeNV/x64/release/DGDecodeNV.dll')
video = core.avs.DGSource('Harry Potter.dgi',show=True)
video.set_output()


Okay, that works. :) Thx. Not sure why the avs route doesn't work any more, but this will do.

asarian
29th May 2021, 16:48
Don't know what the problem is for you with avs compat mode

The video starts encoding, but still getting "Core plugin autoloading failed. Installation is broken?"

What could be causing this? I used the official R53 installer. These are the values in PATH:

C:\Users\name\AppData\Local\Programs\VapourSynth\core
C:\Users\name\AppData\Local\Programs\VapourSynth\vsrepo

And those are corresponding with values in Registry.


EDIT: And the py promp output:

>>> from vapoursynth import core
>>> print(core.version())
Core plugin autoloading failed. Installation is broken?
VapourSynth Video Processing Library
Copyright (c) 2012-2021 Fredrik Mellbin
Core R53
API R3.6
Options: -

videoh
29th May 2021, 18:01
Vapoursynth guys will have to help with that. Did you try emptying your autoload dir? Something in there may be problematic.

asarian
29th May 2021, 23:42
Finally got it working again. Not sure the installer (VS itself?) has hardcoded paths, but after uninstall everything, and putting things back to C:/Program Files/VapourSynth/, as it should (instead of the rather weird AppData/Local), all is good again.

Selur
30th May 2021, 11:26
@asaria: How about discussing Windows issues in the Windows thread and not the MacOS thread?

asarian
30th May 2021, 15:18
@asarian: How about discussing Windows issues in the Windows thread and not the MacOS thread?

Then how about making the topic title less ambiguous? To me, topic just reads as 'VapourSynth Installer, Applications, AND plugins for macOS,' aka 'All things installer related.' Especially since there's no comparable sticky for Windows install issues.

l33tmeatwad
30th May 2021, 15:37
Then how about making the topic title less ambiguous? To me, topic just reads as 'VapourSynth Installer, Applications, AND plugins for macOS,' aka 'All things installer related.' Especially since there's no comparable sticky for Windows install issues.I mean...the "for macOS" is pretty self explanatory...

Selur
1st June 2021, 20:25
@l33meatwad: two new filters which would be nice to have on MacOS. :D
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-RIFE-ncnn-Vulkan
https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan

Cu Selur

Selur
26th June 2021, 20:41
@l33meatwad: and another one: https://github.com/mysteryx93/FrameRateConverter :)

Cu Selur

MysteryX
26th June 2021, 22:38
Perhaps you can look at the FRC source code and tell me what needs to be changed to make it compatible with MacOS or Linux?

Those kind of things should be better documented to help plugin developers write re-usable code, structured the right way from the start.

Selur
27th June 2021, 10:52
@MysterX: first start would be a build script that's not VisualStudio based. ;)
I think a GNUmakefile, a meson.build or a CMake configure file are the usual suspects.

l33tmeatwad
28th June 2021, 14:20
@l33meatwad: and another one: https://github.com/mysteryx93/FrameRateConverter :)

Cu Selur
That one is just a script, it should work just fine no matter what platform.

Selur
28th June 2021, 14:29
No, the release consists of a script and a library. :)

l33tmeatwad
28th June 2021, 15:05
No, the release consists of a script and a library. :)
Ah, I missed that, yeah it needs some kind of compatible build system or xcode project file setup for it to build.

l33tmeatwad
28th June 2021, 15:41
@l33meatwad: two new filters which would be nice to have on MacOS. :D
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-RIFE-ncnn-Vulkan
https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan

Cu Selur

VapourSynth-RIFE-ncnn-Vulkan failes to build due to C++ standards not supported in xcode yet.
[320/339] Compiling C++ object librife.dylib.p/RIFE_plugin.cpp.o
FAILED: librife.dylib.p/RIFE_plugin.cpp.o
c++ -Ilibrife.dylib.p -I. -I.. -Isubprojects/ncnn/__CMake_build -I../subprojects/ncnn/__CMake_build -Isubprojects/ncnn -I../subprojects/ncnn -I../subprojects/ncnn/glslang -Isubprojects/ncnn/__CMake_build/include -I../subprojects/ncnn/__CMake_build/include -I../subprojects/ncnn/src/layer/x86 -I../subprojects/ncnn/src -Isubprojects/ncnn/__CMake_build/src -I../subprojects/ncnn/__CMake_build/src -I../subprojects/ncnn/src/layer -I/usr/local/include -I/Library/Frameworks/VapourSynth.framework/include/vapoursynth -I/Library/Frameworks/VapourSynth.framework/include -fvisibility=hidden -flto -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -O3 -fno-math-errno -fno-trapping-math -std:c++20 -mfpmath=sse -msse2 -MD -MQ librife.dylib.p/RIFE_plugin.cpp.o -MF librife.dylib.p/RIFE_plugin.cpp.o.d -o librife.dylib.p/RIFE_plugin.cpp.o -c ../RIFE/plugin.cpp
clang: error: unknown argument: '-std:c++20'
[321/339] Compiling C++ object librife.dylib.p/RIFE_rife.cpp.o
FAILED: librife.dylib.p/RIFE_rife.cpp.o
c++ -Ilibrife.dylib.p -I. -I.. -Isubprojects/ncnn/__CMake_build -I../subprojects/ncnn/__CMake_build -Isubprojects/ncnn -I../subprojects/ncnn -I../subprojects/ncnn/glslang -Isubprojects/ncnn/__CMake_build/include -I../subprojects/ncnn/__CMake_build/include -I../subprojects/ncnn/src/layer/x86 -I../subprojects/ncnn/src -Isubprojects/ncnn/__CMake_build/src -I../subprojects/ncnn/__CMake_build/src -I../subprojects/ncnn/src/layer -I/usr/local/include -I/Library/Frameworks/VapourSynth.framework/include/vapoursynth -I/Library/Frameworks/VapourSynth.framework/include -fvisibility=hidden -flto -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -O3 -fno-math-errno -fno-trapping-math -std:c++20 -mfpmath=sse -msse2 -MD -MQ librife.dylib.p/RIFE_rife.cpp.o -MF librife.dylib.p/RIFE_rife.cpp.o.d -o librife.dylib.p/RIFE_rife.cpp.o -c ../RIFE/rife.cpp
clang: error: unknown argument: '-std:c++20'
[330/339] Compiling C++ object subprojects/ncnn/libcm_ncnn.a.p/src_layer_x86_binaryop_x86.cpp.o
../subprojects/ncnn/src/layer/x86/binaryop_x86.cpp:690:74: warning: unused parameter 'opt' [-Wunused-parameter]
static int binary_op_scalar_inplace_pack8(Mat& a, float b, const Option& opt)
^
../subprojects/ncnn/src/layer/x86/binaryop_x86.cpp:1441:74: warning: unused parameter 'opt' [-Wunused-parameter]
static int binary_op_scalar_inplace_pack4(Mat& a, float b, const Option& opt)
^
2 warnings generated.
[333/339] Compiling C++ object subprojects/ncnn/libcm_SPIRV.a.p/glslang_SPIRV_GlslangToSpv.cpp.o
ninja: build stopped: subcommand failed.

VapourSynth-RealSR-ncnn-Vulkan fails to build due to this error at the end.
./src/main.cpp:52:25: error: expected ';' after top level
declarator
static std::mutex g_lock{};
^
;
./src/main.cpp:56:120: error: expected function body after
function declarator
...VSFrameRef* src, VSFrameRef* dst, const FilterData* const VS_RESTRICT d, const VSAPI* vsapi) noexcept
^
2 errors generated.
make[2]: *** [CMakeFiles/rsnv.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/rsnv.dir/all] Error 2
make: *** [all] Error 2

feisty2
28th June 2021, 16:14
C++20 has been a valid option since clang10, you should update your compiler.

l33tmeatwad
28th June 2021, 16:23
Added to my to-do list right behind updating dependancies.
Added this, was crashing on my Sierra VM but was working on actual hardware with macOS 10.15.

feisty2
28th June 2021, 16:31
Odd, mine is fully up to date...in fact I actually updated it right before trying.

https://godbolt.org/z/Md71rK8dx
as you can see, C++20 has been there since 10.0.0
I heard that apple ships crippled clang with their IDE, not exactly sure if that's true

l33tmeatwad
28th June 2021, 16:47
https://godbolt.org/z/Md71rK8dx
as you can see, C++20 has been there since 10.0.0
I heard that apple ships crippled clang with their IDE, not exactly sure if that's trueYeah, they generally don't fully support things full clang does, but for compatibility without needing to ship extra libraries I try to get stuff working without adding as much as possible. That said, it needed to be -std=c++2a, but the implementation of semaphore appears to be not what macOS likes as well, so this particular plugin may need some work to be fully compatible with macOS.

Selur
28th June 2021, 17:33
Struggling with this on Ubuntu 20.04 too (https://github.com/HomeOfVapourSynthEvolution/VapourSynth-RIFE-ncnn-Vulkan/issues/4),..
building didn't work with clang++-10, clang++-11, but did work with gc++-11 (what a pain, but happy it worked; thx to IFeelBloated)
-> my guess is, that building it for MacOS might also require gcc++-11.

Selur
18th July 2021, 06:02
Please update https://vsdb.top/vapoursynth/mac/ it at least is missing TIVTC :(

ChaosKing
18th July 2021, 07:52
The mediafire sync script is not working anymore ( they changed something again )
Only TIVTC was missing.

Selur
18th July 2021, 08:35
Okay, thanks for the info. :)

shph
18th July 2021, 11:36
The mediafire sync script is not working anymore ( they changed something again )
Only TIVTC was missing.

DegrainMedian also was missing long long time ago https://www.mediafire.com/folder/wvdlnjapm1vvw#1buuzhtdhu066

ChaosKing
18th July 2021, 13:12
It was never listed because I filter by extensions to generate the list. It's the only one file with a .tgz extension. *fixed*

shph
18th July 2021, 13:48
l33tmeatwad, can you check libdecross.dylib and libdpid.dylib somehow? Seems there is a conflict between them. When both are installed and i click to libdecross.dylib or to libdpid.dylib - Finder relaunches. As i remember same problem was noticed due conflict somewhere in names.

If i remove libdpid.dylib - there is no more Finder crash when i click to libdecross.dylib

l33tmeatwad
23rd July 2021, 01:27
Installer for R54 is up, only the core files are updated, not dependencies.

Selur
31st July 2021, 07:27
Nice thanks!
Also I found another filter: https://github.com/AmusementClub/VapourSynth-EEDI2CUDA :)

Cu Selur

krsentai
2nd August 2021, 07:00
Hi! I'm not entirely sure how to install vsutil in a way VSEdit will recognize. If I install through my system's pip it ends up somewhere VSEdit still doesn't see. Any tips?

kedautinh12
2nd August 2021, 13:18
New filters from HolyWu
https://github.com/HolyWu/vs-ffdnet
https://github.com/HolyWu/vs-dpir
https://github.com/HolyWu/vs-rife

l33tmeatwad
2nd August 2021, 15:48
Hi! I'm not entirely sure how to install vsutil in a way VSEdit will recognize. If I install through my system's pip it ends up somewhere VSEdit still doesn't see. Any tips?
Sorry, I need to add some documentation to the first post. The installer is bottled framework with it's own copy of python. To access the VapourSynth specific python3 or pip3 in terminal you can use the commands vspython3 or vspip3.

Selur
2nd August 2021, 19:14
@kedautinh12: you are aware that thos require pytorch (5GB+) and installing them like mentioned in the git pages is probably the best way.

l33tmeatwad
2nd August 2021, 20:43
@kedautinh12: you are aware that thos require pytorch (5GB+) and installing them like mentioned in the git pages is probably the best way.
Just noticed that, once the dependancies are installed they can be easily installed with the vspip3 command:
vspip3 install --upgrade vsffdnet
vspip3 install --upgrade vsdpir
vspip3 install --upgrade vsrife

Edit: Just know the dependancies may need to be installed in a similar fashion.

Selur
17th August 2021, 17:33
btw. does Placebo work on MacOS?
I copied

"libvs_placebo.dylib" to "/Library/Frameworks/VapourSynth.framework/lib/vapoursynth"
"libplacebo.72.dylib" to "/Library/Frameworks/VapourSynth.framework/lib/"

and called
sudo xattr -r -d com.apple.quarantine /Library/Frameworks/VapourSynth.framework/*
but I still get:
Failed to evaluate the script:
Python exception: No attribute with the name placebo exists. Did you mistype a plugin namespace?

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2242, in vapoursynth.vpy_evaluateScript
File "src/cython/vapoursynth.pyx", line 2243, in vapoursynth.vpy_evaluateScript
File "/Users/selur/temp/tempPreviewVapoursynthFile18_28_14_100.vpy", line 16, in <module>
clip = core.placebo.Deband(clip=clip, planes=1)
File "src/cython/vapoursynth.pyx", line 1891, in vapoursynth._CoreProxy.__getattr__
File "src/cython/vapoursynth.pyx", line 1754, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name placebo exists. Did you mistype a plugin namespace?
when calling:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# source: '/Users/selur/Desktop/Test Patterns Resolve 4444 12-bit.mp4'
# current color space: YUV444P16, bit depth: 12, resolution: 1920x1080, fps: 25, color matrix: 709, yuv luminance scale: limited, scanorder: progressive
# Loading /Users/selur/Desktop/Test Patterns Resolve 4444 12-bit.mp4 using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="/Users/selur/Desktop/Test Patterns Resolve 4444 12-bit.mp4")
# making sure input color matrix is set as 709
clip = core.resize.Bicubic(clip, matrix_in_s="709",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# applying debanding using vs-placebo.Deband
clip = core.placebo.Deband(clip=clip, planes=1)
# adjusting output color from: YUV444P16 to YUV420P10 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
# adjusted resizing to achieve PAR 1:1 for preview
# resizing for preview to square pixel to 2500x1080
clip = core.resize.Bicubic(clip=clip, width=2500, height=1080)
# set output frame rate to 25.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()

Might be that I can't use it in my MacOS Vm due to lack of gpu support, but it would be nice to know whether somone tested the filter. :)

Cu Selur

l33tmeatwad
17th August 2021, 18:18
Only works on 10.15+ with Vulkan installed and does not work in a VM.

Selur
17th August 2021, 18:33
Okay, but it does work :) Thanks!

l33tmeatwad
17th August 2021, 18:38
Okay, but it does work :) Thanks!
I haven't done extensive tests, but it loads and previews.

l33tmeatwad
21st September 2021, 12:40
I apologize in advance for the delay, but I'm in the middle of another project so I'll get around to R55 as soon as I can.

l33tmeatwad
29th September 2021, 18:55
Working on this currently, the R55+ updates break VapourSynth Editor, so if only VapourSynth Editor 2 is updated it can change the dynamics of how far back is supported overall since it does not support macOS 10.12. I will need to get the latest version of VapourSynth Editor 2 compiled before I really push anything out as everything currently pre-compiled does not support previewing of scripts, which kind of defeats the purpose of this thread and the installer.

ChaosKing
29th September 2021, 19:05
vseditor "1" with api4 support https://github.com/YomikoR/VapourSynth-Editor

l33tmeatwad
29th September 2021, 19:13
vseditor "1" with api4 support https://github.com/YomikoR/VapourSynth-Editor
Thanks for that, looks like mod 3 doesn't work, but I'm testing the older ones on 10.12 to see what works.

Yomiko
29th September 2021, 20:55
Thanks for that, looks like mod 3 doesn't work, but I'm testing the older ones on 10.12 to see what works.

Would you take a minute to create an issue?

l33tmeatwad
29th September 2021, 20:56
Would you take a minute to create an issue?
I'll try to get around to it in the next few days, right now I'm just trying to get everything built for the R56 installer.

Yomiko
29th September 2021, 21:00
I'll try to get around to it in the next few days, right now I'm just trying to get everything built for the R56 installer.

Thanks

l33tmeatwad
30th September 2021, 03:51
Okay, sorry for the delay but the R55 & R56 installers are live. They both include Python 3.9, instead of 3.8 like the previous version, so make sure to backup your Scripts folder (aka sites-packages) to avoid losing scripts that you have added. In addition to those I have also added VapourSynth Editor r19 mod 1, which will be required for these new versions. Another note, the version of Image Reader/Writer is from R54 due to the fact that the API4 version would not autoload, I'll be looking into that and hopefully try to figure out why.

Selur
30th September 2021, 04:15
Are those API4 or API3 builds?

l33tmeatwad
30th September 2021, 04:26
Good question, vspipe lists both? I didn't see any way to specify so I assume it doesn't matter for VapourSynth itself since I saw it supported both types of plugins and I don't really know how to compile the plugins for API4 yet so they are all whatever the default is.

ChaosKing
30th September 2021, 07:30
Most plugins with api4 support, only supports api4 now. Most obvious hint is the VapourSynth4.h include instead of VapourSynth.h

Example diff
https://github.com/HomeOfVapourSynthEvolution/VapourSynth-VMAF/commit/8206853f6d368c096ba6768886197c1177b73999

l33tmeatwad
30th September 2021, 14:53
Thank you for the clarification ChaosKing, I figured that was the case. So to answer the initial question, any of the included plugins have been updated by the developer to use API4 should be API4, everything else will still be using the old API.

l33tmeatwad
30th September 2021, 18:36
Since everything is moving forward with the new API and audio support I have gone ahead and archived the older installers. I will try to update plugins as they switch to API4, but it will take time. I will try to keep the lowest macOS version compatibility to 10.12, so if newer versions of the plugin break that I will keep the older versions live, otherwise I'll probably archive them as well. If anyone needs access to archived files just reach out, the main reason is to keep things less confusing for the average user.

ChaosKing
30th September 2021, 19:41
This could also be a good time to put everything on github :D

l33tmeatwad
30th September 2021, 19:45
This could also be a good time to put everything on github :DAny of the developers are more than welcome to take the compiles and add them to their repositories.

l33tmeatwad
2nd October 2021, 02:53
The compile for VapourSynth Editor mod was recompiled to fix a multi-monitor bug.

Selur
2nd October 2021, 07:33
TemporalMedian is also used by SpotLess.

l33tmeatwad
2nd October 2021, 19:33
Updated the instructions for approving the installer and plugins through Gatekeeper in the first post. The original solution hasn't worked for a while so I've been needing to update it.

Yomiko
3rd October 2021, 11:18
I fixed some glitches in the qmake building scripts. Now I can build VSEditor with Qt 5.15 in a VM. To use an older version of Qt, sorry, please try reverting certain commits related with issue #6.

l33tmeatwad
3rd October 2021, 15:49
I'll look into it this week to see if the multi-monitor bug is still there with the newer builds and see if there is a way to keep some compatibility with 10.12 since that is the lowest version still compatible with VapourSynth itself.

l33tmeatwad
4th October 2021, 20:30
I fixed some glitches in the qmake building scripts. Now I can build VSEditor with Qt 5.15 in a VM. To use an older version of Qt, sorry, please try reverting certain commits related with issue #6.
Multi-monitor bug still present with the latest commit and another issue to consider with newer versions of Qt on macOS if the user is using the dark theme is the text is still black on a dark background so it's not readable.

Yomiko
5th October 2021, 05:47
The crash is caused by app letting MacOS handle its menu bar. The issue is prevented by forcing a built-in menu bar.
Now ended up having Release 3.2 (https://github.com/YomikoR/VapourSynth-Editor/releases/tag/r19-mod-3.2)

Yomiko
10th October 2021, 13:31
Would you like to try building version 4 now?

l33tmeatwad
17th October 2021, 03:12
The R57 installer is now up.

Would you like to try building version 4 now?I'll try soon, I've been a bit busy, sorry.

l33tmeatwad
20th October 2021, 14:36
Would you like to try building version 4 now?
It works, no more multi-monitor crashing and the text is readable, thanks! I'll work on compiling a release to post soon.

l33tmeatwad
28th October 2021, 03:19
VapourSynth Editor r19 Mod 4 download is now available.

Yomiko
28th October 2021, 03:45
Thanks

l33tmeatwad
28th October 2021, 04:50
Discovered I forgot to include the API4 headers in the new installers, I added them to the R57 installer.

Selur
30th October 2021, 14:02
@l33tmeadwad: did you update any of the filters with their VSAPI4 versions ? looking at the plugings folder it seems like only TIVTC has changed this year.

l33tmeatwad
30th October 2021, 14:05
I've only compiled the plugins that were split out of the main respiratory. Anything else I haven't had a chance to look for updates yet.

Selur
30th October 2021, 16:11
Is there some kind of changelog one can look at to know what plugins where updated when?
The folder date isn't updated when something in it is updated so only way to know one has the current versions is to look into every folder, which is a pain.

l33tmeatwad
30th October 2021, 16:12
When I update plugins I'll post and say which ones were updated.

Selur
30th October 2021, 17:30
I've only compiled the plugins that were split out of the main respiratory
Where did you put them?

I checked https://www.mediafire.com/folder/wvdlnjapm1vvw couldn't find:

vs-imwri: https://github.com/vapoursynth/vs-imwri
vs-miscfilters: https://github.com/vapoursynth/vs-miscfilters-obsolete
subtext: https://github.com/vapoursynth/subtext
vs-removegrain: https://github.com/vapoursynth/vs-removegrain
vivtc: https://github.com/vapoursynth/vivtc
vs-eedi3: https://github.com/vapoursynth/vs-eedi3-obsolete


Cu Selur

l33tmeatwad
30th October 2021, 17:31
I did not stop including them in the installer. Additionally there's an issue with imwri where the new version won't autoload so that one is the old version.

Selur
31st October 2021, 19:03
Okay, good to know.
Still would be nice if you could provide them separately.
Man, I hope Vapoursynth get's an option to disable autoload stuff. I prefer to manually load stuff to know what's loaded form where. ;)

Cu Selur

shph
1st November 2021, 04:24
miscfilters is missing in R56 and R57 installer. I can't see it in installer as well as in system. Also due this filter i got error "There is no attribute or namespace named misc"
I also can't see eedi3 in R56 and R57 installer.

Other libs noticed by Selur are included in R57 installer.
https://i.imgur.com/GvyfEPy.jpghttps://i.imgur.com/Sr8YRuU.jpg

l33tmeatwad
1st November 2021, 04:27
Both were marked obsolete, I'll upload them if anyone really wants them.

shph
1st November 2021, 04:41
I just tested new dev. version of Hybrid and it was an error due one of those missed filters.

l33tmeatwad
1st November 2021, 04:43
Cool, either compile it or I'll upload it when I get the chance.

shph
1st November 2021, 05:11
Installed miscfilters and eedi3 from R54, and deinterlacer in Hybrid works well now. So i guess it is better to hear form Selur if those libs will be used in future or don't.
Anyway i guess it make sense to keep legacy filters for archival purposes as separate downloads.

By the way, R57 works well on Mojave. It is really nice that legacy systems are supported.

Selur
1st November 2021, 07:25
Both were marked obsolete,
Problem is tons of scripts use them. ;)

Selur
1st November 2021, 07:45
@l33tmeatwad: btw. would be nice if you could add Reduceflicker (https://github.com/AmusementClub/ReduceFlicker)

Cu Selur

ChaosKing
2nd November 2021, 10:42
A new repo for apple arm cpus just popped up:
VapourSynth Plugins for Apple Silicon https://github.com/capric98/VS-Apple

l33tmeatwad
2nd November 2021, 13:56
A new repo for apple arm cpus just popped up:
VapourSynth Plugins for Apple Silicon https://github.com/capric98/VS-Apple
It's just scripts for compiling, nothing that anyone couldn't already do on their own, but a good reference.

Selur
2nd November 2021, 19:24
@l33tmeatwad: could you provide a newer fmtconv version? Currently the latest in the plugins folder is r22, latest over at https://github.com/EleonoreMizo/fmtconv is r27. :)

Selur
4th November 2021, 15:02
Another issue, this time with limimwri:
logo = core.imwri.Read(filename="/Users/selur/Desktop/smallLogo.png", alpha=True)
alpha = core.std.PropToClip(logo)
code works fine on Windows with R57, but on MacOS I get 'PropToClip: no frame stored in property: _Alpha' I made sure to uninstall Vapoursynth and reinstall it.
-> Is the current libimwri which comes with the Vaporusynth R57 installer the same as R1 from https://github.com/vapoursynth/vs-imwri/releases/tag/R1 ?

Cu Selur

l33tmeatwad
4th November 2021, 15:04
As I said in my previous post, I did not include imwri R1 because it is not autoloading on macOS, the version included is from R54.

Selur
4th November 2021, 15:06
Ah sorry, you are right I forgot that.

l33tmeatwad
4th November 2021, 15:12
I was hoping after starting this project more people would jump in to help compile stuff. As much as I would love to keep everything up to date, I also have other priorities that I need to focus on at times so I apologize for any delays, I am keeping a list of requests and work on them when I have time. There is a list of what versions are included in the installer on the source share.

Selur
4th November 2021, 15:17
I don't have the time to deal with it myself so I'm thankful you do the work you do.
No stress.

Cu Selur

l33tmeatwad
4th November 2021, 16:48
Correction, based on my logs apparently git:0cd73a0 is what I used for imwri in R55+ and not the version from R54.

Selur
4th November 2021, 17:41
Seems like one of the missing commits to the R1 release is what is causing it to not work with R57 and images with an alpha channel.

l33tmeatwad
7th December 2021, 15:30
Seems like QTGMC always makes trouble in updates. Previously, it was just about MVTools crashing in the slower settings, but that could be fixed by using an older version. Now, I just get this error message (Hybrid also crashes on encoding). I've been using the same script with minor modifications for years and all plugins are in their proper place.

https://i.imgur.com/AdtxTSW.jpgI would probably report this to the HAvsFunc repository, and if you can look at the line is erroring on and let me know what plug-in is giving you issues that would be helpful. Also, I saw HAvsFunc was updated 4 days ago so make sure you're using the latest revision.

_Al_
7th December 2021, 18:05
I think, since R57 those underscores at the beginning of argument were not removed by vapoursynth, so that function is basically expecting argument lambda and global. R56 still might work.

Selur
7th December 2021, 20:37
If you update the scripts in the vsfilter folder with the ones from https://github.com/Selur/VapoursynthScriptsInHybrid it should work.
Forgot to update them in the last MacOS release.

shph
8th December 2021, 04:21
Seems like QTGMC always makes trouble in updates. Previously, it was just about MVTools crashing in the slower settings, but that could be fixed by using an older version.
I noticed that R57 works well with MVTools-v23 on macOS. So problem somehow was fixed. No more errors with Very Slow or Placebo presets. Can someone else check and confirm this?

karesch
1st January 2022, 20:48
Hi Folks,

There seems to be a weird error on R57, R56, R55 when using HAvsFunc's QTGMC, apparently the Miscellaneous Filters plugin is missing. The error is the following in VapourSynth Editor (and is very similar in terminal):
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2832, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 2833, in vapoursynth._vpy_evaluate
File "/Users/karesch/Movies/VapourSynth/test.vpy", line 8, in
video = haf.QTGMC(video, InputType=1, EZDenoise=4.0, NoisePreset='Medium', ChromaNoise=True, DenoiseMC=True, Sigma=2.0, ShowNoise=False)
File "/Library/Frameworks/VapourSynth.framework/lib/python3.9/site-packages/havsfunc.py", line 1224, in QTGMC
if TR0 > 0: ts1 = bobbed.focus2.TemporalSoften2(1, luma_threshold, CMts, 28, 2) # 0.00 0.33 0.33 0.33 0.00
File "src/cython/vapoursynth.pyx", line 2580, in vapoursynth.Function.__call__
vapoursynth.Error: TemporalSoften2: Miscellaneous Filters plugin is required


Apparently, the Miscellaneous Filters plugin should be included in VapourSynth install (https://amusementclub.github.io/doc/plugins/misc.html), but for some reason TemporalSoften2 expects a separate plugin. I've found a plug-in with a similar name, https://github.com/vapoursynth/vs-miscfilters-obsolete/, but it seems to be obsolete, though was modified 3 months ago. Unfortunately, I have found no macOS build for vs-miscfilters-obsolete.

I'm on macOS 12.1. I used l33tmeatwad's R57 VapourSynth Installer, the same error comes up on R56, R55 too, further I also tried the brew install, same error comes up.

Do you have any hint what my cause the problem? Is this an issue with:

VapourSynth Install, or
TemporalSoften2 or
HAvsFunc?


Or is there a macOS build of Miscellaneous Filters plugin?

apparently a similar issue on Linux: https://github.com/vapoursynth/vapoursynth/issues/798#issuecomment-934672757

Any help would be most appreciated. Thanks

l33tmeatwad
1st January 2022, 21:05
Uploaded Misc Filters from R54.

karesch
1st January 2022, 21:24
Uploaded Misc Filters from R54.

Dear l33tmeatwad,

This was quick as a flash and it works now! Many Thanks!!!

:thanks:

l33tmeatwad
7th January 2022, 20:05
It came to my attention I did not update the terminal shortcuts after updating the installer with Python 3.9. The following commands can be used to fix the shortcuts:

sudo rm -rf /usr/local/bin/vspython /usr/local/bin/vspip3


sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/pip3.9 /usr/local/bin/vspip3

sudo ln -s /Library/Frameworks/VapourSynth.framework/bin/python3.9 /usr/local/bin/vspython


UPDATE: I have also patched the R57 installer.

Selur
5th February 2022, 11:28
@l33tmeatwad: would be nice if ccd (https://github.com/End-of-Eternity/vs-ccd) could be added.

l33tmeatwad
8th February 2022, 22:39
I am adding things to the to-compile list, however compiling new stuff is still low priority at this time. If anyone else compiles anything feel free to share it and I'll add it to the larger share as well. Whenever time allows I'll try to get back to adding things.

l33tmeatwad
30th March 2022, 19:49
Since R58 is close to release I decided to start working on an update to the core dependancies. I will be updating some plugins and applications along with this update so keep an eye out for all of this. Additionally it would be wise to backup any scripts before installing as Python will be updated from 3.9 to 3.10.

l33tmeatwad
31st March 2022, 19:48
Some plugin additions and updates. I will probably transition the VapourSynth installer for R58 to only include the core application & dependancies with the individual plugins distributed separately, similar to the Windows distribution.

Updated Plugins:
FFMS2 w/ FFmpeg 5.0 Static Libs
LSMASHSource w/ FFmpeg 4.4.1 Static Libs
MiscFilters

New Plugin Downloads:
BestAudioSource w/ FFmpeg 5.0 Static Libs
EEDI3 (from VapourSynth R54)
ImageMagick Plugin (with Image Magick 7.1.0-28 Static Libs)
OCR w/ Tesseract 4.1.3
RemoveGrain
VIVTC

Selur
1st April 2022, 04:42
thanks for the updates. :) (hoping some of my suggestions also can get included *no hurry*)

[Cu Selur

l33tmeatwad
11th April 2022, 17:27
Removed Wobbly until it is compatible with the current API.
Updated D2V Witch to v5.

Selur
11th April 2022, 18:38
Nice, thanks!
btw. https://github.com/AmusementClub/assrender would be a good addition, since the https://github.com/vapoursynth/subtext has issues with newer .ass files.

Cu Selur

l33tmeatwad
12th April 2022, 03:02
Updated VapourSynth Editor to r19 Mod 5.1.

l33tmeatwad
12th April 2022, 20:38
Updated the following plugins:

BM3D
ColorBars
DeScale
DPID
FillBorders
GradCurve
MiniDeen
TBilateral
TimeCube
TTempSmooth

l33tmeatwad
12th April 2022, 21:07
Nice, thanks!
btw. https://github.com/AmusementClub/assrender would be a good addition, since the https://github.com/vapoursynth/subtext has issues with newer .ass files.

Cu Selur
Unfortunately out of the box it doesn't compile, to be fair I'm trying to use static libs so I think it's missing includes for the cmake.

shph
13th April 2022, 03:39
I noticed a problem with new version of libd2vsource (D2V Source w/ FFmpeg 5.0 Static Libs)
When i use some of my test VOB files, VSviewer icon jumps in the dock and VSviewer window can't be opened.
Or maybe libd2vsource (and other those newly compiled plugins) designed only for R58? (i currently use R57)
Here is test file if someone want to check https://drive.google.com/file/d/1OUCe9WN0RQEZm1KBWVdFSUlNNO5jd9Ry/view?usp=sharing

l33tmeatwad
13th April 2022, 04:05
Could you make a gif or video of the issue, I'm not sure I'm following.

shph
13th April 2022, 04:25
I use Hybrid.
Import VOB file
Click VapourSynth Preview (this should open VSviewer)
VSviewer can't be opened. Only icon jumps in dock.

No any problem with old version of libd2vsource

shph
13th April 2022, 06:53
In addition to oldest version (50KB size) i also checked D2VSource-v1.2 (16.1MB size) and it works well. So the problem only with D2VSource-v1.2-700523c (16.4MB size)

l33tmeatwad
14th April 2022, 03:04
D2VSource-v1.2-700523c has been removed for now, I'll try to rebuild with static libs later.

l33tmeatwad
14th April 2022, 03:25
Installer for R58 has been added, it does not include anything aside from VapourSynth, Python, Cython, Numpy, and Zimg.

EDIT: Python has been updated to 3.10, so backup your scripts, it will remove the old folder.

shph
14th April 2022, 06:24
Seems we need separate download for libsubtext.dylib
Or is it replaced with some other plugin in R58?

l33tmeatwad
14th April 2022, 12:31
If you're doing a fresh install, yes you will need to download that separately. Just like the Windows installer, all plug-in downloads are separate.

shph
14th April 2022, 13:36
Yes, i understand that. I mean that libsubtext.dylib seems currently not included in Plugin Downloads (and Mirror) collection in the first post

l33tmeatwad
14th April 2022, 15:46
I apparently forgot to upload it, however after testing, it appears to not work (nor has it worked for a while apparently as the copy included with R57 crashes as well).

As for D2VSource, I've recompiled it (with FFmpeg 4.4.1), tested, and uploaded it.

EDIT: Apparently it has not worked since R55, even with the old dylib that works with R54. Based on the error's I'm getting it's possible it is failing with the static libs, however it did work for R54, it will take further testing to figure out the best way to approach it.

Selur
1st May 2022, 16:47
Would be nice if you can switch Waifu2x NCNN Vulkan to https://github.com/HolyWu/vs-waifu2x-ncnn-vulkan

Cu Selur

Selur
19th May 2022, 20:22
Also new potential filters:
FrFun7: https://github.com/dubhater/vapoursynth-frfun7
Grayworld: https://github.com/Asd-g/AviSynthPlus-grayworld

Cu Selur

Selur
1st June 2022, 21:02
und noch einer:
ReduceFlicker: https://github.com/AmusementClub/ReduceFlicker

l33tmeatwad
5th June 2022, 18:56
R59 installer added.

Selur
17th June 2022, 22:56
and another one: https://github.com/dubhater/vapoursynth-median :)

Selur
17th August 2022, 20:32
Small question how to install vsutil when I used the R59 Vapoursynth installler?
On Windows and Linux I would use:
python3 -m pip install --upgrade pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
python3 -m pip install --upgrade pip
python3 -m pip install vsutil
but that doesn't seem to work as intended on MacOS,...

l33tmeatwad
18th August 2022, 15:32
Small question how to install vsutil when I used the R59 Vapoursynth installler?
On Windows and Linux I would use:
python3 -m pip install --upgrade pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
python3 -m pip install --upgrade pip
python3 -m pip install vsutil
but that doesn't seem to work as intended on MacOS,...
As stated in the first post of the thread:
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.

Selur
18th August 2022, 15:45
Ah okay missed that. Thanks. :)

Selur
18th August 2022, 15:49
Now I got:
vspip3 install vstutil
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement vstutil (from versions: none)
ERROR: No matching distribution found for vstutil
:/
"vspip3 install --upgrade pip" didn't help either.
Problem is newer havsfunc versions use vsutil. :(

Selur
18th August 2022, 15:55
Okay,

cd /Library/Frameworks/VapourSynth.framework/bin
./python3.10 -m pip install vsutil

worked.

l33tmeatwad
18th August 2022, 17:33
From user point of this is very confusing. I updated VS, Install Hybrid... and it don't works. So i send bug report, and then 2 days later it appears that now every new update i need to that code in Terminal. Probably every other user will be confused in same way.
Why change things like this? It all worked easy and simple earlier versions.
It's always been that way, the intention is to keep a bottled version of Python so that if the user happens to upgrade their system version it won't break VapourSynth.
Now I got:
vspip3 install vstutil
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement vstutil (from versions: none)
ERROR: No matching distribution found for vstutil
:/
"vspip3 install --upgrade pip" didn't help either.
Problem is newer havsfunc versions use vsutil. :(
You'll need to sudo as the folder requires admin permissions, not sure why running it directly from the folder made a difference, but I assume it made you enter your password to get write access.

l33tmeatwad
18th August 2022, 18:03
Have no idea why but cd /Library/Framworks/VapourSynth.framework/bin don't works on my system.

I got this:
-bash: cd: /Library/Framworks/VapourSynth.framework/bin: No such file or directory

I still use macOS 10.14.6. Is it compatible?
There's a typo in your path, it should be "Frameworks" not "Framworks".

Selur
18th August 2022, 19:07
fixed the typo,..
UPDATE: seems some bug in Hybrid VS viewer related to MOV container only...
VS viewer hasn't changed since last release,...
Works fine here. It's more likely an issue with your system.

Selur
18th August 2022, 19:25
¯\_(ツ)_/¯
no clue, your source is displayed fine in my mac vm with nearly the same script (no opencl since the vm doesn't support it).

Selur
19th August 2022, 03:59
I tried all presets and can't reproduce your issue:
https://i.ibb.co/9wXjTg8/placebot-again.png (https://ibb.co/9wXjTg8)
on Windows, Mac and Linux.

Selur
20th August 2022, 08:56
@shph: please don't spam this thread, your issue has nothing do to with l33tmeatwad project,... (issue is related to changed in havsfunc and it's dependencies, no clue which since I can't reproduce it)

Selur
22nd August 2022, 13:55
Okay, cause of the issue was a bug in Vapoursynth R59 (see: https://github.com/HomeOfVapourSynthEvolution/havsfunc/issues/69) which is fixed in R60_RC1.
This also explains why I couldn't reproduce it in my MacOs VM since it has no AVX2 support. ;)
-> @l33tmeatwad: could you compile a R60_RC1 installer for MacOS?

l33tmeatwad
22nd August 2022, 17:05
I usually stick to the major releases instead of the release candidates, if there aren't bugs from R58 that caused the upgrade to R59 I would suggest going with that for now, I'll try to get R60 compiled as soon as the main release is out.

Selur
23rd August 2022, 14:46
fair enough :)

Selur
15th September 2022, 15:20
@l33tmeatwad: Vapoursynth R60 is release. :)

l33tmeatwad
16th September 2022, 03:01
R60 installer is now up.

Selur
16th September 2022, 19:57
Thanks! :)

Selur
11th November 2022, 16:11
Could you also add akarins vapoursynth plugin? (https://github.com/AkarinVS/vapoursynth-plugin)

Cu Selur

l33tmeatwad
2nd December 2022, 02:21
R61 installer is now up.

Selur
2nd December 2022, 12:18
Thanks, any plans for further updates?

l33tmeatwad
2nd December 2022, 21:41
I'll do a yearly roundup of plugin updates closer to the end of the year, but I don't have plans to add much new, I'm trying to get ahold of a ARM Mac so I can start building that out as that's going to be more helpful for the future, although I'll continue to support the Intel machines for the base installer and common plugins until they are updated in a way where they won't compile.

groucho86
15th April 2023, 15:41
I'll do a yearly roundup of plugin updates closer to the end of the year, but I don't have plans to add much new, I'm trying to get ahold of a ARM Mac so I can start building that out as that's going to be more helpful for the future, although I'll continue to support the Intel machines for the base installer and common plugins until they are updated in a way where they won't compile.

Hi l33tmeatwad, first off, a big thank you for all your hard work simplifying the life of Mac users!!

The M1/M2 systems are working really well for the most part, but as soon as there is asm code, the builds obviously break.

For mvtools and and nnedi3, I found this:
https://github.com/Stefan-Olt

But currently have not found anyone solve the asm code for eedi3 (and I don't have the skill set to figure it out either). Hoping you might have some idea?

l33tmeatwad
17th April 2023, 15:29
Unfortunately I do not have a solution for that, as soon as I'm able to get my hands on an ARM based Mac I'll start building for that. Compiling things isn't too hard, I've got some detailed instructions in the early posts of this thread if you wanna try out compiling. Since these builds are separated from the typical install path you don't have to worry about breaking anything, I would just rename your current VapourSynth.framework folder so you have a backup of that. If you can get through setting up the framework it shouldn't be too hard to get plugins compiled too.

sevenrats
26th May 2023, 02:03
Unfortunately I do not have a solution for that, as soon as I'm able to get my hands on an ARM based Mac I'll start building for that. Compiling things isn't too hard, I've got some detailed instructions in the early posts of this thread if you wanna try out compiling. Since these builds are separated from the typical install path you don't have to worry about breaking anything, I would just rename your current VapourSynth.framework folder so you have a backup of that. If you can get through setting up the framework it shouldn't be too hard to get plugins compiled too.

I have an M2 we could use for this purpose. Would you be willing to collaborate on matrix or discord? Alternatively, we could just go back and forth with error messages here, but it would be easier to DM or just give you shell access.

l33tmeatwad
24th June 2023, 15:48
I apologize for the delay on R63, there were some changes that will require a higher minimum OS version. This means I'll have to do some testing and build a new base, which I haven't had time to deal with. I'll try to get to it ASAP.

anton_foy
1st August 2023, 15:59
My first day with VapourSynth so apologies for the newbie question.
Im on macos monterey 12.6 (MacBook Air) using the installer of mac and I want to try out waifu2x.

error message:
Warning: Failed to load /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libwaifu2x-w2xc.dylib. Error given: dlopen(/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libwaifu2x-w2xc.dylib, 0x0001): Library not loaded: '@loader_path/../libw2xc.dylib'
Referenced from: '/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libwaifu2x-w2xc.dylib'
Reason: tried: '/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/../libw2xc.dylib' (no such file), '/usr/local/lib/libw2xc.dylib' (no such file), '/usr/lib/libw2xc.dylib' (no such file)

It does not complain about any other plugins like ttempsmooth or removegrain that are in the same folder.

Script .vpy:
import vapoursynth as vs
import havsfunc as haf

core = vs.get_core()
#core.max_cache_size = 2048

video = core.lsmas.LWLibavSource(source=/Users/comp/Movies/1.mp4)

#video = haf.QTGMC(video, Preset="Slower", TFF=True)

video = core.fmtc.matrix (clp, mat="709",col_fam=vs.RGB)
video = core.fmtc.bitdepth (clp,bits=32,dmode=0)

video = w2xc.Waifu2x(video[, int noise=1, int scale=2, int block=512, bint photo=True, int gpu=1, int processor=-1, bint list_proc=False, bint log=False])

video = core.fmtc.resample(video, css="420")
video = core.fmtc.bitdepth(video, bits=8)
video = core.std.Trim(3600, 3700)


In Terminal:
vspipe -c y4m first.vpy - | ffmpeg -f yuv4mpegpipe -colorspace bt709 -i - -vcodec rawvideo -pix_fmt yuv420 -y vp_output.mov

Thanks!

l33tmeatwad
1st August 2023, 16:13
So that plugin requires the Vulkan SDK to be installed. Is your MacBook one of the newer ARM based ones? If so I'm not sure you're going to be able to get that working with the Intel compiles for VapourSynth.

anton_foy
1st August 2023, 16:21
So that plugin requires the Vulkan SDK to be installed. Is your MacBook one of the newer ARM based ones? If so I'm not sure you're going to be able to get that working with the Intel compiles for VapourSynth.

Ah probably missing the Vulkan SDK then I will try, thanks! Edit: Its the M1 2020

anton_foy
19th August 2023, 10:27
I did not get Waifu2x to work but thats ok, I got qtgmc to work properly and very fast aswell. Great so far but none of the others except nnedi3 is working for me, when calling for example video = core.focus.temporalsoften(video) I get an error telling me 'Attribute error: No attribute with the name focus exists.' does not exist even though the plugins along with all of those needed for qtgmc script is in the same folder. I mean qtgmc in Havsfunc depend on those plugins in the plugs folder so I don't understand it.

ChaosKing
19th August 2023, 10:50
Searching for focus or temporalsoften in havsfunc leads to 0 results :-)

anton_foy
19th August 2023, 11:32
Searching for focus or temporalsoften in havsfunc leads to 0 results :-)

Yes I meant any other core filters, temporalsoften for example :)
Just copied the lines from others here who used ts and other core filters. Was thinking this is some kind of macos issue with those but most probably Im the issue (vs n00b) :D

Selur
24th August 2023, 15:20
Searching for focus or temporalsoften in havsfunc leads to 0 results :-)
as aside note: iirc. older havsfunc.QTGMC versions required TemporalSoften :)

l33tmeatwad
29th November 2023, 19:56
I apologize for the delay, but I finally got around to setting up a fresh development environment for everything. Based on various factors the new minimum OS version is 10.15. Additionally, since macOS compilation is known to be broken for R63, I will not be patching that version just to compile it so that will not be made available as an installer. VapourSynth R62 and older plugins will remain available for anyone that needs support on 10.13 or 10.14.

Installers for VapourSynth R64 & 65 are now available, the minimum OS version is now 10.15 and Python has been upgraded to 3.11, so make sure to backup any scripts in site-packages before installing as it will remove the Python 3.10 site-packages folder.

groucho86
30th November 2023, 05:20
Are these new for Intel only still? Meaning any asm code will not work on M1/M2/M3?

kedautinh12
30th November 2023, 10:54
Hi are you have other account Groucho2004?

l33tmeatwad
30th November 2023, 15:07
Are these new for Intel only still? Meaning any asm code will not work on M1/M2/M3?These are still for Intel, I will change the topic once I'm able to get my hands on an ARM Mac and can start compiling for those.

l33tmeatwad
1st December 2023, 18:31
Small update, since I have switched to 10.15 a few plugins that would compile but for some reason wouldn't autoload are now working. I will slowly be updating plugins, however they will only work on macOS 10.15+.

l33tmeatwad
4th December 2023, 18:14
Added VapourSyth Editor r19 mod 6.3 and it will require macOS 10.15 or newer. I have combined Job Server and Job Server watcher into the same app so that it's easier to use and I also included a script to create links to enable vsedit-previewer so that it is accessible from Terminal.

anonymlol
30th December 2023, 18:03
I've compiled a few of the plugins and scxvid-standalone (https://github.com/anonymlol/SCXvid-standalone/releases) (Apple Silicon).

Some of the plugins I couldn't compile (errors here and there...)

I have tested scxvid-standalone and it works fine. I didn't have time to test the plugins yet.

Plugins (https://www.mediafire.com/folder/4qf3uwnw4exw1/Vapoursynth_Plugins_for_macOS_(Apple_Silicon))

l33tmeatwad
3rd January 2024, 17:09
I've compiled a few of the plugins and scxvid-standalone (https://github.com/anonymlol/SCXvid-standalone/releases) (Apple Silicon).

Some of the plugins I couldn't compile (errors here and there...)

I have tested scxvid-standalone and it works fine. I didn't have time to test the plugins yet.

Plugins (https://www.mediafire.com/folder/4qf3uwnw4exw1/Vapoursynth_Plugins_for_macOS_(Apple_Silicon))
Awesome! One thing I would recommend is that you fix your dependancies, for example BestAudioSource is looking for the ffmpeg libs in "/opt/homebrew/opt/ffmpeg/lib/", you should compile the ffmpeg static libs instead so they are built in and BAS don't need them. You can use otool -L to check the libs plugins are using. Anything in /usr/lib is fine as all systems share those. Also, I would recommend compiling the minimum version as 11 for compatibility.

anonymlol
3rd January 2024, 18:53
I really should have read your setup post (https://forum.doom9.org/showthread.php?p=1844300#post1844300) till the end. Thanks for the advice. I'll read up on it and try again.

Can you tell me how you compiled VSEdit? Whenenver I compile it, it's full of bugs and can't find the library/plugins directory.

I'm also getting an error when compiling libass (following your guide). Something about the 'freetype' version being too low.

l33tmeatwad
3rd January 2024, 19:13
Unfortunately I don't get any errors so it may be that some code might need to be changed for ARM. As for finding the plugins directory, did you install VapourSynth via Brew?

anonymlol
3rd January 2024, 19:54
I tried brew, but then it also wouldn't find the plugins even though I followed the instructions in your first post.

Your installer is the only thing that works. Even compiling VapourSynth + VSEdit myself (following your guide), it can't find/load the plugins.

l33tmeatwad
3rd January 2024, 20:21
Did you manually create the default plugins path? Since VapourSynth doesn't come with any plugins anymore it doesn't create it by default.

anonymlol
4th January 2024, 18:14
I see, maybe I made a mistake somewhere with the folders. I'll experiment a bit.

The installer creates the folders in a different location than your instructions on the first post. Maybe I should try the same location as the installer.

Installer folder locations:

VS Plugins
/Library/Frameworks/VapourSynth.framework/lib/vapoursynth

VS Scripts
/Library/Frameworks/VapourSynth.framework/lib/python3.11/site-packages

VS Libraries
/Library/Frameworks/VapourSynth.framework/lib

VS Executables
/Library/Frameworks/VapourSynth.framework/bin


And for brew (according to first post)

ln -s /usr/local/lib/vapoursynth $HOME/Desktop/VapourSynth/Plugins
ln -s /usr/local/lib/python3.9/site-packages $HOME/Desktop/VapourSynth/Scripts

l33tmeatwad
4th January 2024, 18:17
So /usr/local/lib/VapourSynth is the default autoload path. Normally I'll create a symbolic link because I create a framework as opposed to a regular install so updates don't break the install.

EDIT: I just realized you left out the first part for brew users:
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"

anonymlol
4th January 2024, 21:45
Yeah I skipped it on purpose because I didn't want to make the post unnecessarily long.

I'll have a closer look at everything when I have more time.

For now I'd like to share my new (quick and dirty) script to automate the first part of your guide (setting up tools). I'll do the rest (setting up the vs framework) later.

edit: updated script is now on github (https://github.com/anonymlol/VapourSynth-build-scripts-macOS/blob/main/vstools.py)
edit2: finally done on the script to build vapoursynth framework, see here (https://github.com/anonymlol/VapourSynth-build-scripts-macOS/blob/main/vsframework.py)
edit3: libass works now, it failed before because it was missing: PKG_CONFIG_PATH=/Library/Frameworks/VapourSynth.framework/lib/

Btw, VSEdit still throws errors. The folders and links are created via the script according to your instruction post.

VapourSynth plugins manager: Failed to load vapoursynth library!
Please set up the library search paths in settings.
Failed to load vapoursynth script library!
Please set up the library search paths in settings.
Failed to load vapoursynth script library!
Please set up the library search paths in settings.

anonymlol
17th January 2024, 22:19
From your post here (https://forum.doom9.org/showthread.php?p=1844300#post1844300)

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

This is probably a bug (same path). I guess it's supposed to be:
sudo ln -s /Library/Frameworks/VapourSynth.framework/lib/libvapoursynth-script.0.dylib /usr/local/lib/libvapoursynth-script.0.dylib

I still can't get plugin autload to work (in vsedit). Any idea what I'm doing wrong/missing? (My build script (https://github.com/anonymlol/VapourSynth-build-scripts-macOS/blob/main/vsframework.py))
The vapoursynth.conf file doesn't help either. And I noticed your installer doesn't even create it. How did you solve the autload issue? Or did you do something special when compiling vsedit?

l33tmeatwad
22nd January 2024, 15:45
Ah, yeah that is a mistake, I'll get that fixed up. As for you script, I'll try to take a look over it soon, been super busy lately so it might take a minute to look into, nothing is looking super off from the quick glance I took.

l33tmeatwad
13th March 2024, 17:33
The R66 installer is now available.

l33tmeatwad
24th May 2024, 21:59
I forgot to post before, but the installers for R67 & R68 are up.

l33tmeatwad
25th July 2024, 18:14
With recent updates to the code of VapourSynth to update to C++17, it will no longer compile on macOS 10.15. I will look to see if there is any way in which this can be compiled without needing to reverting some of the changes that macOS 10.15 does not support with its built in C++ compilers. Since my personal MacBook does not support past this version of macOS this project has come to a crossroads, especially considering Intel based Apple computers won't have support for much longer anyways. I do plan to create an installer for ARM based Apple computers as soon as I have one to work with, however for now I will focus on updating plugins and encourage anyone with a newer Mac to simply use the Brew method to install further versions of VapourSynth.

ChaosKing
25th July 2024, 19:38
FYI it looks like vsrepo will get linux and macos support with plugin auto builds.

See https://github.com/Stefan-Olt/vs-plugin-build
https://github.com/vapoursynth/vsrepo/pull/224

l33tmeatwad
26th July 2024, 15:02
FYI it looks like vsrepo will get linux and macos support with plugin auto builds.

See https://github.com/Stefan-Olt/vs-plugin-build
https://github.com/vapoursynth/vsrepo/pull/224
Thanks, I'll look into this so I can properly write up a guide.

ChaosKing
10th October 2024, 10:21
You can now vsrepo install ffms2 bs nnedi3 ... on mac and linux.

Selur
11th October 2024, 12:25
Nice. Good to know.
Does it work for Intel&ARM or just Intel?

ChaosKing
11th October 2024, 20:48
Depends on the plugin but yes. If you look at releases there are darwin-x86_64 and darwin-aarch64 builds.

Busty
23rd May 2025, 22:53
I encounter the same problem as Kolak describes at the end of page 1 of this thread. mv.Super apparently requires fftw3, but I can't find it as dylib in the "misc dependencies" folder. The "AVMpack MacOS software list" lists fftw 3.3.10 as an included dependency, but it's not installed in libraries after running the current AMVpack installer.

Am I doing something wrong here? Or can somebody please help me to find and install that library?

Selur
26th May 2025, 14:06
You could probably install it through brew (https://formulae.brew.sh/formula/fftw).

Busty
26th May 2025, 16:17
Thanks Selur, I did that. M_Super still doesn't work. Do I have to point Vapoursynth to that library somehow?

Selur
26th May 2025, 16:51
You could use otool to figure out where the library you used expects to fine fftw and either place it there or modify the library
you did read https://forum.doom9.org/showpost.php?p=1844583&postcount=23 right?

Busty
28th May 2025, 13:55
yes, I've read that post, but couldn't find the "dependencies" folder. There's a "misc dependencies" folder, but it does not include compiled fftw.

I found all the libraries in the Macports install (install through brew didn't work as I noticed later) and copied them over to /Library/Frameworks/VapourSynth.framework/lib.

otool however reports for MVTools two other dependencies (and doesn't seem to miss fftw), namely libSystem.B.dylib and libc++.1.dylib, which are not in usr/lib. The folder is read only, so I can't put any libraries in there.

I then opened libmvtools.dylib with a text editor and changed the directory lines to the Vapoursynth lib folder, where I copied those libraries.

Still the same error.

Is anyone successfully using bm3d on Monterey, Mojave or High Sierra on a non-cuda system, e.g. with bm3dcpu? No matter if in Vapoursynth or Avisynth?

Or maybe someone can provide a small simple script using bm3d that *should* work in Vapoursynth, so I can make sure it's not an issue of grammar or something else?

l33tmeatwad
29th May 2025, 18:14
Just to be sure, when you downloaded the plugin, did you double click to open it so you can tell macOS in Privacy & Security to allow it to run? If you don't do that it will fail to load the plugin.

Busty
2nd June 2025, 16:37
Thanks for getting back at me.

I can't remember if I double clicked it, but I just did that and Privacy & Security does not block it. Terminal tries to execute it and fails, but that's all that happens.

l33tmeatwad
3rd June 2025, 17:58
If terminal comes up like that then they should be good to go, just make sure you are placing them in the correct directory with the rest of the plugins and it should auto-load them, it needs to be in the /Library/Frameworks/VapourSynth.framework/lib/vapoursynth folder, not the lib folder.

Busty
5th June 2025, 11:00
I uninstalled and reinstalled the AMVpack_241220_macOS.pkg.

Then I opened Vapoursynth with feisty's script and got the error "no module named 'mvmulti'. So I copied mvmulti.py to site-packages.

Then I checked the script again and the next error is 'no attribute named bm3d exists', so I copied bm3d.dylib to vapoursynth.framework/lib/vapoursynth.

Next script check gave me 'no attribute named mvsf exists'. I then checked the dependencies of bm3d, which were /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.5.0) and /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)

I found libc++.1.dylib here: https://github.com/phracker/MacOSX-SDKs/blob/master/MacOSX10.9.sdk/usr/lib/libc++.1.dylib
and libSystem.B.dylib here: https://github.com/JonathanSalwan/binary-samples/blob/master/libSystem.B.dylib

I copied them to /usr/local/lib and changed the path bm3d looks for those libraries with this command:
install_name_tool -change /usr/lib/libc++.1.dylib /usr/local/lib/libc++.1.dylib /Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libbm3d.dylib

Then I checked the script again and the error went back to 'no attribute named bm3d exists'

I double clicked the bm3d.dylib which opened terminal. I also double clicked the dependency libraries which brings terminal to front but nothing else happens. libc++.1.dylib and libSystem.B.dylib list numerous depencies too, which aren't present, do I need to install some c++ package?

This is where I don't know how to proceed. Maybe the downloaded (about 10 year old) dependencies are not the versions needed?

l33tmeatwad
12th June 2025, 18:09
You should not be needing to replace system libs, also those versions are too old, the minimum system version for the majority of the plugins is 10.12.

Busty
12th June 2025, 22:20
replacing the libs was just an attempt to get this working and because bm3d asked for them. I'm trying this on Monterey and the libs are just not where otool reports that bm3d would expect them.

I could also try this on Mojave. At least those libs are present there.
I wanted to install your AMVpack_241220_macOS.pkg on Mojave, but I get the error "Distribution_Title" cannot be installed or something similar.

Is there a way to install that package on Mojave? Can I just install all the contents in there and ignore Distribution Title?

l33tmeatwad
13th June 2025, 19:14
It should run fine on Monterey without anything additional, my only question is if the CPU is Intel or ARM?

Busty
13th June 2025, 21:01
Intel

l33tmeatwad
13th June 2025, 21:56
I'm not sure what the issue is then, I have tested all these on multiple Intel based Macs and macOS up to version 15 (Sequoia).

Busty
15th June 2025, 13:48
ok, thanks. Maybe I'll try again with a future OS install. In the meantime, I got BM3D working with Avisynth+ running on High Sierra, so I'll see how far that gets me with my video processing.
Thanks still for making that possible on a mac. That Avisynth+ is running on my system is only thanks to you, too.

Selur
1st May 2026, 10:27
is there a working libplacebo out there for MacOS silicon?

Myrsloik
1st May 2026, 13:46
is there a working libplacebo out there for MacOS silicon?

Here https://pypi.org/project/vs-placebo/ ?

l33tmeatwad
1st May 2026, 15:39
Since the install process has been streamlined & simplified across platforms and directories for things have changed this thread can probably be archived. The last installer provided was the last version to compile on macOS 10.15 which probably catches most of the older Intel machines, but anyone with an Intel machine that supports up to the last few versions of macOS should be able to use the new install methods.

Selur
4th May 2026, 04:15
Thanks, now I just need to deal with moving those files,..

/opt/homebrew/lib/python3.14/site-packages/vapoursynth/plugins/libvs_placebo.dylib
/opt/homebrew/lib/python3.14/site-packages/vs_placebo-2.0.2.dist-info/*
/opt/homebrew/lib/python3.14/site-packages/vs_placebo.dylibs/libdovi.3.3.2.dylib
/opt/homebrew/lib/python3.14/site-packages/vs_placebo.dylibs/liblcms2.2.dylib
/opt/homebrew/lib/python3.14/site-packages/vs_placebo.dylibs/libplacebo.360.dylib
/opt/homebrew/lib/python3.14/site-packages/vs_placebo.dylibs/libshaderc_shared.1.dylib
/opt/homebrew/lib/python3.14/site-packages/vs_placebo.dylibs/libvulkan.1.4.341.dylib


Cu Selur