Multiple Comskip.ini files with DTB???

Post Reply
User avatar
woodchuck

Posts: 338
Joined: Tue Jun 14, 2011 9:43 pm
Location:

HTPC Specs: Show details

Multiple Comskip.ini files with DTB???

#1

Post by woodchuck » Sat Aug 18, 2012 5:44 pm

Anyone using multiple comskip.ini's with DVRMS Toolbox? I am having a heck of a time getting CBS shows to process with my generic ini and have a separete one that works great for the CBS channels. I know I can use the ProcessConditionEditor to detect the CBS shows, but I've never tried to create a custom profile inside DVRMS. Any advice before I start hacking away at things?

Edit:
Found this over at DTB. I'm going to tinker around and if I succeed, I will post back more details.
http://babgvant.com/forums/t/1232.aspx

User avatar
woodchuck

Posts: 338
Joined: Tue Jun 14, 2011 9:43 pm
Location:

HTPC Specs: Show details

#2

Post by woodchuck » Mon Aug 20, 2012 2:01 am

Got it working! If anyone else plans to give this a try, here are the steps to follow:

1) Start DVRMStompegsettings.exe and create a new profile from "Find Commercials in DVRMS file". Name your new profile.
2) In your new profile, remove "Find Commercials in File", but take note of the position it appears in the list.
3) Add a new action by clicking ADD to the right. Pick the plugin named "Durrant.Plugins.ComskipAdvanced"
4) In the context field, enter "ContextFile" and under "Arg Pattern" put "--ini=yourcomskipfile.ini" This ini should exist in the same directory as your comskip.exe and therefore must have a name different than your default name of comskip.ini.
5) I have "Continueoffail" unchecked. Not really sure what that does. Now save your new profile and reposition it to the same location "Find Commercials in File" was in from step 2. Now close out of the DVRMStompegsettings.exe program.
6) You are half way there! Now you just need to go setup your processing conditions to trigger this new processing profile.
7) Run processingconditioneditor.exe. Create a new condition and name it.
8) Pick the profile you created in step 1-5 above out of the picklist.
9) Specify your arguments for your criteria. In my case I set "WM/MediaNetworkAffiliation" to "contain" "CBS". Be sure to test whatever conditions you have set before saving them. It is easy to assume they will work, only to find out later that something was wrong.
9) Save your criteria and be sure to prioritize it properly. It should come before "Every File" but after "Processed files". (By the way, now is a good time to set a condition for skipping copy protected shows as well. Create another criteria with "Create blank commercials file" as the profile and use this argument for your criteria "WM/WMRVContentProtectedPercent is greater than 0" this criteria should be one of the first in your list)
10) Save everything, restart your DTB service and cross your fingers!!! You may want to set verbose=10 in your custom comskip.ini file so you can verify the new profile/conditions are working right!!!

thorhtpc

Posts: 39
Joined: Fri Jan 20, 2012 7:47 pm
Location:

HTPC Specs: Show details

#3

Post by thorhtpc » Fri Sep 28, 2012 9:46 pm

Hi woodchuck,

Can you share your ini file for CBS. I am having problems when they use the logo in there promo commercials.

Thanks

User avatar
woodchuck

Posts: 338
Joined: Tue Jun 14, 2011 9:43 pm
Location:

HTPC Specs: Show details

#4

Post by woodchuck » Sun Sep 30, 2012 3:47 pm

Here you go... I never was able to tune as much as I wanted because of a bug that affected the comskip gui tuner and my recording setup. The tuning GUI would crap out and I had no way to optimize.

Code: Select all

