Comskip not working first time?

Here you can ask your questions on how to use Comskip for the detection of commercials. Also questions on how to remove commercials are welcome
Post Reply
jriker1
Posts: 14
Joined: Sat Apr 14, 2018 10:45 pm

Comskip not working first time?

Post by jriker1 »

I've been noticing that a lot of my commercial removal workflows have a lot of commercials still in them and barely taking out 5 minutes of an hour show. OK, well maybe it's just not being efficient at getting them, however second time around, if I run it manually thru comskip and then thru VideoRedo it strips pretty much everything out.

Note my workflow and is thru a task manager job in Windows running as my login.

1. find new shows
2. run comskip against it using my comcast.ini file and create VideoRedo file.
3. Run VideoRedo CLI and strip out commercials, don't re-encode.

So unless you want the original video somehow, below is the VideoRedo project output the first time:

------

<VideoReDoProject Version="3">
<Filename>D:\Recorded TV\Little Big Shots_WMAQDT_2018_04_22_18_58_00.wtv</Filename><CutList>
<Cut><CutTimeStart>6283694082</CutTimeStart> <CutTimeEnd>8211703526</CutTimeEnd> </Cut>
<Cut><CutTimeStart>13205025193</CutTimeStart> <CutTimeEnd>15492477029</CutTimeEnd> </Cut>
<Cut><CutTimeStart>19739136082</CutTimeStart> <CutTimeEnd>21077139415</CutTimeEnd> </Cut>
<Cut><CutTimeStart>25486377585</CutTimeStart> <CutTimeEnd>27432988918</CutTimeEnd> </Cut>
</CutList>
<SceneList>
<SceneMarker Sequence="0" Timecode="0:02:07.13">1271353415</SceneMarker>
<SceneMarker Sequence="1" Timecode="0:10:28.35">6283527252</SceneMarker>
<SceneMarker Sequence="2" Timecode="0:10:54.71">6547123918</SceneMarker>
<SceneMarker Sequence="3" Timecode="0:11:12.38">6723800415</SceneMarker>
<SceneMarker Sequence="4" Timecode="0:11:23.50">6835078252</SceneMarker>
<SceneMarker Sequence="5" Timecode="0:11:24.75">6847590749</SceneMarker>
<SceneMarker Sequence="6" Timecode="0:11:54.73">7147390252</SceneMarker>
<SceneMarker Sequence="7" Timecode="0:13:24.75">8047539526</SceneMarker>
<SceneMarker Sequence="8" Timecode="0:13:41.17">8211703526</SceneMarker>
<SceneMarker Sequence="9" Timecode="0:22:00.48">13204858363</SceneMarker>
<SceneMarker Sequence="10" Timecode="0:25:45.22">15452270193</SceneMarker>
<SceneMarker Sequence="11" Timecode="0:25:49.24">15492477029</SceneMarker>
<SceneMarker Sequence="12" Timecode="0:32:53.89">19738969252</SceneMarker>
<SceneMarker Sequence="13" Timecode="0:33:07.94">19879442918</SceneMarker>
<SceneMarker Sequence="14" Timecode="0:33:37.45">20174571082</SceneMarker>
<SceneMarker Sequence="15" Timecode="0:34:04.46">20444674252</SceneMarker>
<SceneMarker Sequence="16" Timecode="0:34:53.98">20939835585</SceneMarker>
<SceneMarker Sequence="17" Timecode="0:35:07.71">21077139415</SceneMarker>
<SceneMarker Sequence="18" Timecode="0:42:28.62">25486210749</SceneMarker>
<SceneMarker Sequence="19" Timecode="0:42:58.65">25786510749</SceneMarker>
<SceneMarker Sequence="20" Timecode="0:43:58.64">26386443415</SceneMarker>
<SceneMarker Sequence="21" Timecode="0:44:42.85">26828551749</SceneMarker>
<SceneMarker Sequence="22" Timecode="0:44:58.17">26981704749</SceneMarker>
<SceneMarker Sequence="23" Timecode="0:45:00.57">27005728749</SceneMarker>
<SceneMarker Sequence="24" Timecode="0:45:28.46">27284674082</SceneMarker>
<SceneMarker Sequence="25" Timecode="0:45:43.29">27432988918</SceneMarker>
<SceneMarker Sequence="26" Timecode="1:02:06.56">37265645082</SceneMarker>
<SceneMarker Sequence="27" Timecode="1:03:03.40">37834046252</SceneMarker>
<SceneMarker Sequence="28" Timecode="1:04:58.83">38988366082</SceneMarker>
</SceneList>
</VideoReDoProject>


------


Now I run comskip again on the "cleaned" file with the commercials supposedly removed. I get the below:

