2013-05-06, 05:59
Probably windows crlf vs lf issue.
(2013-07-01, 15:54)kendrak24 Wrote: Hi! Thanks for the excellent work!
Has anyone else noticed that a leading "no-logo" segment of a recording (e.g. pre-show commercials) is never included in the edl file?
In the log file I can see that the first logo block starts on e.g. frame 1775, but that leading "no-logo" section never makes it to the "Initial Commercial List".
(2013-07-05, 02:29)kendrak24 Wrote: Ok, good, so it's not just me!
Also noticed that the edl times are strange. I've enabled both default output (comskip) and edl.
Notice that _some_ of the edl times corresponds to the comskip frames, but some are exactly 270 seconds off...
In this case edl_offset was not set in comskip.ini.
The comskip file has the correct breaks...
EDL-file:
2.00 98.36 0
596.92 665.92 0
1426.68 2160.16 0
Comskip-file:
FILE PROCESSING COMPLETE 53999 FRAMES AT 2500
-------------------
50 2459
14923 23398
42417 54004
make all-am
g++ -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/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 comskip.h:3,
from mpeg2dec.cpp:67:
CsTypes.h:4:19: error: cstdint: No such file or directory
In file included from comskip.h:4,
from mpeg2dec.cpp:67:
CsOptions.h:13:22: error: features.h: No such file or directory
CsOptions.h:14:18: error: missing binary operator before token "("
CsOptions.h:18:18: error: missing binary operator before token "("
In file included from /usr/include/c++/4.2.1/bits/os_defines.h:61,
from /usr/include/c++/4.2.1/bits/c++config.h:41,
from /usr/include/c++/4.2.1/cstdio:50,
from mpeg2dec.cpp:45:
/usr/include/unistd.h:538: error: declaration of C function ‘int getopt(int, char* const*, const char*)’ conflicts with
./getopt.h:136: error: previous declaration ‘int getopt()’ here
In file included from mpeg2dec.cpp:55:
./inttypes.h:10: error: ‘__int64’ does not name a type
./inttypes.h:15: error: ‘__int64’ does not name a type
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: *** [all] Error 2
(2013-07-16, 01:52)KenBotwinick Wrote: My problem is probably caused by compiler version:
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
gcc version 4.2.1
Trying to find later version
(2013-08-06, 21:40)pavkamlc Wrote: Is possible to add into repo spec file for building on RPM based distro?
My is tested on fedora 19.
%define __spec_install_post %{nil}
%define debug_package %{nil}
%define __os_install_post %{_dbpath}/brp-compress
Summary: Commercials marker
Name: comskip
Version: 0.93e
Release: 1
License: GPL+
Group: Development/Multimedia
SOURCE0 : %{name}-%{version}.tar.xz
URL: http://www.cpanelknowledge.com/comskip-f...-released/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
%{summary}
%prep
%setup -q
%build
./configure --prefix=/usr
make
# Empty section.
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
mkdir -p %{buildroot}/usr/bin/
mkdir -p %{buildroot}/etc/%{name}/
install -m 755 %{name} %{buildroot}/usr/bin/
install -m 700 %{name}.ini %{buildroot}/etc/%{name}/
# in builddir
#cp -a * %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%config(noreplace) /etc/%{name}/%{name}.ini
/usr/bin/comskip
%changelog
* Thu Apr 24 2013 Pavel Mlcoch <[email protected]> 0.93e-1
- First Build