I just started with Comskip. Thanks for your great effort on this!
While playing around with recordings on RTL HD I noticed that the detection is not working as expected. What happens is:
The show runs. When the commercial starts the logo disappears but there seems to be no black frame. After 20-30 seconds there seems to be the first black frame and a block of commercials is detected. So I tried to tweak this with
after_logo=2
in order to force a black frame whenever the logo disappears. I can see
Code: Select all
Start logo cblock 15 frame 28200
0:21:31 - 33556 frames in 100.66 sec(333.36 fps), 1.00 sec(398.00 fps), 43%
End logo block 15 frame 32475 Length - 0:02:46.00
0:21:51 - 34065 frames in 101.66 sec(335.09 fps), 1.00 sec(509.00 fps), 43%
Nonlogo Length - 0:00:22.00
Start logo cblock 16 frame 33025
End logo block 16 frame 33175 Length - 0:00:01.00
Frame 34160 (1366.320s) - Black frame with brightness of 16,uniform of 0 and volume of 3569
Frame 34161 (1366.360s) - Black frame with brightness of 16,uniform of 0 and volume of -1
Code: Select all
Logo start - 27450 end - 27525 length - 0:00:03.00 before:865.3 s after:232.1 s
Logo start - 28325 end - 32475 length - 0:02:46.00 before:900.3 s after:34.1 s
Logo start - 33150 end - 33175 length - 0:00:01.00 before:1093.3 s after:6.1 s
Logo start - 42025 end - 42475 length - 0:00:18.00 before:5.8 s after:255.8 s
Logo start - 42775 end - 43150 length - 0:00:15.00 before:35.8 s after:228.8 s
Code: Select all
Black Frame List
---------------------------
Black Frame Count = 147
nr frame pts bright uniform volume cause dimcount bright type
0 5817 232.640 16 0 400 b 0 0 P
-----------------------------
1 33328 1333.080 107 29237 10 l 18346 178 P
-----------------------------
2 34160 1366.360 16 0 2 b 0 0 I
3 34161 1366.400 16 0 2 b 0 0 B
4 34162 1366.440 16 0 2 b 0 0 B
5 34163 1366.480 16 0 2 b 0 0 P
-----------------------------
6 34664 1386.520 16 0 0 b 0 0 I
Code: Select all
Frame 33328 (1333.080s) - Cutpoint added 6 seconds after Logo disappears at change percentage of 94
Later:
Code: Select all
Fuzzy scoring of the blocks
---------------------------
Block 0 has logo.
Block 0 score: Before - 1.00 After - 0.01
Block 0 has twice excess length.
Block 0 score: Before - 0.01 After - 0.00
Code: Select all
----------------------------------------------------
Block list after weighing
----------------------------------------------------
# sbf bs be fs fe ts te len sc scr cmb ar cut bri logo vol sil corr stdev cc
0:++ 0 0 0 1 33327 0.00s 1333.04s 1333.04s 0.00 0.07 0 1.78 EL l 556- 0.75 1583- 74- 0.000 55
1:-- 3 1 2 33328 34161 1333.08s 1366.40s 33.32s 2.00 0.08 0 1.78 L b 828- 0.00 1877+ 88+ 0.000 82
Regards,
JP