Motion estimation and compensation plugin for Avisynth+ and Avisynth v2.6 family.
Supporting YUY2, 4:2:0, 4:2:2, 4:4:4 at native 8, 10, 12, 14 and 16 bit depths, 32bit float in selected filters.
Still supporting Windows XP.
x86 and x64 versions
From December 20, 2020: Linux port
File: mvtools2.dll
- Manao, Fizick, Tsp, TSchniede, SEt, Vit, Firesledge, cretindesalpes
- Doom9 forum: https://forum.doom9.org/showthread.php?t=173356
- Avisynth wiki: http://avisynth.nl/index.php/MVTools
- Project host: https://github.com/pinterf/mvtools under mvtools-pfmod branch
- http://avisynth.nl/index.php/External_filters#64-bit_filters
- http://avisynth.org.ru/mvtools/mvtools2.html
For more information see also documents folder.
Note: For a more experimental feature set (new parameters, use hw devices for motion estimation, but Windows only) have a look at DTL's fork: https://github.com/DTL2020/mvtools
-
libfftw3f-3.dll (or renamed to FFT3W.DLL) from http://www.fftw.org/ or look at ICL builds at http://forum.doom9.org/showthread.php?t=173229 It is used only at specific dct parameter values
-
May require Microsoft Visual C++ Redistributables https://www.visualstudio.com/downloads/
Others Modification base:
- mvtools2, 2.6.0.5 64 bit version from http://avisynth.nl/index.php/AviSynth%2B#AviSynth.2B_x64_plugins
Source code:
Note:
Windows MSVC builds are using external assembler source - if there exists.
Other builds are using internal SIMD code, governed by defines in def.h
-
Prerequisite: for asm compilation use nasm https://www.nasm.us/ Visual Studio integration: https://github.com/ShiftMediaProject/VSNASM/releases
Compiler nasm.exe can appear in c:\Program Files\Microsoft Visual Studio\2022\Community\VC\
You can check the files nasm.targets, nasm.props and nasm.xml in e.g. c:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Microsoft\VC\v170\BuildCustomizations\
For XP compatible (v141_xp) build, copy them to c:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Microsoft\VC\v150\BuildCustomizations\ as well.
Latest nasm (as of 2022.Dec.) will throw a lot of warnings on x265 assembler files. Temporarily they are silenced with -w-macro-params-legacy parameter.
- build from IDE
- Prerequisite: Intel C++ compilers + Visual Studio integration
- build from IDE
(mingw installed by msys2) From the 'build' folder under project root:
del ..\CMakeCache.txt
cmake .. -G "MinGW Makefiles" -DENABLE_INTEL_SIMD:bool=on
@rem test: cmake .. -G "MinGW Makefiles" -DENABLE_INTEL_SIMD:bool=off
cmake --build . --config Release
-
Clone repo
git clone https://github.com/pinterf/mvtools cd mvtools cmake -B build -S . cmake --build build
Useful hints:
build after clean:cmake --build build --clean-first
delete CMake cache
rm build/CMakeCache.txt
-
Find binaries at
build/mvtools/libmvtools2.so build/depan/libdepan.so build/depanestimate/libdepanestimate.so
-
Install binaries
cd build sudo make install