; See comskip.txt in the distribution zip file for many settable parameters, read manual.html, tuning.html and debugwindow.html for how to tune and debug comskip
play_nice_sleep=10
play_nice_start=-1			;set to 500 for 5am
play_nice_end=-1			;set to 2300 for 11pm
detect_method=109			;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all
validate_silence=1			; Default, set to 0 to force using this clues if selected above.
validate_uniform=1			; Default, set to 0 to force using this clues (like pure white frames) if blackframe is selected above.
validate_scenechange=1		; Default, set to 0 to force using this clues if selected above.
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=25			;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=25			;minimum length in seconds to consider a segment a commercial break
max_commercial_size=185			;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=125 	; any segment longer than this will be scored towards show.
non_uniformity=500			; Set to 0 to disable cutpoints based on uniform frames
max_volume=70				; any frame with sound volume larger than this will not be regarded as black frame
min_silence=12				; Any deep silence longer than this amount  of frames is a possible cutpoint
ticker_tape=0				; Amount of pixels from bottom to ignore in all processing 
logo_at_bottom=1			; Set to 1 to search only for logo at the lower half of the video, do not combine with subtitle setting
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=1 		; 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
punish_no_logo=1			; Default, set to 0 to avoid show segments without logo to be scored towards commercial
aggressive_logo_rejection=0
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_filter=0              ; set the size of the filter to apply to bad logo detection, 4 seems to be a good value.
cut_on_ar_change=1			; 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
delete_show_after_last_commercial=0	; set to 1 if you want to delete the last block if its a show and after a commercial
delete_show_before_or_after_current=0	; set to 1 if you want to delete the previous and the next show in the recording, this can lead to the deletion of trailers of next show
delete_block_after_commercial=0	;set to max size of block in seconds to be discarded, set to 0 to disable 
remove_before=0				; amount of seconds of show to be removed before ALL commercials
remove_after=0				; amount of seconds of show to be removed after ALL commercials
shrink_logo=5				; Reduce the duration of the logo with this amount of seconds
after_logo=0		; set to number of seconds after logo disappears comskip should start to search for silence to insert an additional cutpoint
padding=0
ms_audio_delay=5
volume_slip=20
skip_b_frames=1				; Set to 1 to force Comskip to skip frames for higher processing speed.
max_repair_size=200			; Will repair maximum 200 missing MPEG frames in the timeline, set to 0 to disable repairing for players that don't use PTS. 
disable_heuristics=4		;bit pattern for disabling heuristics, adding 1 disables heristics 1, adding 2 disables heristics 2, adding 4 disables heristics 3, 255  disables all heuristics 
delete_logo_file=1			; 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
output_data=0				; create a dump of the user data channel, used for CC and XDS (such as V-Chip info). Can be use together with output_framearray to remote debug CC decoding
output_videoredo=0
output_womble=0
output_mls=0			; set to 1 if you want MPeg Video Wizard bookmark file output
output_cuttermaran=0
output_mpeg2schnitt=0
output_mpgtx=0
output_dvrcut=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=1
output_dvrmstb=1			; Set to 1 if you're running DVRMS-Toolbox
output_edlx=0
output_vcf=0
output_bsplayer=0
output_btv=0				; set to 1 if you want Beyond TV chapter cutlist output
output_projectx=0			; set to 1 if you want ProjectX cutlist output (Xcl)
output_avisynth=0
output_vdr=0				; set to 1 if you want XBMC to skipping commercials
output_demux=0				; set to 1 if you want comskip to demux the mpeg file while scanning
sage_framenumber_bug=0
sage_minute_bug=0
live_tv=1					; set to 1 if you use parallelprocessing and need the output while recording
live_tv_retries=4			; change to 16 when using live_tv in BTV, used for mpeg PS and TS
thread_count=1
two_pass_logo=0
lowres=1
dvrms_live_tv_retries=300			; only used for dvr_ms
standoff=0					; change to 8000000 when using live_tv in BTV
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\" "
windowtitle="Comskip - %s"

thorhtpc

Posts: 39
Joined: Fri Jan 20, 2012 7:47 pm
Location:

HTPC Specs: Show details

#5

Post by thorhtpc » Mon Oct 01, 2012 10:22 pm

Thanks. I will give this a try.

AnthonyB

Posts: 40
Joined: Thu Oct 11, 2012 10:32 pm
Location:

HTPC Specs: Show details

#6

Post by AnthonyB » Wed May 15, 2013 3:55 pm

Any updates to this profile? it doesn't work so great.

Wilky13

Posts: 50
Joined: Mon Sep 17, 2012 3:40 am
Location:

