Thursday, January 2, 2014

Installing comskip

Ok, so looking to install Comskip to remove the ads from programs I've recorded from TVHeadend.

Following instructions from here - http://forum.xbmc.org/showthread.php?tid=150084

Havent done any builds on this box so:
apt-get install build-essential

Looks like using latest ffmpeg is a good idea, details here:
https://launchpad.net/~jon-severinsson/+archive/ffmpeg

sudo add-apt-repository ppa:jon-severinsson/ffmpeg
apt-get update
apt-get install ffmpeg


Then grab
wget http://www.xilka.com/xilka/source/comskip-0.93f.tar.xz 
tar xvf comskip-0.93f.tar.xz
cd comskip-0.93f/
./configure --prefix=/usr


A few problems
checking for AVCODEC... no
configure: error: Package requirements (libavcodec >= 53.42) were not met:

No package 'libavcodec' found


so
apt-get install libavformat-dev

and try again
checking for ARGTABLE2... no
configure: error: Package requirements (argtable2 >= 9) were not met:

No package 'argtable2' found


once more
apt-get install libargtable2-dev

and try again:

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands


Ready to build
make -j8
make install

If all went well we should be able to run comskip
Comskip 0.93f.000, made using avcodec

Now, we'll try to figure out how it works.

No comments:

Post a Comment