Comskip for Linux released

  Thread Rating:
  • 4 Votes - 3.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
schumi2004 Offline
Fan
Posts: 642
Joined: Aug 2011
Reputation: 4
Post: #161
(2013-04-18 10:02)aisman Wrote:  Ok, ty. Maybe you share your settings, it is desirable to step-by-step, and if you can, then attach the script to the post processing on nas NAS Synology with tvheadend.

Instructions:
Extract these files and place them in corresponding directories
Quote:/usr/bin
/usr/share
/etc
/lib
Include folder should be put in /usr.

Then i did chmod +x and chmod 777 on these files
Quote:/usr/bin/comskip, ffmpeg, ffprobe

Created a backup from original comskip.ini in /etc/comskip/ and replaced content van original with this:
Note: Maybe someone has a better version and would like to share it with some explananation if possible?
http://pastebin.com/K4G55Umn

Created a folder for scripts, for example /volume1/@appstore/scripts, and placed this processing in it.
comskip-pp.sh
Note: Change COMSKIPLOGS and TVHEADENDPP to fit your needs.
Note: I also removed MKV and TS selection as seen in processing script in startpost because i only use MKV to store my recordings.
http://pastebin.com/1LKY3JEC

Added this processing line in TVHeadend in recording configuration
Quote:/volume1/@appstore/scripts/comskip-pp.sh f%

That's it.

Only a few things i would like to solve so maybe someone can help me with that.
Currently comskip detects and removes commercials but i think it's based on volume difference only. What i would like to see is remove every frame without channel logo!!
Sometimes the channels i watch are having a sort of commercial or program announcement before the actual program (same volume level but without channel logo!), i was hoping you could skip that as well?

Second things is trying to re-use channel logo, currently comskip crashes when doing that.

[Image: watched-clearlogo.jpg]
find quote
aisman Offline
Junior Member
Posts: 11
Joined: Apr 2013
Reputation: 2
Post: #162
thank you! Smile
find quote
schumi2004 Offline
Fan
Posts: 642
Joined: Aug 2011
Reputation: 4
Post: #163
@cbxbiker61 or any one else.
Are you guys successful in reusing logo and/or logo detection only (2) ?
When running same recording on a windows machine i'm getting a totally different logo then with Linux version and i can re-use it.
In both situations the edl output is the same using same comskip.ini.

[Image: watched-clearlogo.jpg]
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #164
(2013-04-24 19:47)schumi2004 Wrote:  @cbxbiker61 or any one else.
Are you guys successful in reusing logo and/or logo detection only (2) ?
When running same recording on a windows machine i'm getting a totally different logo then with Linux version and i can re-use it.
In both situations the edl output is the same using same comskip.ini.

Logo files are just an approximation of the logo, kind of a "best-guess" at the logo, so logo files created on different versions almost certainly will not match the logo file of another version. The software uses "fuzzy" logic when it matches logos.
find quote
schumi2004 Offline
Fan
Posts: 642
Joined: Aug 2011
Reputation: 4
Post: #165
When i re-use the logo created with Linux version comskip generates a error.
When i do the same on Windows with the Windows logo file created no problem.

I'm not switching them between versions.

Edit:
DS211> comskip /volume1/recordings/Goede-tijden,-slechte-tijden/RTL-4-Goede-tijden,-slechte-tijden.2013-04-30.20-00.mkv --logo=/volumeUSB1/usbshare/logs/coms
kip/RTL-4-Goede-tijden,-slechte-tijden.2013-04-30.20-00.logo.txt
Comskip 0.93b.000, made using avcodec
The commandline used was:
comskip /volume1/recordings/Goede-tijden,-slechte-tijden/RTL-4-Goede-tijden,-slechte-tijden.2013-04-30.20-00.mkv --logo=/volumeUSB1/usbshare/logs/comskip/RTL-4-Goede-tijden,-slechte-tijden.2013-04-30.20-00.logo.txt

Setting logo file to /volumeUSB1/usbshare/logs/comskip/RTL-4-Goede-tijden,-slechte-tijden.2013-04-30.20-00.logo.txt 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.
terminate called after throwing an instance of 'std::out_of_range'
what(): x exceeds max width
Aborted (core dumped)
DS211>

Maybe some incorrect setting in comskip.ini ?

[Image: watched-clearlogo.jpg]
(This post was last modified: 2013-05-05 12:05 by schumi2004.)
find quote
cbxbiker61 Offline
Senior Member
Posts: 148
Joined: Nov 2010
Reputation: 1
Post: #166
Probably windows crlf vs lf issue.
find quote
schumi2004 Offline
Fan
Posts: 642
Joined: Aug 2011
Reputation: 4
Post: #167
(2013-05-06 05:59)cbxbiker61 Wrote:  Probably windows crlf vs lf issue.

Could save some time if you could re-use logo's.
Then comskip doesn't need to look for logo again which speeds up the process.

[Image: watched-clearlogo.jpg]
find quote
Post Reply