slowmoVideo
Download
For Windows you additionally need to download ffmpeg from Zeranoe (32-bit Builds (Static)) and extract ffmpeg.exe
into the same directory as slowmoUI.exe
. Please upgrade to 0.3.1 as older versions do not work anymore with current ffmpeg versions.
On Linux, if slowmoVideo crashes in a file dialog with an error message like QSpiAccessible::accessibleEvent not handled
, removing qt-at-spi
should fix the problem.
Older packages can be found here.
Mac OS X via Wine
There is no native port yet for OS X, but Wine allows to run the Windows build:
- Download slowmoVideo for Windows and unzip it
- Download the ffmpeg Win32 static builds from Zeranoe and place ffmpeg.exe in the same directory as
slowmoUI.exe - Install Winebottler
- Open slowmoVideo with Wine from Winebottler
Don’t forget to use control (Ctrl) instead of command (Cmd) for Undo and other operations.
Requirements
In a nutshell:
- Linux or Windows
- Any GPU for better results
slowmoVideo runs on Linux and on Windows. It comes with two algorithms for calculating the Optical Flow, a CPU based one from OpenCV and a GPU based one from GPU-KLT+FLOW.
The GPU flow program (optional) is called flowBuilder
and usually produces evidently better results. Is not yet available for Windows.
slowmoVideo is not yet available on OS X since the author does not have a Mac. It should compile easily however. Help is appreciated :)
Compiling
The following instructions are only important for you if you want to develop slowmoVideo or if there is no package for your distribution.
First you may have to resolve some dependencies. CMake will most likely inform you about missing packages as well, just in case some are missing here.
- slowmoVideo requires ffmpeg or libav, the Qt4 libraries, and OpenCV.
- Additionally for compiling you need cmake, g++, and git.
Installing the required packages …
Some distribution specific installation instructions:
Debian/Ubuntu
apt-get install build-essential cmake git ffmpeg libavformat-dev libavcodec-dev libswscale-dev libqt4-dev freeglut3-dev libglew1.5-dev libsdl1.2-dev libjpeg-dev libopencv-video-dev libopencv-highgui-dev
Fedora
For ffmpeg you may need to add the rpmfusion repository first, as explained here.yum install cmake ffmpeg ffmpeg-devel git qt4-devel gcc-c++ glew-devel glut-devel SDL-devel libpng-devel libjpeg-devel opencv-devel
openSUSE
As with Fedora an additional repository is required for ffmpeg, Packman.zypper in cmake ffmpeg libffmpeg-devel git libqt4-devel gcc-c++ glew-devel freeglut-devel libSDL-devel opencv-devel
… and compiling slowmoVideo
You can get the source code by either downloading the .bz2 archive, or by using git — latter is the recommended way as you can easily update the sources. Git works as follows:
$ git clone git://github.com/slowmoVideo/slowmoVideo.git $ cd slowmoVideo $ git pull # Run this whenever you want to update to the latest source code version
Now slomoVideo needs to be compiled and installed.
$ cd slowmoVideo # This is not the project’s root directory but a subdirectory! $ mkdir build $ cd build $ cmake .. $ make -j3 $ sudo make install
Then compile V3D (the GPU algorithm) which works pretty much the same way:
$ cd V3D $ mkdir build $ cd build $ cmake .. $ make -j3 $ sudo make install
If you want to install slowmoVideo to a different directory (e.g. your home directory) so you don’t need root rights, run cmake as follows instead (both times):
$ cmake .. -DCMAKE_INSTALL_PREFIX=/home/archibald/slowmoVideo
If all of this worked, you should be able to run install/bin/slowmoUI
. If not, please find help in the Google+ community.