HTPC Specs: Show details

#7

Post by Wilky13 » Wed Jun 05, 2013 5:43 am

Try this for CBS:

Code: Select all

detect_method=43			; 1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all		CHANGED FROM 75 (47/107/111)
validate_silence=1			; Default, set to 0 to force using this clues if selected above.
validate_uniform=1			; Default, set to 0 to force using this clues (like pure white frames) if blackframe is selected above.
validate_scenechange=1			; Default, set to 0 to force using this clues if selected above.
verbose=0				; 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=25			; 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=25			; minimum length in seconds to consider a segment a commercial break
max_commercial_size=125			; 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=126 		; any segment longer than this will be scored towards show.											CHANGED FROM 250
non_uniformity=500			; Set to 0 to disable cutpoints based on uniform frames
max_volume=500				; any frame with sound volume larger than this will not be regarded as black frame
min_silence=12				; Any deep silence longer than this amount  of frames is a possible cutpoint
ticker_tape=0				; Amount of pixels from bottom to ignore in all processing 
logo_at_bottom=0			; Set to 1 to search only for logo at the lower half of the video, do not combine with subtitle setting
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=1 		; Set to 1 to use a USA specific algorithm to tune some of the settings, not adviced outside the USA						CHANGED FROM 0*
delay_logo_search=1			; NEW
logo_percentile=0.92			; if more then this amount of logo is found then logo detection will be disabled
logo_threshold=0.75
punish_no_logo=0			; Default, set to 0 to avoid show segments without logo to be scored towards commercial								CHANGED FROM 0* <
aggressive_logo_rejection=0
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_filter=4              		; set the size of the filter to apply to bad logo detection, 4 seems to be a good value.							CHANGED FROM 0+
cut_on_ar_change=2			; 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	FROM 1+
delete_show_after_last_commercial=0	; set to 1 if you want to delete the last block if its a show and after a commercial
delete_show_before_or_after_current=0	; set to 1 if you want to delete the previous and the next show in the recording, this can lead to the deletion of trailers of next show
delete_block_after_commercial=0		; set to max size of block in seconds to be discarded, set to 0 to disable 
min_commercial_break_at_start_or_end=39	; NEW
remove_before=0				; amount of seconds of show to be removed before ALL commercials
remove_after=0				; amount of seconds of show to be removed after ALL commercials										try -2
shrink_logo=2				; 5 Reduce the duration of the logo with this amount of seconds
after_logo=0				; set to number of seconds after logo disappears comskip should start to search for silence to insert an additional cutpoint
before_logo=2
padding=0.25				;	CHANGED FROM .5	
;always_keep_first_seconds=20		; NEW
always_keep_last_seconds=50		; NEW																
ms_audio_delay=5
volume_slip=40
skip_b_frames=0				; Set to 1 to force Comskip to skip frames for higher processing speed.
max_repair_size=200			; Will repair maximum 200 missing MPEG frames in the timeline, set to 0 to disable repairing for players that don't use PTS. 
disable_heuristics=4			; bit pattern for disabling heuristics, adding 1 disables heristics 1, adding 2 disables heristics 2, adding 4 disables heristics 3, 255  disables all heuristics 
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
output_data=0				; create a dump of the user data channel, used for CC and XDS (such as V-Chip info). Can be use together with output_framearray to remote debug CC decoding
output_videoredo=0
output_womble=0
output_mls=0				; set to 1 if you want MPeg Video Wizard bookmark file output
output_cuttermaran=0
output_mpeg2schnitt=0
output_mpgtx=0
output_dvrcut=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=1
edl_offset=0				;																		NEW COMMAND
output_dvrmstb=0			; Set to 1 if you're running DVRMS-Toolbox
output_edlx=0				;																		CHANGED FROM 0
output_vcf=0
output_bsplayer=0
output_btv=0				; set to 1 if you want Beyond TV chapter cutlist output
output_projectx=0			; set to 1 if you want ProjectX cutlist output (Xcl)
output_avisynth=0
this is a good one for ABC:

Code: Select all

