It also works for RAI 1, RAI 2 and RAI3 (didn't test others) but some tuning could be done because sometimes there are small TG1 / TG2 news and they aren't detected as ads (probably because of their duration)
The turning point for this working was to totally disable the logo detection as a method, because the logo is always present.
here's the ini:
Code: Select all
verbose=10 detect_method=253 delete_logo_file=1 use_existing_logo_file=1 output_framearray=1 output_debugwindow=1 ; Only for tuning, to be replaced later non_uniformity=100 ; Only for tuning, to be replaced later max_avg_brightness=20 test_brightness=40 intelligent_brightness=0 logo_present_modifier=0 punish_no_logo=0 min_black_frames_for_break=3 max_volume=100 maxbright=30 max_brightness=30 min_commercial_size=4 min_commercialbreak=15 max_commercialbreak=600 max_commercial_size=125 validate_silence=1 validate_uniform=1 validate_scenechange=1 ms_audio_delay=5 volume_slip=40 skip_b_frames=0 max_repair_size=200 disable_heuristics=4 output_edl=1 max_volume=100 min_silence=12 punish=0 ; Compare to average for sum of 1=brightness, 2=uniform 4=volume, 8=silence, 16=schange, set to 0 to disable punish_threshold=1.3 ; Multiply when amount is above average * punish_threshold punish_modifier=2 ; When above average * threshold multiply score by this value intelligent_brightness=0 ; Set to 1 to use a USA specific algorithm to tune some of the settings, not adviced outside the USA logo_percentile=0.92 ; if more then this amount of logo is found then logo detection will be disabled logo_threshold=0.75 connect_blocks_with_logo=1 logo_filter=4 cut_on_ar_change=0 ; set to 1 if you want to cut also on aspect ratio changes when logo is present, set to 2 to force cuts on aspect ratio changes. set to 0 to disable