Problem Compiling in Ubuntu

Here you can ask your questions on how to use Comskip for the detection of commercials. Also questions on how to remove commercials are welcome
Post Reply
padillaj3
Posts: 11
Joined: Sun Dec 04, 2016 12:01 am

Problem Compiling in Ubuntu

Post by padillaj3 »

Hello,

I'm unable to compile comskip on a 64bit machine running xUbuntu Ubuntu 18.04.3 LTS, I get the following text when the "make" command finishes:

mv -f ccextratorwin/.deps/comskip_gui-myth.Tpo ccextratorwin/.deps/comskip_gui-myth.Po
gcc -DPACKAGE_NAME=\"Comskip\" -DPACKAGE_TARNAME=\"comskip\" -DPACKAGE_VERSION=\"0.82.010\" -DPACKAGE_STRING=\"Comskip\ 0.82.010\" -DPACKAGE_BUGREPORT=\"https://github.com/erikkaashoek/Comskip/issues\" -DPACKAGE_URL=\"\" -DPACKAGE=\"comskip\" -DVERSION=\"0.82.010\" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -Wall -I/usr/include/x86_64-linux-gnu -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPROCESS_CC -DDONATOR -DHAVE_SDL -g -O2 -MT comskip_gui-video_out_sdl.o -MD -MP -MF .deps/comskip_gui-video_out_sdl.Tpo -c -o comskip_gui-video_out_sdl.o `test -f 'video_out_sdl.c' || echo './'`video_out_sdl.c
mv -f .deps/comskip_gui-video_out_sdl.Tpo .deps/comskip_gui-video_out_sdl.Po
gcc -g -O2 -o comskip-gui comskip_gui-comskip.o comskip_gui-mpeg2dec.o comskip_gui-platform.o comskip_gui-video_out_dx.o ccextratorwin/comskip_gui-608.o ccextratorwin/comskip_gui-ccextractor.o ccextratorwin/comskip_gui-encoding.o ccextratorwin/comskip_gui-general_loop.o ccextratorwin/comskip_gui-myth.o comskip_gui-video_out_sdl.o -largtable2 -lavutil -lavformat -lavcodec -lSDL -lpthread -lm



I think I have all the requirements installed as I've run the command:
sudo apt-get install -y autoconf libtool git build-essential libargtable2-dev libavformat-dev libsdl1.2-dev
and when I check the ffmpeg version I get:

ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100


Any help on how to get this to compile would be appreciated.

Also alternatively I saw that there's an option to work from a .TAR file but I couldn't find that file.

erik
Site Admin
Posts: 3344
Joined: Sun Aug 21, 2005 3:49 pm

Re: Problem Compiling in Ubuntu

Post by erik »

There are some filenames in your listing I do not recognize.
Where did you get comskip from?

padillaj3
Posts: 11
Joined: Sun Dec 04, 2016 12:01 am

Re: Problem Compiling in Ubuntu

Post by padillaj3 »

I got it from github:

$ git clone git://github.com/erikkaashoek/Comskip
$ cd Comskip
$ ./autogen.sh
$ ./configure
$ make

erik
Site Admin
Posts: 3344
Joined: Sun Aug 21, 2005 3:49 pm

Re: Problem Compiling in Ubuntu

Post by erik »

Did you post the error message?

padillaj3
Posts: 11
Joined: Sun Dec 04, 2016 12:01 am

Re: Problem Compiling in Ubuntu

Post by padillaj3 »

Ok, I figured out what was missing after typing "make" :
sudo make install

So the full procedure I used is this:
Made a directory to install comskip and then in a terminal window in that folder I typed the following commands:

sudo apt-get install -y git build-essential libargtable2-dev libsdl1.2-dev libavformat-dev autoconf libtool

git clone git://github.com/erikkaashoek/Comskip --depth=1
cd Comskip
./autogen.sh
./configure
make
sudo make install



That takes care of it, thanks.

Post Reply