![]() |
Comskip for Linux released - Printable Version Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168) ---- Thread: Comskip for Linux released (/showthread.php?tid=150084) |
RE: Comskip for Linux released - cbxbiker61 - 2014-09-14 (2014-07-07, 14:41)snickers2k Wrote: oh, thx. You're right. So it DOES work. I get the metadata files. You don't need an executable to strip the commercials. What you do need is a bash script that uses the .edl file to determine the ranges to strip (with for example ffmpeg). I haven't had a need to do this but you should be able to google it. As far as Xbmc skipping and such, the later versions work the best. If you use edl_mode 3, the commercials will be initially skipped during playback, but if you skip backwards the commercials will be included in the rewind. This is a good thing in that if the comskip isn't perfect you can play the ranges that were skipped. (2014-09-03, 23:52)menno Wrote: Just use the static directions in post 1. RE: Comskip for Linux released - menno - 2014-10-27 I am sorry I am a fool , I dont get it to work ![]() I now use this to install it; PKG_CONFIG_PATH=/root/ffmpeg-static/32bit ./configure --prefix=/usr and ./configure --prefix=/usr/local/ffmpeg/lib and ./configure --prefix=/root/ffmpeg-static/32bit and almost all other paths I get from find / -name *ffmpeg* What am I doing wrong? ![]() RE: Comskip for Linux released - menno - 2014-11-03 I think I understood you in the end. I did a lot of manual static, both for ffmpeg and argtable2. All installed quite well I suppose, but if I run comskip i get "comskip: error while loading shared libraries: libargtable2.so.0: cannot open shared object file: No such file or directory" //edit my configure for arg2table was; "PKG_CONFIG_PATH=/var/tmp/ComSkipWork/install/lib/pkgconfig ./configure --prefix=/var/tmp/ComSkipWork/install" I also did it once with PKG_CONFIG_PATH=/var/tmp/ComSkipWork/install/lib/pkgconfig ./configure --prefix=/usr both give the shared object file error like above. //edit2 find / -name libargtable2.so.0 /var/tmp/ComSkipWork/install/lib/libargtable2.so.0 /var/tmp/ComSkipWork/argtable2-12/src/.libs/libargtable2.so.0 its all there? RE: Comskip for Linux released - cbxbiker61 - 2014-11-04 (2014-11-03, 23:34)menno Wrote: I think I understood you in the end. From where you're at...the simplest thing to do would be to copy libargtable2.so.0 into /usr/lib (or /usr/lib64 if that exists on your system). RE: Comskip for Linux released - Asharad - 2014-11-04 (2014-05-11, 15:16)thos Wrote: Anyone getting different results from Windows to Linux even with same INI file? Yes. I'm getting some major differences between windows and linux versions. I've tried multiple windows versions, and cannot make it duplicate the linux version. Windows version 0.81.062 (2014) Code: 2.04 61.56 0 Windows version 0.81.038 (2010) Code: 2.00 61.56 0 Linux version 0.93h.000 Code: 2106.24 2338.14 0 RE: Comskip for Linux released - Asharad - 2014-11-04 (2014-05-15, 04:36)cbxbiker61 Wrote: The very first Linux version was forked from the windows source code. Which version was it forked from? I'd like to duplicate my windows and linux scenarios, for debugging purposes. RE: Comskip for Linux released - menno - 2014-11-04 (2014-11-04, 01:20)cbxbiker61 Wrote:(2014-11-03, 23:34)menno Wrote: I think I understood you in the end. It finally works, as in it executes. Ill now read up for a nice script to auto run after recoding and ideally also cut the file! What an odeal this was ![]() RE: Comskip for Linux released - cbxbiker61 - 2014-11-05 (2014-11-04, 02:08)Asharad Wrote:(2014-05-11, 15:16)thos Wrote: Anyone getting different results from Windows to Linux even with same INI file? Looks like i branched it in Dec 2012. RE: Comskip for Linux released - menno - 2014-11-06 I ve got success but no success ![]() After finally compiling everything alright I wanted to try comskip on my Grand designs recording. I started it with -v5. Verbose level 5 and saw it getting to work! Nice I even saw the channel 4 hd logo passing by ![]() After hours, it finsihed and produced these files; drwx------ 2 hts video 4.0K Nov 5 20:16 buffer -rwxrwxrwx 1 hts video 3.9G Nov 5 23:00 Grand Designs.mkv -rw-r--r-- 1 root root 123 Nov 6 01:32 Grand Designs.txt -rw-r--r-- 1 root root 34K Nov 6 01:32 Grand Designs.log I now go to recordings in my openelec stable 13.2, started showing some commercials and also it doesnt skip commercials watching the show. What's next ? ![]() RE: Comskip for Linux released - Asharad - 2014-11-06 Comskip should have produced an EDL file. The EDL file defines where the commercials are located within your video. The EDL file would be used by your video player (or in my case video EDITOR) to know when to skip. RE: Comskip for Linux released - menno - 2014-11-06 Well the log looks very nice, it shows how it identified the logo and with al the frames where to ski. No .edl file is generated though, even though in .ini the output_edl=1 as nornal. So why dont I have an edl file? RE: Comskip for Linux released - menno - 2014-11-06 Now that I ve copied the .ini file to the recording directory and where I actually run comskip I did get an .edl. Openelec Gotham 13.2 doesnt use it though to skip ads ![]() RE: Comskip for Linux released - menno - 2014-11-07 I try to cut it from the file with mencoder, this also doesnt work; Code: myserver:/STORAGE/hts# mencoder "Grand_Designs.avi" -o Grand_Designs_no_adds4.avi -nosub -edl "Grand Designs.edl" -ovc copy -oac copy -ofps 25000/1001 The ouptut video loses 1 gb in size and is corrupted ![]() RE: Comskip for Linux released - menno - 2014-11-10 I wanted to use a logo file earlier generated from a show called Grand Desgins. Because if i looked to that logo.txt it's much better than the one generated from Speed with Guy Martin. I renamed Grand Designs.logo.txt to Channel_4.logo.txt and ran comskip --logo Channel_4.logo txt "Speed with Guy Martin.mkv" I use the linux version. I get this error; Using Speed with Guy Martin.logo.txt for logo data. terminate called after throwing an instance of 'std::out_of_range' what(): x exceeds max width Aborted What is wrong? Also I am very new to this, and I wonder why no logo files and ini's per channel are widely available.. are we all trying to re-invent our own wheels? RE: Comskip for Linux released - menno - 2014-11-10 Hmmm I just tried my same ini, with this window version; http://www.kaashoek.com/files/comskip81_069.zip And those results are much better ![]() Can we rebuild a linux version off the latest windows? Thanks in advance! |