ProjectX question

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
milder
Posts: 10
Joined: Sat Jul 18, 2015 8:40 am

ProjectX question

Post by milder » Thu Apr 05, 2018 7:34 pm

Hi,
Comskip works fairly well, but some shows I cannot get quite right.

Can anyone please, please tell me how ProjectX works? I have files that comskip creates: .Xcl, .edl, and .txt. What is ProjectX reading? And what are the numbers therein? I would think frames, but they don't seem to correlate.

Seriously, I'd be so very appreciative of any help. Thanks!

milder
Posts: 10
Joined: Sat Jul 18, 2015 8:40 am

Re: ProjectX question

Post by milder » Sat Apr 07, 2018 7:06 am

Erik, it would seem the .edl is the file that I want to tweak, but I cannot understand the format. It doesn't appear to be frames, so what am I looking at when I see this:

38.67 71.91 0
1132.73 1408.34 0
1804.84 2067.03 0
2484.11 2761.96 0
3340.90 3596.16 0
3977.37 4227.79 0
4998.29 5276.34 0
5625.95 5894.05 0
6297.62 6572.23 0
7055.72 7326.89 0
8266.63 8456.95 0

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

Re: ProjectX question

Post by erik » Sat Apr 07, 2018 8:28 am

its seconds since start
Commercial start time, commercial end time, zero
The last row may be a very short commercial, only there to mark the total length of the recording

milder
Posts: 10
Joined: Sat Jul 18, 2015 8:40 am

Re: ProjectX question

Post by milder » Sat Apr 07, 2018 8:37 am

Aha!
I wound up using the .Xcl file, and using Cutmode=4.
If you don't mind, when I use Cutmode=2, it doesn't seem to be frames. I tried adjusting to frames and I was way off.

So this worked,
CollectionPanel.CutMode=4
0:1:14:01
0:18:58:00
0:23:30:22
0:30:06:20
0:34:28:28
0:41:27:06
0:46:04:00
0:55:44:00
0:59:58:00
1:06:23:00
1:10:30:00
1:23:22:16
1:27:59:00
1:33:49:00
1:38:16:00
1:45:01:20
1:49:34:16
1:57:34:10
2:02:07:00
2:17:57:00
2:20:59:16
2:24:01:00
But this didn't (and I couldn't figure out what the numbers were). AGAIN, THANK YOU.
CollectionPanel.CutMode=2
1
1101
2217
33890
42270
54033
62011
74391
82838
100069
107839
119144
126769
149741
158194
168552
176707
188682
197032
211402
219649
247693
253517
259001
Finally, in future, can I use either the .edl or the .Xcl file?

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

Re: ProjectX question

Post by erik » Sat Apr 07, 2018 12:39 pm

You are entirely free on what to use

milder
Posts: 10
Joined: Sat Jul 18, 2015 8:40 am

Re: ProjectX question

Post by milder » Mon Apr 16, 2018 7:24 am

Last question (I hope): what is cutmode=2?
When I put in frames using mpv player, it's wildly off. Too far off, honestly.
So what is cutmode=2 if not frames?

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

Re: ProjectX question

Post by erik » Mon Apr 16, 2018 10:23 am

cutmode 2 means byte position in the file.
Do not use it as its very unreliable.
I was not aware cutmode 4 existed.
Will look into replacing cutmode 2 with cutmode 4 in the projectx output

Post Reply