hi,
i'm having some difficulties getting comskip tuned correctly and was hoping i could get some help here.
i'm trying to cut out commercials without cutting out the end of the show, including the credits, since many shows now (like survivor or the office) have actual content while the credits are running.
my issue is that i can't seem to do both. i can get the end of show (including credits) to not be cut, but this leaves the majority of the commercials in the show. i've also managed to get all the commercials cut perfectly from the show, but the end of the shows were cut out. not only the credits, but actually the last show segment before the credits.
i've tried just about every suggestion in this forum, but nothing seems to work. at one point i've actually somehow managed to make the resulting "clean" file bigger than the original file, which i found a bit odd.
this is a link to the log files from my latest attempt. this was based upon the latest comskip.ini that ToonGal posted in a different thread:
http://landchark.com/chadd/comskip.zip
let me know if you need any other logs or files apart from what is in that zip.
thanks for the help!
ends of shows being cut
Re: ends of shows being cut
anyone have any ideas on this?
Re: ends of shows being cut
Its too complex to answer without any data
Please follow the " how to ask for help" topic.
viewtopic.php?f=5&t=34
Please follow the " how to ask for help" topic.
viewtopic.php?f=5&t=34
Re: ends of shows being cut
no .data or .csv files are being generated, or at least i don't know where they are being put if they are. or is that an .ini setting that i'm missing?
i have no idea what the start and stop frame numbers of the commercials are... how would i find those?
what else was missing out of that zip file that you still need?
does anyone have an .ini file that successfully cuts all the commercials, but does not cut out the credits?
i have no idea what the start and stop frame numbers of the commercials are... how would i find those?
what else was missing out of that zip file that you still need?
does anyone have an .ini file that successfully cuts all the commercials, but does not cut out the credits?
Re: ends of shows being cut
Set or add
output_framearray=1
in comskip.ini
to generate the .csv file
The .data file is not important.
output_framearray=1
in comskip.ini
to generate the .csv file
The .data file is not important.
Re: ends of shows being cut
I'm having the same problem. The issue is shows on NBC such as Community, 30 Rock, The Office have a small clip of show that airs during the end credits. This is a very small clip that is generally shorter than min_show_segment_length and has no logo but it is bookended by black frames and always at the end such that the next show starts immediately afterwards.
I e-mailed a zip containing the csv, log, txt, ref, and ini files to erik@comskip.org. The ref file contains the frames as I would like them to be detected. It is the 4th commercial break that extends into the credits and I'd like to get that shortened.
I'm not sure what to try since this seems like a special case. Thanks in advance for any help.
- Kareem
I e-mailed a zip containing the csv, log, txt, ref, and ini files to erik@comskip.org. The ref file contains the frames as I would like them to be detected. It is the 4th commercial break that extends into the credits and I'd like to get that shortened.
I'm not sure what to try since this seems like a special case. Thanks in advance for any help.
- Kareem
-
- Posts: 39
- Joined: Tue Jan 31, 2012 12:13 am
Re: ends of shows being cut
Try this, from comskip.txt:
always_keep_last_seconds=0
;Any commercial at the end shorter then this amount of seconds will be regarded as show
Obviously, you want to change the 0 to 120 or something.
always_keep_last_seconds=0
;Any commercial at the end shorter then this amount of seconds will be regarded as show
Obviously, you want to change the 0 to 120 or something.
Re: ends of shows being cut
Here is a sample of what I'm working with:
Block 24 is the final block of actual show. Blocks 25-36 are about 110-120 seconds of commercial. Block 37 is the end credits of the show with a little extra clip that I want to keep. Blocks 38 and 39 are the next show that is on afterwards because I have about 2 minutes of padding at the end of the recordings.
It looks like I'd have to do always_keep_last_seconds=160 or so to keep all blocks 25-37. That is better than nothing but not ideal. I'd like to keep just block 37. The only thing I can think of is that all the blocks 25-37 combined are too long to be a normal commercial break and that it happens at the end so that final block should be included as show not commercial. I don't think there is any tuning exactly for those factors though. I'll keep looking for a better solution though, but your tip is better than nothing. I'd rather watch the final commercials than miss part of the show.
EDIT: actually setting always_keep_last_seconds=160 seems to work ok at least on this recording. It keeps blocks 36 and 37 instead of the entire commercial break. Using always_keep_last_seconds=120 discarded those blocks, so maybe it's counting from the end of the recording, in which case this will work fine. I'll try it out on a bunch of other recordings and see.
Code: Select all
Block list after weighing
----------------------------------------------------
# sbf bs be fs fe sc len scr cmb ar cut bri logo vol sil corr stdev cc
0:-- 59 0 59 1 3603 3.00 60.093 0.03 0 1.78 S b 180- 0.00 372- 30- 0.000 18
1:++ 70 60 10 3604 17674 0.00 234.735 0.06 0 1.78 EL b 386- 0.84 608- 54- 0.000 38
2:++ 55 10 45 17675 23281 0.01 93.527 0.06 0 1.78 L b 344- 0.84 642+ 60+ 0.000 34
3:-- 47 45 2 23282 25125 3.00 30.747 0.04 0 1.78 S b 328- 0.00 693+ 65+ 0.000 32
4:-- 2 2 0 25126 27377 3.00 37.554 0.14 3 1.78 C a 633+ 0.00 756+ 62+ 0.000 63
5:-- 3 1 2 27378 27821 6.00 7.391 0.00 3 1.07 A C a b 94- 0.00 917+ 80+ 0.000 9
6:-- 4 2 2 27822 28722 4.00 15.015 0.12 1 1.78 C S b 683+ 0.00 549- 47- 0.000 68
7:-- 4 2 2 28723 30522 3.00 30.013 0.28 0 1.78 S b 1150+ 0.00 653+ 71+ 0.000 115
8:++ 49 2 47 30523 32368 0.03 30.781 0.16 0 1.78 L S b 1016+ 0.48 729+ 80+ 0.000 101
9:++ 101 48 53 32369 57633 0.00 421.488 0.05 0 1.78 EL b 297- 0.93 632+ 59+ 0.000 29
10:-- 55 53 2 57634 57772 2.69 2.302 0.55 6 1.78 C b 4014+ 0.00 551- 47- 0.000 401
11:-- 5 3 2 57773 58058 4.04 4.755 0.33 6 1.78 CN b 1339+ 0.00 918+ 89+ 0.000 133
12:-- 7 3 4 58059 58430 2.69 6.190 0.62 6 1.78 C b 2129+ 0.00 958+ 97+ 0.000 212
13:-- 9 4 5 58431 58601 6.06 2.836 0.63 8 1.78 C b 2345+ 0.00 1012+ 95+ 0.000 234
14:-- 7 5 2 58602 59051 8.72 7.491 0.37 8 1.78 C b 2235+ 0.00 791+ 80+ 0.000 223
15:-- 5 3 2 59052 61282 3.88 37.204 0.13 6 1.78 C b 724+ 0.00 888+ 84+ 0.000 72
16:-- 7 2 5 61283 62993 2.85 28.529 0.11 4 1.78 C b 626+ 0.00 741+ 89+ 0.000 62
17:-- 8 5 3 62994 64879 2.85 31.448 0.17 4 1.78 C b 776+ 0.00 659+ 55- 0.000 77
18:-- 27 4 23 64880 65200 1.97 5.339 0.29 1 1.78 CN ub 647+ 0.00 787+ 83+ 0.000 64
19:-- 26 23 3 65201 67025 3.94 30.430 0.11 1 1.78 C S b 628+ 0.00 716+ 71+ 0.000 62
20:-- 10 3 7 67026 68833 3.00 30.147 0.22 0 1.78 S b 846+ 0.00 782+ 81+ 0.000 84
21:-- 11 7 4 68834 70639 3.94 30.113 0.11 1 1.78 C S b 473+ 0.00 872+ 88+ 0.000 47
22:-- 9 4 5 70640 70938 2.95 4.972 0.28 2 1.78 CN b 1207+ 0.00 318- 21- 0.000 120
23:-- 53 5 48 70939 71883 4.50 15.749 0.19 1 1.78 C S b 1126+ 0.12 685+ 70+ 0.000 112
24:++ 113 48 65 71884 101871 0.00 500.283 0.04 0 1.78 EL b 250- 0.95 531- 47- 0.000 25
25:-- 70 66 4 101872 102033 4.00 2.686 0.27 4 1.78 C b 876+ 0.00 488- 45- 0.000 87
26:-- 4 4 0 102034 102833 9.00 13.330 0.14 8 1.78 C u 407- 0.00 778+ 83+ 0.000 40
27:-- 3 1 2 102834 103094 6.72 4.338 0.22 9 1.78 C ub 720+ 0.00 849+ 86+ 0.000 72
28:-- 7 3 4 103095 103861 3.78 12.779 0.38 7 1.78 C b 1449+ 0.00 879+ 85+ 0.000 144
29:-- 4 4 0 103862 104208 4.78 5.772 0.17 7 1.78 C a 829+ 0.00 766+ 61+ 0.000 82
30:-- 1 1 0 104209 104445 9.57 3.937 0.03 7 1.07 A C a 143- 0.00 657+ 70+ 0.000 14
31:-- 3 1 2 104446 106429 1.68 33.083 0.17 3 1.78 C b 808+ 0.00 532- 47- 0.000 80
32:-- 4 2 2 106430 108229 4.38 30.013 0.14 2 1.78 C S b 758+ 0.00 763+ 76+ 0.000 75
33:-- 4 2 2 108230 108475 2.22 4.087 0.85 3 1.78 C b 5382+ 0.00 999+ 94+ 0.000 538
34:-- 2 2 0 108476 108596 2.22 2.002 0.18 3 1.78 C u 776+ 0.00 754+ 75+ 0.000 77
35:-- 33 1 32 108597 109160 5.00 9.393 0.57 5 1.78 C b 4349+ 0.00 894+ 93+ 0.000 434
36:-- 32 32 3 109161 109549 4.50 6.440 0.39 2 1.07 A C a 1213+ 0.00 750+ 73+ 0.000 121
37:-- 57 4 53 109550 111715 1.50 36.119 0.17 0 1.78 N b 600+ 0.00 673+ 68+ 0.000 60
38:-+ 60 53 7 111716 117579 0.01 97.814 0.10 0 1.78 L b 420- 0.64 428- 36- 0.000 42
39:-+ 8 8 0 117580 118631 0.01 17.534 0.08 0 1.78 L a b 431- 0.26 240- 19- 0.000 43
Block 24 is the final block of actual show. Blocks 25-36 are about 110-120 seconds of commercial. Block 37 is the end credits of the show with a little extra clip that I want to keep. Blocks 38 and 39 are the next show that is on afterwards because I have about 2 minutes of padding at the end of the recordings.
It looks like I'd have to do always_keep_last_seconds=160 or so to keep all blocks 25-37. That is better than nothing but not ideal. I'd like to keep just block 37. The only thing I can think of is that all the blocks 25-37 combined are too long to be a normal commercial break and that it happens at the end so that final block should be included as show not commercial. I don't think there is any tuning exactly for those factors though. I'll keep looking for a better solution though, but your tip is better than nothing. I'd rather watch the final commercials than miss part of the show.
EDIT: actually setting always_keep_last_seconds=160 seems to work ok at least on this recording. It keeps blocks 36 and 37 instead of the entire commercial break. Using always_keep_last_seconds=120 discarded those blocks, so maybe it's counting from the end of the recording, in which case this will work fine. I'll try it out on a bunch of other recordings and see.
Re: ends of shows being cut
It counts from the end of the recording