Initial vs Final Commerical List?

To discuss the tuning of comskip and for posting your ini files
Post Reply
matt91
Posts: 2
Joined: Thu Mar 16, 2006 1:18 am

Initial vs Final Commerical List?

Post by matt91 »

I'm brand new to Comskip, but have been using SageTv for awhile. I'm using Comskip as a free-standing program, initiated on the command line.

My question is about the commerical list generated in the log file. The 'initial' list is just about right, but for some reason (unknown to me) the 'final' list excludes some of the commercials that were correctly detected.

For example, I've tried these three detection methods, and always get exactly the same result:



Detection Methods to be used:
1) Black Frame
2) Logo - Give up after 1200 seconds
3) Scene Change
4) Aspect Ratio

Detection Methods to be used:
1) Black Frame
2) Logo - Give up after 1200 seconds
3) Scene Change
4) Fuzzy Logic
5) Aspect Ratio

Detection Methods to be used:
1) Black Frame
2) Logo - Give up after 1200 seconds
3) Scene Change
4) Fuzzy Logic
5) Closed Captions
6) Aspect Ratio
7) Silence


---------------------
Initial Commercial List
---------------------
0) 9961 14042 0: 2:16.17
1) 27133 34115 0: 3:52.97
2) 49033 53610 0: 2:32.72
3) 71360 80483 0: 5:4.40
4) 94166 103420 0: 5:8.78
5) 108463 109655 0: 0:39.77


---------------------
Final Commercial List
---------------------
1 - start: 9961 end: 14042 [ 2: 7] length: 0: 2:16.17
2 - start: 27133 end: 34115 [ 9: 19] length: 0: 3:52.97
3 - start: 49033 end: 53610 [ 22: 27] length: 0: 2:32.72
4 - start: 108463 end: 109655 [ 50: 51] length: 0: 0:39.77


The two ~ 5 minute commercials in the second half of the show are being filtered out when the final cut list is generated.

Any thoughts why? What happens to the list between initial and final?

thanks
Matt
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Post by erik »

Most obvious reason is max_commercialbreak set to a too low value
Try
max_commercialbreak=600
or even larger
comskipfan
Posts: 1
Joined: Wed Sep 17, 2008 10:27 pm

Re: Initial vs Final Commerical List?

Post by comskipfan »

I'm running into a similar problem. The initial commercial list is accurate but after weighing no commercials are found. How can I stick with the initial commercial list?

Detection Methods to be used:
1) Black Frame
2) Scene Change
3) Resolution Change
4) Aspect Ratio
5) Silence

Fuzzy scoring of the blocks
---------------------------
Block 0 has excess length.
Block 0 score: Before - 1.00 After - 0.01
Block 2 has strict standard length for a commercial.
Block 2 score: Before - 1.00 After - 3.00
Block 2 AR (2.05) is different from dominant AR(1.51).
Block 2 score: Before - 3.00 After - 6.00
Block 3 has strict standard length for a commercial.
Block 3 score: Before - 1.00 After - 3.00
Block 4 has strict standard length for a commercial.
Block 4 score: Before - 1.00 After - 3.00
Block 4 AR (1.96) is different from dominant AR(1.51).
Block 4 score: Before - 3.00 After - 6.00
Block 5 has strict standard length for a commercial.
Block 5 score: Before - 1.00 After - 3.00
Block 6 has strict standard length for a commercial.
Block 6 score: Before - 1.00 After - 3.00
Block 6 AR (1.96) is different from dominant AR(1.51).
Block 6 score: Before - 3.00 After - 6.00
Block 7 has strict standard length for a commercial.
Block 7 score: Before - 1.00 After - 3.00
Block 7 AR (2.05) is different from dominant AR(1.51).
Block 7 score: Before - 3.00 After - 6.00
Block 8 has strict standard length for a commercial.
Block 8 score: Before - 1.00 After - 3.00
Block 8 AR (1.96) is different from dominant AR(1.51).
Block 8 score: Before - 3.00 After - 6.00
Threshold used - 1.0500 After rounding - 1.0500


---------------------
Initial Commercial List
---------------------
0) 2373 6440 0:02:15.70
No change

Logo fraction: 0.0000 Logo disabled
Maximum volume found: 2627
Average volume: 875
Sound threshold: 500
Silence threshold: 100
Minimum volume found: 10
Average frames with silence: 71
Black threshold: 25
Minimum brightness found: 20
Minimum bright pixels found: 0
Minimum dim level found: -6213
Average brightness: 612
Uniformity level: 1000
Average non uniformity: 270
Maximum gap between logo's: -1
Suggested logo_threshold: 0.0000
Suggested shrink_logo: 0
Max commercial size found: -1
Dominant aspect ratio: 1.5100
Score threshold: 1.0500
Framerate: 29.97
Total commercial length: 0:00:00.00
Block list after weighing
----------------------------------------------------
# sbf bs be fs fe sc len scr cmb ar cut bri logo vol sil corr stdev cc
0:++ 3 0 3 1 2157 0.01 71.939 0.02 0 1.51 E b 310- 0.00 739- 65- 0.000 31
1:++ 5 3 2 2158 2372 1.00 7.140 0.28 0 1.51 b 1758+ 0.00 1259+ 90+ 0.000 175
2:-- 4 3 1 2373 3275 6.00 30.097 0.30 0 2.05 A S b 479- 0.00 1224+ 91+ 0.000 47
3:-- 3 2 1 3276 3727 3.00 15.048 0.82 0 1.51 S v b 973+ 0.00 1142+ 86+ 0.000 97
4:-- 2 1 1 3728 4179 6.00 15.048 0.24 0 1.96 A S b 772+ 0.00 1024+ 710 0.000 77
5:-- 7 2 5 4180 5078 3.00 29.963 0.24 0 1.51 S s b 965+ 0.00 679- 52- 0.000 96
6:-- 6 5 1 5079 5533 6.00 15.148 0.18 0 1.96 A S b 707+ 0.00 1139+ 88+ 0.000 70
7:-- 2 1 1 5534 5985 6.00 15.048 0.55 0 2.05 A S b 1205+ 0.00 950+ 84+ 0.000 120
8:-- 13 1 12 5986 6440 6.00 15.148 0.13 0 1.96 A S v b 727+ 0.00 1199+ 92+ 0.000 72
9:-+ 12 12 0 6441 7317 1.00 29.229 0.12 0 1.51 s 783+ 0.00 752- 63- 0.000 78
10:-+ 1 1 0 7318 9002 1.00 56.189 0.01 0 1.51 b 289- 0.00 691- 61- 0.000 28
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: Initial vs Final Commerical List?

Post by erik »

You are processing a very short recording.
The global heuristics of Comskip only work when processing a recording of 30 minutes or longer
Post Reply