detect_method=43			; 1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all		CHANGED FROM 75 (47/107/111)
validate_silence=1			; Default, set to 0 to force using this clues if selected above.
validate_uniform=1			; Default, set to 0 to force using this clues (like pure white frames) if blackframe is selected above.
validate_scenechange=1			; Default, set to 0 to force using this clues if selected above.
verbose=0				; 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=25			; 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=25			; minimum length in seconds to consider a segment a commercial break
max_commercial_size=125			; 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=126 		; any segment longer than this will be scored towards show.											CHANGED FROM 250
non_uniformity=500			; Set to 0 to disable cutpoints based on uniform frames
max_volume=500				; any frame with sound volume larger than this will not be regarded as black frame
min_silence=12				; Any deep silence longer than this amount  of frames is a possible cutpoint
ticker_tape=0				; Amount of pixels from bottom to ignore in all processing 
logo_at_bottom=0			; Set to 1 to search only for logo at the lower half of the video, do not combine with subtitle setting
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=1 		; Set to 1 to use a USA specific algorithm to tune some of the settings, not adviced outside the USA						CHANGED FROM 0*
delay_logo_search=9			; NEW
logo_percentile=0.92			; if more then this amount of logo is found then logo detection will be disabled
logo_threshold=0.75
punish_no_logo=0			; Default, set to 0 to avoid show segments without logo to be scored towards commercial								CHANGED FROM 0* <
aggressive_logo_rejection=0
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_filter=4              		; set the size of the filter to apply to bad logo detection, 4 seems to be a good value.							CHANGED FROM 0+
cut_on_ar_change=2			; 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	FROM 1+
delete_show_after_last_commercial=0	; set to 1 if you want to delete the last block if its a show and after a commercial
delete_show_before_or_after_current=0	; set to 1 if you want to delete the previous and the next show in the recording, this can lead to the deletion of trailers of next show
delete_block_after_commercial=0		; set to max size of block in seconds to be discarded, set to 0 to disable 
remove_before=0				; amount of seconds of show to be removed before ALL commercials
remove_after=0				; amount of seconds of show to be removed after ALL commercials										try -2
shrink_logo=0				; 2 Reduce the duration of the logo with this amount of seconds
before_logo=30				; 0
after_logo=1				; 0 set to number of seconds after logo disappears comskip should start to search for silence to insert an additional cutpoint
padding=0.5				;																		CHANGED FROM .5
ms_audio_delay=5
volume_slip=40
;min_commercial_break_at_start_or_end=39	; NEW
always_keep_first_seconds=200		; NEW
always_keep_last_seconds=60		; NEW
skip_b_frames=0				; Set to 1 to force Comskip to skip frames for higher processing speed.
max_repair_size=200			; Will repair maximum 200 missing MPEG frames in the timeline, set to 0 to disable repairing for players that don't use PTS. 
disable_heuristics=4			; bit pattern for disabling heuristics, adding 1 disables heristics 1, adding 2 disables heristics 2, adding 4 disables heristics 3, 255  disables all heuristics 
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
output_data=0				; create a dump of the user data channel, used for CC and XDS (such as V-Chip info). Can be use together with output_framearray to remote debug CC decoding
output_videoredo=0
output_womble=0
output_mls=0				; set to 1 if you want MPeg Video Wizard bookmark file output
output_cuttermaran=0
output_mpeg2schnitt=0
output_mpgtx=0
output_dvrcut=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=1
edl_offset=-60				;																		NEW COMMAND
output_dvrmstb=0			; Set to 1 if you're running DVRMS-Toolbox
output_edlx=0				;																		CHANGED FROM 0
output_vcf=0
output_bsplayer=0
output_btv=0				; set to 1 if you want Beyond TV chapter cutlist output
output_projectx=0			; set to 1 if you want ProjectX cutlist output (Xcl)
output_avisynth=0
output_vdr=0				; set to 1 if you want XBMC to skipping commercials
output_demux=0				; set to 1 if you want comskip to demux the mpeg file while scanning
sage_framenumber_bug=0
sage_minute_bug=0
live_tv=0				; set to 1 if you use parallelprocessing and need the output while recording
live_tv_retries=4			; change to 16 when using live_tv in BTV, used for mpeg PS and TS
dvrms_live_tv_retries=300		; only used for dvr_ms
standoff=0				; change to 8000000 when using live_tv in BTV
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\" "
windowtitle="Comskip - %s"

