Kodi Community Forum
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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


RE: Comskip for Linux released - helio58 - 2016-07-24

I m try to use comskip , running TVHeadend from Dierkse repo.

Comskip runs ok but i just get a txt file no edl
Any suggestions. Recording in mkv

Thanks


RE: Comskip for Linux released - rpcameron - 2016-07-24

Comskip files are just '.txt' files. You can modify your comskip.ini to output edl files in addition to or instead of the comskip.txt file. However, if you leave the comskip-generated .txt file next to the video file, when you request playback in Kodi from pvr.hts, it will be used.


RE: Comskip for Linux released - helio58 - 2016-07-24

(2016-07-24, 18:49)rpcameron Wrote: Comskip files are just '.txt' files. You can modify your comskip.ini to output edl files in addition to or instead of the comskip.txt file. However, if you leave the comskip-generated .txt file next to the video file, when you request playback in Kodi from pvr.hts, it will be used.

Thanks I thought it have to be edl. I have output edl to 1 .But if it works with txt fine.Will try later thanks


RE: Comskip for Linux released - Thebluevoice - 2016-08-31

(2016-02-06, 22:01)schumi2004 Wrote: You need to use full path to start/launch it, mostly

/volume1/@appstore/tvheadend testing/bin/comskip

On spksrc wiki I created a topic that should help you

Hi!

Ok I'm being dumb here, but where do I put the path in?
Or do I need the additional script tvheadend-pp.sh http://pastebin.com/bd2BWceh and put it in the post process box?

Cheers!


RE: Comskip for Linux released - fretzke - 2016-10-24

Hi all,

just bringing this old thread back up. Does anyone have an at least somewhat recent version compiled for the Raspberry Pi 2 (or 3) that runs on Debian?

I have a build from the Openelec forum running, but that one is kind of ancient. Sad

Since I'm not familiar with compiling myself, a ready build file or instructions on how to compile would be greatly appreciated! Smile


RE: Comskip for Linux released - Shermer321 - 2017-06-06

I am trying to use the bundled comskip which I see under the bin of tvheadend but how do I use the thing. When I try to run the command comskip I get a command unknown? I have hopped around and see the commands but can't run comskip. Yes, I am a noob.


RE: Comskip for Linux released - rpcameron - 2017-06-06

Your Tvheadend "bin" directory is most likely not in your $PATH. You need to use the full path name when you call the binary.


RE: Comskip for Linux released - schumi2004 - 2017-06-06

(2017-06-06, 15:54)rpcameron Wrote: Your Tvheadend "bin" directory is most likely not in your $PATH. You need to use the full path name when you call the binary.
Yes full PATH should do it or package maintainer should add it in PATH for future releases.


RE: Comskip for Linux released - Shermer321 - 2017-06-06

Crap, you even posted that above. I don't know how that didn't make sense to me. Thanks!


RE: Comskip for Linux released - Shermer321 - 2017-06-06

Is there a way to run through an entire directory of .ts files? It worked great on the test episode.

I am assuming this is then setup via tvheadend to execute via a post processing command? Any examples?


RE: Comskip for Linux released - rpcameron - 2017-06-06

(2017-06-06, 18:24)Shermer321 Wrote: Is there a way to run through an entire directory of .ts files? It worked great on the test episode.

I am assuming this is then setup via tvheadend to execute via a post processing command? Any examples?

Code:
for f in *.ts
do
  comskip [options] $f
done



RE: Comskip for Linux released - schumi2004 - 2017-06-06

(2017-06-06, 18:24)Shermer321 Wrote: Is there a way to run through an entire directory of .ts files? It worked great on the test episode.

I am assuming this is then setup via tvheadend to execute via a post processing command? Any examples?

More useful information here :
https://github.com/SynoCommunity/spksrc/wiki/Comskip


RE: Comskip for Linux released - Shermer321 - 2017-06-07

Got'er all figured out. Thanks for all the help!


RE: Comskip for Linux released - Shermer321 - 2017-06-07

I lied, one last issue. Using the script you linked above, I put the file path to the show in quotes but it still splits it going into the script. For example the show impractical jokers is impractical.ts


RE: Comskip for Linux released - Shermer321 - 2017-06-07

For example

CMD: /var/packages/tvheadend-testing/target/Recordings/commercials/commercials.sh ""/var/packages/tvheadend-testing/target/Recordings/American Pickers/S01E05.ts""

RESPONSE: /var/packages/tvheadend-testing/target/Recordings/American: Can not open file

With the above command in single quotes i get a reply of

RESPONSE: /var/packages/tvheadend-testing/target/Recordings/commercials/commercials.sh "/var/packages/tvheadend-testing/target/Recordings/American Housewife/S01E05.ts"
/usr/bin/basename: extra operand ‘.mkv’
Try '/usr/bin/basename --help' for more information.
Comskip 0.81.089, made using ffmpeg
Donator build
No such file or directory - could not create file Housewife/S01E05.ts/American.txt

So it is the BASENAME that is screwing it up.


This forum uses Lukasz Tkacz MyBB addons.