Wheezy comes with ffmepg version 1.0.7, which has API changes since v0.7.
Lucky me, Giulio Paci has taken care of packaging shotdetect, and built it for Wheezy. Therefore, I can use the Debian source package for shotdetect, since it must contain patches to compile with that version of ffmpeg's libraries.
Let's go:
1) Create a folder for installation
...and switch to that directory:
Code: Select all
$ mkdir -p ~/install/shotdetect
cd ~/install/shotdetect
Code: Select all
$ apt-get source shotdetect
Even if you had installed all dependencies for building the original shotdetect source (see my previous thread), building shotdetect's Debian source will fail:
Install the packages mentioned by dpkg-checkbuilddeps:dpkg-checkbuilddeps: Unmet build dependencies: devscripts cdbs (>= 0.4.85~) debhelper (>= 9~) dh-buildinfo
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
Build command 'cd shotdetect-1.0.86 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
Code: Select all
$ apt-get install devscripts cdbs debhelper dh-buildinfo
(If you want to, you can read up on Working with a source package on Debian's wiki)
Code: Select all
$ apt-get --build source shotdetect