It also works for any broadcast which uses logo's during show and has little or no black frames during commercials.
It requires at least one black frame before and after the commercial break.
Even when many black frames are present during commercials it will work.
It will not work well without logo or with always logo (Discovery channel) and a show that contains black frames (like dark scenes)
Code: Select all
detect_method=43 ;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 255=all
verbose=10 ;show a lot of extra info, level 5 is also OK, set to 0 to disable
max_brightness=60 ;frame not black if any pixels checked are greater than this (scale 0 to 255)
test_brightness=40 ;frame not pure black if any pixels checked are greater than this, will check average brightness (scale 0 to 255)
max_avg_brightness=20 ;maximum average brightness for a dim frame to be considered black (scale 0 to 255) 0 means autosetting
max_commercialbreak=600 ;maximum length in seconds to consider a segment a commercial break
min_commercialbreak=10 ;minimum length in seconds to consider a segment a commercial break
max_commercial_size=220 ;maximum time in seconds for a single commercial or multiple commercials if no breaks in between
min_commercial_size=4 ;mimimum time in seconds for a single commercial
min_show_segment_length=120 ; any segment longer than this will be scored towards show.
excessive_length_modifier=1
non_uniformity=1000
max_volume=500 ; any frame with sound volume larger than this will not be regarded as black frame
intelligent_brightness=0 ;
delete_logo_file=0 ; set to 1 if you want comskip to tidy up after finishing
output_framearray=0 ; create a big excel file for detailed analysis, set to 0 to disable
connect_blocks_with_logo=1 ; set to 1 if you want successive blocks with logo on the transition to be regarded as connected, set to 0 to disable
logo_percentile=0.92 ; if more then this amount of logo is found then logo detection will be disabled
logo_threshold=0.70
aggressive_logo_rejection=0
cut_on_ar_change=0 ; set to 1 if you want to cut also on aspect ratio changes, set to 0 to disable
delete_show_after_last_commercial=1; delete the last block if its a show and after a commercial
delete_show_before_or_after_current=1
shrink_logo=0 ; Reduce the duration of the logo with this amount of seconds
output_videoredo=0
output_womble=0
output_mpgtx=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
padding=0
live_tv=0