slowmoVideo is an open-source equivalent of the well-known proprietary Twixtor plugin .
If you try to follow the
procedure from the project documentation
under Kubuntu 12.10, you’ll not go very far. Because you’ll start by installing the default
-dev
packages of
libavutil
:
1$ sudo aptitude install libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev
Then you’ll need the
-extra
packages, which can’t be installed with
-dev
packages:
1$ sudo aptitude install libavcodec-extra-53
2The following NEW packages will be installed:
3 libavcodec-extra-53{b} libavutil-extra-51{ab} libvo-aacenc0{a} libvo-amrwbenc0{a}
40 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
5Need to get 3,278 kB of archives. After unpacking 8,006 kB will be used.
6The following packages have unmet dependencies:
7libavutil51 : Conflicts: libavutil-extra-51 but 6:0.8.5ubuntu0.12.10.1 is to be installed.
8libavutil-extra-51 : Conflicts: libavutil51 but 6:0.8.5-0ubuntu0.12.10.1 is installed.
9libavcodec53 : Conflicts: libavcodec-extra-53 but 6:0.8.5ubuntu0.12.10.1 is to be installed.
10libavcodec-extra-53 : Conflicts: libavcodec53 but 6:0.8.5-0ubuntu0.12.10.1 is installed.
11The following actions will resolve these dependencies:
12
13 Keep the following packages at their current version:
141) libavcodec-extra-53 [Not Installed]
152) libavutil-extra-51 [Not Installed]
16
17Accept this solution? [Y/n/q/?] q
18Abandoning all efforts to resolve these dependencies.
19Abort.
This issue was already reported . But we’re lucky: someone contributed on that ticket a nice script to help you build the missing link.
Let’s fetch it and make it produce a collection of new
libav
packages:
1$ mkdir new_libav
2$ cd new_libav
3$ wget https://launchpadlibrarian.net/126008181/mk_libav-extra-dev.sh
4$ chmod 755 ./mk_libav-extra-dev.sh
5$ ./mk_libav-extra-dev.sh
You can then install the working
libav
packages:
1$ sudo dpkg --install ./lib*.deb
2$ cd ..
3$ rm -rf ./new_libav
Now, we can follow the standard slowmoVideo instructions:
1$ sudo aptitude 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
2$ cd ~
3$ git clone git://github.com/slowmoVideo/slowmoVideo.git
4$ cd slowmoVideo/slowmoVideo
5$ mkdir build
6$ cd build
7$ sudo aptitude install libopencv-dev
8$ cmake ..
9$ make -j3
10$ make install
11$ cd ../../V3D
12$ mkdir build
13$ cd build
14$ cmake ..
15$ make -j3
16$ make install
After that you’ll be able to run slowmoVideo itself:
$ ~/slowmoVideo/install/bin/slowmoUI