Delete previous show

To discuss the tuning of comskip and for posting your ini files
Post Reply
zukex
Posts: 2
Joined: Mon Mar 26, 2007 7:00 pm

Delete previous show

Post by zukex »

So basically i have a 30min recording and at the beginning there's 2 minutes of some chat show with a logo on top

i have

delete_show_before_first_commercial=1
delete_show_before_or_after_current=1

and detect_method=43,

but i won't delete the 2mins from the first show

################################################################
Generated using Comskip 0.79.99
Time at start of run:
Wed Sep 26 01:35:18 2007
################################################################
Detection Methods to be used:
1) Black Frame
2) Logo - Give up after 2000 seconds
3) Fuzzy Logic
4) Aspect Ratio


ComSkip throttles back from -0001 to -0001.
The time is now 0135 so it's full speed ahead!

Settings
--------
[Main Settings]
;the sum of the values for which kind of frames comskip will consider as possible cutpoints: 1=uniform (black or any other color) frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 255=all.
detect_method=43
;Set to 10 to show a lot of extra info, level 5 is also OK, set to 0 to disable
verbose=10
;Frame not black if any of the pixels of the frame has a brightness greater than this (scale 0 to 255)
max_brightness=60
maxbright=1
;Frame not pure black if a small number of the pixels of the frame has a brightness greater than this. To decide if the frame is truly black, comskip will also check average brightness (scale 0 to 255)
test_brightness=40
;
max_avg_brightness=25
;
max_commercialbreak=400
;
min_commercialbreak=25
;
max_commercial_size=125
;
min_commercial_size=4
;
min_show_segment_length=125
;
max_volume=500
;
non_uniformity=500
[Detailed Settings]
min_silence=20
noise_level=5
brightness_jump=200
fps=25
validate_silence=1
validate_uniform=1
validate_scenechange=1
global_threshold=1.05
disable_heuristics=255
[CPU Load Reduction]
play_nice_start=-1
play_nice_end=-1
play_nice_sleep=10
[Input Correction]
max_repair_size=200
ms_audio_delay=5
volume_slip=10
[Aspect Ratio]
ar_delta=0.05
cut_on_ar_change=0
[Global Removes]
padding=0
remove_before=0
remove_after=0
delete_show_after_last_commercial=1
delete_show_before_first_commercial=1
delete_show_before_or_after_current=1
delete_block_after_commercial=0
min_commercial_break_at_start_or_end=39
[USA Specific]
intelligent_brightness=0
black_percentile=0.0073
uniform_percentile=0.005
score_percentile=0.71
[Main Scoring]
length_strict_modifier=3
length_nonstrict_modifier=1.5
combined_length_strict_modifier=2
combined_length_nonstrict_modifier=1.25
ar_wrong_modifier=2
excessive_length_modifier=0.01
dark_block_modifier=0.3
min_schange_modifier=0.5
max_schange_modifier=2
logo_present_modifier=0.01
punish_no_logo=1
[Detailed Scoring]
punish=0
reward=0
punish_threshold=1.3
punish_modifier=2
reward_modifier=0.5
[Logo Finding]
border=10
give_up_logo_search=2000
logo_max_percentage_of_screen=0.1
ticker_tape=0
ignore_side=0
subtitles=1
logo_at_bottom=0
logo_threshold=0.75
logo_filter=0
aggressive_logo_rejection=0
edge_level_threshold=5
edge_radius=2
edge_weight=10
num_logo_buffers=50
use_existing_logo_file=1
two_pass_logo=1
[Logo Interpretation]
connect_blocks_with_logo=1
logo_percentile=0.92
logo_fraction=0.4
shrink_logo=5
before_logo=0
after_logo=0
where_logo=0
min_black_frames_for_break=1
[Closed Captioning]
ccCheck=0
cc_commercial_type_modifier=4
cc_wrong_type_modifier=2
cc_correct_type_modifier=0.75
[Live TV]
live_tv=1
live_tv_retries=16
standoff=0
require_div5=0
div5_tolerance=-1
[Output Control]
output_default=1
output_zoomplayer_cutlist=1
output_zoomplayer_chapter=1
output_vcf=1
output_vdr=0
output_projectx=1
output_avisynth=1
output_videoredo=0
videoredo_offset=2
output_btv=0
output_edl=1
output_edlp=0
output_bsplayer=0
output_edlx=1
output_cuttermaran=0
output_mpeg2schnitt=0
output_womble=0
output_mls=0
output_mpgtx=0
output_dvrcut=0
output_framearray=1
output_debugwindow=0
output_tuning=0
output_training=0
output_demux=0
output_timing=0
delete_logo_file=0
cutscene_frame=0
cutscene_dumpfile=""
cutscene_threshold=10
cutscenefile1=""
cutscenefile2=""
cutscenefile3=""
cutscenefile4=""
cutscenefile5=""
cutscenefile6=""
cutscenefile7=""
cutscenefile8=""
windowtitle="Comskip - %s"
cuttermaran_options="cut=\"true\" unattended=\"true\" muxResult=\"false\" snapToCutPoints=\"true\" closeApp=\"true\""
mpeg2schnitt_options="mpeg2schnitt.exe /S /E /R25 /Z %2 %1"
avisynth_options="LoadPlugin(\"MPEG2Dec3.dll\") \nMPEG2Source(\"%s\")\n"
dvrcut_options="dvrcut \"%s.dvr-ms\" \"%s_clean.dvr-ms\" "
[Sage Workarounds]
sage_framenumber_bug=0
sage_minute_bug=0
enable_mencoder_pts=0





