The Simpsons gets cut off about a minute in

To discuss the tuning of comskip and for posting your ini files
Post Reply
Sufreak
Posts: 19
Joined: Tue Sep 13, 2016 2:17 am

The Simpsons gets cut off about a minute in

Post by Sufreak » Tue Nov 15, 2016 2:04 pm

Using the most recent comskip suggested, it seems like it cuts off part of The Simpsons a couple minutes in

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=107 ; 1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=clos     ed captions, 32=aspect ration, 64=silence, 128=cutscenes, 255=all
validate_silence=1 ; Default, set to 0 to force using this clues if selected abov     e.
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 consider     ed black (scale 0 to 255) 0 means autosetting
max_commercialbreak=600 ; Maximum length in seconds to consider a segment a comme     rcial break
min_commercialbreak=4 ; Minimum length in seconds to consider a segment a commerc     ial break
max_commercial_size=140 ; Maximum time in seconds for a single commercial or mult     iple commercials if no breaks in between
min_commercial_size=4 ; Mimimum time in seconds for a single commercial
min_show_segment_length=250 ; 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=500 ; Any frame with sound volume larger than this will not be regarde     d as black frame
max_silence=100 ;
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 vide     o, do not combine with subtitle setting
use_existing_logo_file=1 ; Use logo file already created at beginning of show, de     fault 0
punish=1 ; Compare to average for sum of 1=brightness, 2=uniform 4=volume, 8=sile     nce, 16=schange, set to 0 to disable
punish_threshold=1.3 ; Multiply when amount is above average * punish_threshold
punish_modifier=4 ; 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 detect     ion will be disabled
logo_threshold=0.80 ; Digital signals can be higher
min_black_frames_for_break=1 ;
punish_no_logo=1 ; Default, set to 0 to avoid show segments without logo to be sc     ored 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
delay_logo_search=0 ;
logo_filter=1 ; Set the size of the filter to apply to bad logo detection, 4 seem     s to be a good value.
edge_step=2 ; New, default 1
cut_on_ar_change=1 ; Set to 1 if you want to cut also on aspect ratio changes whe     n logo is present, set to 2 to force cuts on aspect ratio changes. set to 0 to di     sable
delete_show_after_last_commercial=0 ; Set to 1 if you want to delete the last blo     ck if its a show and after a commercial
delete_show_before_first_commercial=0 ; New, default 0
delete_show_before_or_after_current=0 ; Set to 1 if you want to delete the previo     us 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 disca     rded, 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 star     t to search for silence to insert an additional cutpoint
padding=0.50
ms_audio_delay=5
volume_slip=40
skip_b_frames=0 ; Set to 1 to force Comskip to skip frames for higher processing      speed.
hardware_decode=0 ; Set to 1 to enable hardware accelerated video decoding, only      available in donator version
thread_count=4 ; Set to utilize Quad Core
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 he     ristics 1, adding 2 disables heristics 2, adding 4 disables heristics 3, 255 disa     bles 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 d     ecoding
output_videoredo=0 ; The old videoredo format
output_videoredo3=0 ; The new videoredo v3 format.
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 scanni     ng
sage_framenumber_bug=0
sage_minute_bug=0
live_tv=1 ; Set to 1 if you use parallelprocessing and need the output while reco     rding
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\" snapToC     utPoints=\"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"
always_keep_first_seconds=200
always_keep_last_seconds=60
global_threshold=1.79

erik
Site Admin
Posts: 3297
Joined: Sun Aug 21, 2005 3:49 pm

Re: The Simpsons gets cut off about a minute in

Post by erik » Wed Nov 16, 2016 8:15 am

You nee to provide more info
Follow the "how to ask for help" post

Sufreak
Posts: 19
Joined: Tue Sep 13, 2016 2:17 am

Re: The Simpsons gets cut off about a minute in

Post by Sufreak » Wed Nov 16, 2016 11:02 am

Apologies. I have to rerun the script to get exact missing times. I have the original file,
But it is quite large. 2.8 GB. The Simpsons (1989) - S28E07 - Havana Wild Weekend

I can probably Dropbox it over. I'll rerun it for the exact times of the missing piece.


205.44 255.41 0
339.51 535.35 0
668.33 688.32 0
1093.44 1316.02 0
1609.69 1739.54 0
File end time: 1800.382000

erik
Site Admin
Posts: 3297
Joined: Sun Aug 21, 2005 3:49 pm

Re: The Simpsons gets cut off about a minute in

Post by erik » Wed Nov 16, 2016 12:00 pm

No need for original file to be send, follow the "how to ask for help" post and send only files specified

Sufreak
Posts: 19
Joined: Tue Sep 13, 2016 2:17 am

Re: The Simpsons gets cut off about a minute in

Post by Sufreak » Wed Nov 16, 2016 5:42 pm

I have the files, I just need to edit the ref. Unfortunately, it is in frames, whereas I saw seconds. So I'm not quite sure what to do there.
It cuts content at opening after the credits as well as a few other minutes in the beginning

erik
Site Admin
Posts: 3297
Joined: Sun Aug 21, 2005 3:49 pm

Re: The Simpsons gets cut off about a minute in

Post by erik » Wed Nov 16, 2016 6:00 pm

Multiply seconds with frames per second

Post Reply