• 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 23
Comskip for Linux released
(2014-02-20, 17:33)seminox Wrote: thanx for your help,
but the ds213+ is not based on arm cpu but on QoriQ (PPC)

So this is not usable for me.

Ow sorry, i thought i have read 213j which is ARM. Maybe aisman can give some tips in this?
Reply
I am trying to find the best settings for certain content so I had it create a csv file and tried to run it from that but got the following error:

Using Super Why!.2008-04-09.E23.logo.txt for logo data.
terminate called after throwing an instance of 'std::out_of_range'
what(): x exceeds max width
Aborted

Any ideas? Can include the full output if its helpful.

Thanks,
Jess

Also specifying an ini file via the commandline doesn't seem to work:

$ comskip --ini==~/comskip-pbs.ini ../Super\ Why\!.2009-04-06.E43.ts --output=./
Comskip 0.93g.000, made using avcodec
The commandline used was:
comskip --ini==~/comskip-pbs.ini "../Super Why!.2009-04-06.E43.ts" --output=./

Setting ini file to =~/comskip-pbs.ini as per commandline
No INI file found in current directory. Searching PATH...
INI file found at /etc/comskip/comskip.ini
Using /etc/comskip/comskip.ini for initiation values.
Mpeg: ../Super Why!.2009-04-06.E43.ts
Exe /usr/bin/comskip
Logo: .//Super Why!.2009-04-06.E43.logo.txt
Ini: /etc/comskip/comskip.ini


Thanks,
Jess
Reply
Trying to install comskip 0.93g on FC20. When I try to compile it starts fine, and then I get I get

