I have got many errors while installing shotdetect software. some errors were because of the dependencies and that is resolved.Its able to configure perfect but “make” i.e., running make file is throwin this error.
error : ffmpeg/avcodec.h No such file or Directory
ffmpeg/avformat.h No such file or Directory
May be its because ffmpeg or shotdetect software versions are different. I tried re-installing the latest (and old ffmpeg) ones but not able to find ffmpeg folder in my /usr/include/ and that is why there is no such file “ffmpeg/avcodec.h”.
Please help.
I got the solution..
I made a folder ffmpeg in my /usr/include/ and included all the files from /usr/include/libavcodec.. etc in /usr/include/ffmpeg/.. finally it is working.
Following steps will help installing s/w in ubuntu 10.x and 11.x
Install ShotDetection software
Install Dependencies
sudo apt-cache search gcc
sudo aptitude install build-essential
sudo apt-get install libxml2-dev libxslt-dev libavcodec-dev libavformat-dev libavformat-dev pacman libgd2-noxpm-dev libjpeg62-dev libtiff4-dev cmake libswscale-dev libjasper-dev
2. make a folder named ffmpeg in /usr/include/ and copy essential files
3. Download and install shotdetect software