User avatar
woodchuck

Posts: 338
Joined: Tue Jun 14, 2011 9:43 pm
Location:

HTPC Specs: Show details

#8

Post by woodchuck » Sun Aug 18, 2013 12:30 am

Here is another for CBS that I am having good luck with:

Code: Select all

; See comskip.txt in the distribution zip file for many settable parameters, read manual.html, tuning.html and debugwindow.html for how to tune and debug comskip
detect_method=47			;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all
logo_present_modifier=0.5		;G-   Per Erik's recommendations for CBS!
excessive_length_modifier=0.01		;G-   Required with above setting.   Disable both at the same time
;output_framearray=1
;output_data=1
thread_count=2				;G-  Disable for fewer cores
;score_percentile=0.71			;G-  Never use.   Per forum
;black_percentile=0.0073		;G-  Ditto above
validate_silence=1			; Default, set to 0 to force using this clues if selected above.
validate_uniform=1			; Default, set to 0 to force using this clues (like pure white frames) if blackframe is selected above.
validate_scenechange=1		; Default, set to 0 to force using this clues if selected above.
verbose=0				;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=25			;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=25			;minimum length in seconds to consider a segment a commercial break
max_commercial_size=125			;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=291 		;G-  Forum.  any segment longer than this will be scored towards show.
non_uniformity=250			;G-  Forum.  Set to 0 to disable cutpoints based on uniform frames
max_volume=0				; any frame with sound volume larger than this will not be regarded as black frame
min_silence=12				; Any deep silence longer than this amount  of frames is a possible cutpoint
ticker_tape=0				;G-was 500.   USA specific Amount of pixels from bottom to ignore in all processing
logo_at_bottom=0			; Set to 1 to search only for logo at the lower half of the video, do not combine with subtitle setting
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=1 		;G-  set per: 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
punish_no_logo=1			; Default, set to 0 to avoid show segments without logo to be scored towards commercial
aggressive_logo_rejection=0
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_filter=0               ; set the size of the filter to apply to bad logo detection, 4 seems to be a good value.
cut_on_ar_change=1			; 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
delete_show_after_last_commercial=0	; set to 1 if you want to delete the last block if its a show and after a commercial
delete_show_before_or_after_current=0	; set to 1 if you want to delete the previous and the next show in the recording, this can lead to the deletion of trailers of next show
delete_block_after_commercial=0	;set to max size of block in seconds to be discarded, set to 0 to disable 
remove_before=0				; amount of seconds of show to be removed before ALL commercials
remove_after=0				; amount of seconds of show to be removed after ALL commercials
shrink_logo=5				; Reduce the duration of the logo with this amount of seconds
after_logo=0		; set to number of seconds after logo disappears comskip should start to search for silence to insert an additional cutpoint
padding=0
ms_audio_delay=5
volume_slip=40
skip_b_frames=0				; Set to 1 to force Comskip to skip frames for higher processing speed.
max_repair_size=200			; Will repair maximum 200 missing MPEG frames in the timeline, set to 0 to disable repairing for players that don't use PTS. 
disable_heuristics=4		bit pattern for disabling heuristics, adding 1 disables heristics 1, adding 2 disables heristics 2, adding 4 disables heristics 3, 255  disables all heuristics 
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
output_data=0				; create a dump of the user data channel, used for CC and XDS (such as V-Chip info). Can be use together with output_framearray to remote debug CC decoding
output_videoredo=0
output_womble=0
output_mls=0			; set to 1 if you want MPeg Video Wizard bookmark file output
output_cuttermaran=0
output_mpeg2schnitt=0
output_mpgtx=0
output_dvrcut=0
output_zoomplayer_chapter=0
output_zoomplayer_cutlist=0
output_edl=1
output_dvrmstb=0			; Set to 1 if you're running DVRMS-Toolbox
output_edlx=0
output_vcf=0
output_bsplayer=0
output_btv=0				; set to 1 if you want Beyond TV chapter cutlist output
output_projectx=0			; set to 1 if you want ProjectX cutlist output (Xcl)
output_avisynth=0
output_vdr=0				; set to 1 if you want XBMC to skipping commercials
output_demux=0				; set to 1 if you want comskip to demux the mpeg file while scanning
sage_framenumber_bug=0
sage_minute_bug=0
live_tv=0					; set to 1 if you use parallelprocessing and need the output while recording
live_tv_retries=4			; change to 16 when using live_tv in BTV, used for mpeg PS and TS
dvrms_live_tv_retries=300			; only used for dvr_ms
standoff=0					; change to 8000000 when using live_tv in BTV
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\" "
windowtitle="Comskip - %s"
Credit for this goes to these guys: http://forums.sagetv.com/forums/showthread.php?t=47731