LoadSettings.cpp: In member function ‘void CS::CommercialSkipper::loadSettings(int, char**)’:
LoadSettings.cpp:747:64: error: ‘arg_freetable’ was not declared in this scope
arg_freetable(argtable, sizeof(argtable) / sizeof(argtable[0]));
^
make[1]: *** [comskip-LoadSettings.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/comskip-ProcessArInfo.Tpo .deps/comskip-ProcessArInfo.Po
mv -f .deps/comskip-ProcessCsv.Tpo .deps/comskip-ProcessCsv.Po
mv -f .deps/comskip-mpeg2dec.Tpo .deps/comskip-mpeg2dec.Po
mv -f .deps/comskip-comskip.Tpo .deps/comskip-comskip.Po
make[1]: Leaving directory `/var/tmp/comskip-0.93g'
make: *** [all] Error 2

Can someone tell me how I can declare arg_freetable in the required scope? Or any other way to fix this?
Reply
Install argtable2, I suspect.
Reply
(2014-02-22, 19:08)Prof Yaffle Wrote: Install argtable2, I suspect.

argtable2 is installed. As is g++. I couldn't have gotten past configure without them.
Reply
Ah, well, it was worth a try!
Reply
Anyone get closed caption support working? I have ts files with closed captions but it isn't finding anything even though I added phrases from the episode to the dictionary. According to vlc there are 44 cc tracks and 2 seems to be the good one,maybe it doesnt search all of them?
Reply
Hi folks,

i'm back ;-)

ok. i'm still trying to compile a comskip version running on a powerpc based qoriq cpu. Goal is to run it on a Synology DS213+ with DSM 5.0 installed.

i've set up a build environment with all necessary dependencies for comskip. i chrooted to this environment and startet in ./comskip-0.93g/ with:

./configure

which throws the following messages:
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... no
configure: No compiler with C++11 support was found
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for memset... yes
checking for strerror... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for AVCODEC... yes
checking for AVFORMAT... yes
checking for AVUTIL... yes
checking for ARGTABLE2... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

so everything ok i think.....

i ran "make" and get:
Code:
make            
make  all-am
make[1]: Entering directory `/root/comskip-0.93g'
g++ -DHAVE_CONFIG_H -I.  -I/usr/syno/include/ffmpeg   -I/usr/syno/include/ffmpeg   -I/usr/syno/include/ffmpeg   -I/usr/local/include     -g -O2 -MT comskip-mpeg2dec.o -MD -MP -MF .deps/comskip-mpeg2dec.Tpo -c -o comskip-mpeg2dec.o `test -f 'mpeg2dec.cpp' || echo './'`mpeg2dec.cpp
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../include/c++/4.3.3/cstdint:40,
                 from CsTypes.h:4,
                 from comskip.h:3,
                 from mpeg2dec.cpp:67:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../include/c++/4.3.3/c++0x_warning.h:36:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from CsTypes.h:4,
                 from comskip.h:3,
                 from mpeg2dec.cpp:67:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../include/c++/4.3.3/cstdint:77:30: error: tr1_impl/cstdint: No such file or directory
In file included from mpeg2dec.cpp:67:
comskip.h: In member function 'void CS::LogoBuffers::resize(size_t, size_t)':
comskip.h:766: error: a function-definition is not allowed here before ':' token
comskip.h:768: error: expected primary-expression before '}' token
comskip.h:768: error: expected `;' before '}' token
comskip.h:768: error: expected primary-expression before '}' token
comskip.h:768: error: expected `)' before '}' token
comskip.h:768: error: expected primary-expression before '}' token
comskip.h:768: error: expected `;' before '}' token
comskip.h: In member function 'void CS::Histogram::clear(std::vector<int, std::allocator<int> >&)':
comskip.h:924: error: a function-definition is not allowed here before ':' token
comskip.h:926: error: expected primary-expression before '}' token
comskip.h:926: error: expected `;' before '}' token
comskip.h:926: error: expected primary-expression before '}' token
comskip.h:926: error: expected `)' before '}' token
comskip.h:926: error: expected primary-expression before '}' token
comskip.h:926: error: expected `;' before '}' token
make[1]: *** [comskip-mpeg2dec.o] Error 1
make[1]: Leaving directory `/root/comskip-0.93g'
make: *** [all] Error 2
whats up? i don't have any clue...... can someone please assist me?
Reply
i think i can answer myself......

Code:
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... no
configure: No compiler with C++11 support was found

..... i'm going to write to synology.....
Reply
(2014-01-18, 11:16)xxxnelly Wrote: What about any other countries, is this just a problem in the UK or do most have it?

AIUI Comskip and similar programs work by trying to analyse what a broadcaster does either side/during an ad break, and then tries to detect it. Different broadcasters will do different things - some will be easy to detect, others not so easy.

Examples :
  • 5.1 audio during programmes, 2.0 audio during ad-breaks (easy to detect and use - but only works during 5.1 shows, and if the broadcaster uses 5.1/2.0 switching)

    Channel logo present during programmes but not during advert breaks (but detecting the logo can be tricky in some cases, and some broadcasters don't keep it up permanently during a show. Sky now often only fade the logo up for a relatively short period in some cases)

    Black spaces between commercials (common in some areas to clearly signal the end of one advert and the beginning of the next, but no longer in widespread use in the UK. Ditching the black gaps added up across the day to more adverts in the same junction time...)

    Channel idents going into and out of the break (some channels have fixed stings or static idents that appear either side of a break)
In the UK the presentation and play out on commercial channels is pretty slick and seamless these days - and often the Comskip stuff works by detecting the klunkiness around commercials...
Reply
I'm trying to get this installed on my Ububtu 13.10 installation, but i'm getting stuck with argtable2.

I followed through (successfully, I think) the instructions in the first post to this step
Code:
PKG_CONFIG_PATH=/var/tmp/ComSkipWork/ffmpeg-2.0-install/lib/pkgconfig ./configure --prefix=/usr

but received the error:
Code:
checking for ARGTABLE2... no
configure: error: Package requirements (argtable2 >= 9) were not met:

No package 'argtable2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

I then jumped to the argtable2 section of the original post, and seemed to get things going, but i'm not sure how to proceed with this step:
Code:
Then to build comskip add /var/tmp/ComSkipWork/argtable2-install to the
PKG_CONFIG_PATH just as you would for an static ffmpeg
(man pkg-config for additional info).

I tried various iterations of

PKG_CONFIG_PATH=/var/tmp/ComSkipWork/ffmpeg-2.0-install/lib/pkgconfig ./configure:/var/tmp/ComSkipWork/argtable2-install --prefix=/usr

and similiar, but i'm still getting stuck at this error.

I think that I just don't have the PKG_CONFIG_PATH usage correct, probably because I'm not 100% sure what I'm doing.

Can anyone help with the right format/syntax, or provide any other assistance?

thakns
Matt
Reply
PKG_CONFIG_PATH is just like any other PATH variable on UNIXy OSs, meaning you use a colon to separate multiple entries...

PKG_CONFIG_PATH="/path1:/path2"
Reply
(2014-03-25, 03:16)cbxbiker61 Wrote: PKG_CONFIG_PATH is just like any other PATH variable on UNIXy OSs, meaning you use a colon to separate multiple entries...

PKG_CONFIG_PATH="/path1:/path2"

I'm pretty sure that I did run

Code:
PKG_CONFIG_PATH=/var/tmp/ComSkipWork/ffmpeg-2.0-install/lib/pkgconfig:/var/tmp/ComSkipWork/argtable2-install ./configure --prefix=/usr

but I still get stuck at the "No package 'argtable2' found" error. I'll run it again tonight to be sure.

thanks
Reply
Updated comskip 0.93h to eliminate deprecation warnings with ffmpeg 2.2.

Updated directions for static ffmpeg/argtable build.
Reply
Hi, why not make a PPA so one can just install a package? And I guess there is something equivalent for RPM-based systems.
Reply
  • 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
  • 23

Logout Mark Read Team Forum Stats Members Help
Comskip for Linux released6