-------

<VideoReDoProject Version="3">
<Filename>D:\test\Little Big Shots_WMAQDT_2018_04_22_18_58_00_CLEAN.WTV</Filename><CutList>
<Cut><CutTimeStart>1207206029</CutTimeStart> <CutTimeEnd>1262761526</CutTimeEnd> </Cut>
<Cut><CutTimeStart>6245239029</CutTimeStart> <CutTimeEnd>6422082304</CutTimeEnd> </Cut>
<Cut><CutTimeStart>11278100089</CutTimeStart> <CutTimeEnd>11334156082</CutTimeEnd> </Cut>
<Cut><CutTimeStart>15515333082</CutTimeStart> <CutTimeEnd>16276093082</CutTimeEnd> </Cut>
<Cut><CutTimeStart>19932245551</CutTimeStart> <CutTimeEnd>20089068860</CutTimeEnd> </Cut>
<Cut><CutTimeStart>24954095696</CutTimeStart> <CutTimeEnd>26756062526</CutTimeEnd> </Cut>
<Cut><CutTimeStart>29394698526</CutTimeStart> <CutTimeEnd>30275411696</CutTimeEnd> </Cut>
</CutList>
<SceneList>
<SceneMarker Sequence="0" Timecode="0:02:00.70">1207039193</SceneMarker>
<SceneMarker Sequence="1" Timecode="0:02:06.27">1262761526</SceneMarker>
<SceneMarker Sequence="2" Timecode="0:10:24.50">6245072193</SceneMarker>
<SceneMarker Sequence="3" Timecode="0:10:42.20">6422082304</SceneMarker>
<SceneMarker Sequence="4" Timecode="0:18:47.79">11277933259</SceneMarker>
<SceneMarker Sequence="5" Timecode="0:18:53.41">11334156082</SceneMarker>
<SceneMarker Sequence="6" Timecode="0:25:51.51">15515166251</SceneMarker>
<SceneMarker Sequence="7" Timecode="0:26:52.42">16124274749</SceneMarker>
<SceneMarker Sequence="8" Timecode="0:27:07.60">16276093082</SceneMarker>
<SceneMarker Sequence="9" Timecode="0:33:13.20">19932078724</SceneMarker>
<SceneMarker Sequence="10" Timecode="0:33:28.90">20089068860</SceneMarker>
<SceneMarker Sequence="11" Timecode="0:41:35.39">24953928860</SceneMarker>
<SceneMarker Sequence="12" Timecode="0:42:05.62">25256230860</SceneMarker>
<SceneMarker Sequence="13" Timecode="0:42:20.62">25406214029</SceneMarker>
<SceneMarker Sequence="14" Timecode="0:42:35.61">25556197193</SceneMarker>
<SceneMarker Sequence="15" Timecode="0:42:50.61">25706180363</SceneMarker>
<SceneMarker Sequence="16" Timecode="0:43:05.61">25856163526</SceneMarker>
<SceneMarker Sequence="17" Timecode="0:43:20.66">26006647193</SceneMarker>
<SceneMarker Sequence="18" Timecode="0:44:35.60">26756062526</SceneMarker>
<SceneMarker Sequence="19" Timecode="0:45:05.86">27058698193</SceneMarker>
<SceneMarker Sequence="20" Timecode="0:48:59.45">29394531696</SceneMarker>
<SceneMarker Sequence="21" Timecode="0:49:29.68">29696833696</SceneMarker>
<SceneMarker Sequence="22" Timecode="0:49:36.18">29761898696</SceneMarker>
<SceneMarker Sequence="23" Timecode="0:50:27.54">30275411696</SceneMarker>
<SceneMarker Sequence="24" Timecode="0:52:27.76">31477612696</SceneMarker>
</SceneList>
</VideoReDoProject>


--------

I load the second file into VideoRedo with the cleaned file that supposedly already had the commercials taken out and all the removal points look good. So if this makes sense, why is comskip not catching all these commercials the first pass, but when I manually run it on the "converted" file, it works the second pass?

Note when I run VideoRedo the second time, it removes a bit over 6 minutes of commercials. Not sure if the second project file above equates to that duration?

Thanks.

JR

erik
Site Admin
Posts: 3338
Joined: Sun Aug 21, 2005 3:49 pm

Re: Comskip not working first time?

Post by erik »

The problem with comskip failing first time is probably caused by either comskip failing to process correctly during recording or timeline errors causing comskip to fail fixed by videoredo processing.

For the first problem: Do no run comskip while still recording.
For the second problem: I would like to receive an unprocessed recording that delivers different comskip output after videoredo processing without removing any commercials

Post Reply