EDIT:
Added some additional tweaks from Erik. Oh and STC's feedback below! :)
Last edited by woodchuck on Mon Aug 19, 2013 3:02 pm, edited 1 time in total.

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#9

Post by STC » Sun Aug 18, 2013 12:54 am

^ Probably don't want verbose=10 ;)

Any thoughts flying around for a good Discovery ini?
I've tweaked specifically but the odd commercial break manages to get through, due to their weird fade outs and logo displays.
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

User avatar
famewolf

Posts: 7
Joined: Mon Sep 30, 2013 1:20 pm
Location:

HTPC Specs: Show details

#10

Post by famewolf » Tue Oct 01, 2013 7:40 am

I'd be interested in seeing the comskip ini's you folks are coming up with....mcebuddy allows per task comskip's as well....and I've realized I need some...wilky13 was nice enough to provide a tweaked default and one for abc but I'm finding channels are still giving me issues....cbs with it's "ads" for other shows on it's networks that show up with the logo on them....then you have channels like "bounce" tv and "this" tv that show older programs....they either show their logo all the time or don't have aspect ratio changes because they are showing old programming.....my scripts are not doing well for OTA (over the air) digital tv.....cbs, abc, nbc, fox, bounce tv, thistv and cw....those are the ones I mainly deal with...for bounce and thistv I'm usually recording an old movie that may be 10 years old. It would be nice if someone would provide general "rules of thumb" of how to improve xxx scenario....I'm not on hi speed internet so uploading shows to have help tweaking them isn't really an option for me.

Thanks for the suggestions previously made...I'm working to incorporate your suggestions into my cbs comskip and then depending on how it does may have to try soem of them on other channels.

adam1991

Posts: 2893
Joined: Sat Jun 11, 2011 2:31 pm
Location:

HTPC Specs: Show details

#11

Post by adam1991 » Tue Oct 01, 2013 10:00 am

tl...dr....no paragraphs....all ellipses....

User avatar
famewolf

Posts: 7
Joined: Mon Sep 30, 2013 1:20 pm
Location:

HTPC Specs: Show details

#12

Post by famewolf » Tue Oct 01, 2013 10:04 am

adam1991 wrote:tl...dr....no paragraphs....all ellipses....

...and what's that when you translate it to english?

linguica101

Posts: 4
Joined: Mon Oct 28, 2013 10:37 pm
Location:

HTPC Specs: Show details

#13

Post by linguica101 » Sat Oct 17, 2015 10:04 am

I know this is an old thread, but I'm having some difficulties getting dvrms to run using my custom comskip ini. Below is the error string I get from the log when trying to process the file.

Scan with Comskip
Getting MetaData
System.IO.FileNotFoundException: File not found
at Durrant.Common.lows.GetMetaTags(String DvrmsPath, Boolean showError, MediaInfoDetail miType)
Comskip scan failed: Value cannot be null.
Parameter name: path2
Action did not complete successfully
Total Duration = 00:00:01.8121036

Not sure what to do.

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#14

Post by STC » Sat Oct 17, 2015 4:34 pm

Have you setup everything exactly as in post #2?

What OS?
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

Post Reply