---------------------
Initial Commercial List
---------------------
0) 3049 4042 0:00:39.71
1) 19698 23691 0:02:39.71
2) 43499 47654 0:02:46.20
No change

Logo fraction: 0.7827
Maximum volume found: 4232
Average volume: 539
Sound threshold: 500
Silence threshold: 100
Minimum volume found: 0
Average frames with silence: 46
Black threshold: 25
Minimum Black level found: 15
Average brightness: 889
Uniformity level: 500
Average non uniformity: 372
Maximum gap between logo's: 176
Suggested logo_threshold: 0.8250
Suggested shrink_logo: 5
Max commercial size found: 50
Dominant aspect ratio: 1.2400
Score threshold: 1.0500
Framerate: 25.00
Total commercial length: 0:03:19.43
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 3048 0.01 121.880 0.09 0 1.24 L b 720- 0.87 394- 25- 0.000 72
1:-- 17 4 13 3049 3190 3.00 5.640 0.25 0 1.24 L N b 2718+ 0.00 869+ 78+ 0.000 271
2:-- 17 13 4 3191 3730 2.00 21.560 0.68 0 1.24 L b 512- 0.00 777+ 70+ 0.000 51
3:-- 12 4 8 3731 3868 3.00 5.480 0.76 0 1.24 L N b 681- 0.00 860+ 47+ 0.000 68
4:-- 24 9 15 3869 4042 2.00 6.920 0.20 0 1.24 L b 2166+ 0.00 805+ 72+ 0.000 216
5:++ 16 15 2 4043 19697 0.00 626.160 0.32 0 1.24 EL b 1124+ 0.97 522- 50+ 0.000 112
6:-- 18 3 15 19698 20015 2.00 12.680 0.32 0 1.24 L b 2367+ 0.00 1314+ 93+ 0.000 236
7:-- 25 16 9 20016 20415 6.00 15.960 0.09 0 1.24 L S b 507- 0.00 597+ 32- 0.000 50
8:-- 23 10 13 20416 21688 3.00 50.880 0.07 0 1.24 L N b 731- 0.00 867+ 59+ 0.000 73
9:-- 25 13 12 21689 22112 2.00 16.920 0.14 0 1.24 L b 825- 0.00 1044+ 67+ 0.000 82
10:-- 25 13 12 22113 23387 3.00 50.960 0.03 0 1.24 L N b 621- 0.00 724+ 54+ 0.000 62
11:-- 29 13 16 23388 23691 2.00 12.120 0.23 0 1.24 L b 2052+ 0.00 1023+ 85+ 0.000 205
12:++ 17 17 2 23692 43498 0.00 792.240 0.19 0 1.24 EL b 724- 0.98 440- 39- 0.000 72
13:-- 16 3 13 43499 43639 3.00 5.600 0.23 0 1.24 L N b 2659+ 0.00 875+ 78+ 0.000 265
14:-- 13 13 0 43640 44300 2.00 26.400 0.52 0 1.24 L b 417- 0.00 800+ 76+ 0.000 41
15:-- 13 1 12 44301 45663 4.50 54.480 0.24 2 1.24 LC b 1547+ 0.00 1057+ 75+ 0.000 154
16:-- 26 13 13 45664 45839 4.50 7.000 0.16 2 1.24 LC b 2215+ 0.00 795+ 73+ 0.000 221
17:-- 14 14 0 45840 47654 2.00 72.560 0.10 0 1.24 L b 160- 0.00 612+ 49+ 0.000 16

47654 Frames Processed
am i doing something wrong or is there some special trick i can use to force it to delete the first show block if no commercial presedes it?
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Post by erik »

The recording of 30 minutes may be too short to cut out 2 minutes at the start
The algorithm used to decide if something is "before the first" commercial has a protection against cutting too much. however that "too much" is specified as a fraction of the total i.s.o. a certain maximum time. I need to change this.

Set verbose=10 and mail me the log
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Post by erik »

And change
disable_heuristics=255
to
disable_heuristics=4
Post Reply