Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Thu May 23, 2019 5:38 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Sep 08, 2012 7:06 pm 
Offline

Joined: Sat Sep 08, 2012 1:36 pm
Posts: 2
Hi Im a mediaportal user with comskip monitored plugin. In the plugin I set comskip to work at recording start, with a few threads.

I tried a test-file that one was cut properly, except for the first commercial break.

However when I start a recording from EPG - program guide, after the recording the "movie"(.ts) still contains the commercial breaks.
Any advise on whats wrong here. Well- except of my limited understanding of the basics! I read alot but havent got it, on how the comskip works.

Quote:
################################################################
Generated using Comskip 0.81.043
Time at start of run:
Sat Sep 08 17:29:35 2012
################################################################
Mpeg: E:\TV\inspelningar\Meteor - TV6 - 2012-09-08.ts
Exe C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\comskip81_043\comskip.exe
Logo: E:\TV\inspelningar\Meteor - TV6 - 2012-09-08.logo.txt
Ini: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\comskip81_043\comskip.ini

Detection Methods to be used:
1) Black Frame
2) Logo - Give up after 2000 seconds
3) Resolution Change
4) Aspect Ratio
5) Silence


ComSkip throttles back from -0001 to -0001.
The time is now 1729 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=resolution change, 16=closed captions, 32=aspect ration, 64=silence, 255=all.
detect_method=107
;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=600
;
min_commercialbreak=25
;
max_commercial_size=125
;
min_commercial_size=4
;
min_show_segment_length=250
;
max_volume=500
;
max_silence=100
;
non_uniformity=500
[Detailed Settings]
min_silence=12
noise_level=5
brightness_jump=200
fps=25
validate_silence=0
validate_uniform=1
validate_scenechange=1
global_threshold=1.05
disable_heuristics=4
[CPU Load Reduction]
thread_count=2
play_nice_start=-1
play_nice_end=-1
play_nice_sleep=10
[Input Correction]
max_repair_size=200
ms_audio_delay=5
volume_slip=40
variable_bitrate=1
lowres=0
[Aspect Ratio]
ar_delta=0.08
cut_on_ar_change=1
[Global Removes]
padding=0
remove_before=0
remove_after=0
added_recording=14
delete_show_after_last_commercial=0
delete_show_before_first_commercial=0
delete_show_before_or_after_current=0
delete_block_after_commercial=0
min_commercial_break_at_start_or_end=39
always_keep_first_seconds=0
always_keep_last_seconds=0
[USA Specific]
intelligent_brightness=0
black_percentile=0.0076
uniform_percentile=0.003
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
delay_logo_search=0
logo_max_percentage_of_screen=0.12
ticker_tape=0
ticker_tape_percentage=0
ignore_side=0
subtitles=0
logo_at_bottom=0
logo_threshold=0.75
logo_filter=4
aggressive_logo_rejection=0
edge_level_threshold=5
edge_radius=2
edge_weight=10
edge_step=1
num_logo_buffers=50
use_existing_logo_file=1
two_pass_logo=1
[Logo Interpretation]
connect_blocks_with_logo=1
logo_percentile=0.775
logo_fraction=0.4
shrink_logo=3
shrink_logo_tail=0
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=4
dvrms_live_tv_retries=300
standoff=0
dvrmsstandoff=120000
require_div5=0
div5_tolerance=-1
incommercial_frames=1000
[Output Control]
output_default=1
output_chapters=0
output_plist_cutlist=0
output_zoomplayer_cutlist=0
output_zoomplayer_chapter=0
output_vcf=0
output_vdr=0
output_projectx=0
output_avisynth=0
output_videoredo=0
output_videoredo3=0
videoredo_offset=2
output_btv=0
output_edl=1
edl_offset=0
output_edlp=0
output_bsplayer=0
output_edlx=0
output_cuttermaran=0
output_mpeg2schnitt=0
output_womble=0
output_mls=0
output_mpgtx=0
output_dvrmstb=0
output_dvrcut=0
output_ipodchap=0
output_framearray=0
output_debugwindow=0
output_tuning=0
output_training=0
output_false=0
output_aspect=0
output_demux=0
output_data=0
output_srt=0
output_smi=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

Audio PTS jumped -10 frames at frame 0
Frame Rate set to 25.000 f/s
Format changed to [720 : 576]
Frame: 1 Ratio: 1.26 MinY: 1 MaxY: 576 MinX: 1 MaxX: 720
Frame Rate set to 25.000 f/s
Audio PTS jumped -13 frames at frame 2
Frame Rate set to 25.000 f/s
Frame Rate set to 25.000 f/s
Resizing scene change array to accomodate 2000 frames.
Building list of all frames with a brightness less than 45.

Building list of all frames with a brightness less than 45.

Building list of all frames with a brightness less than 45.

Video jumped by 5.5 frames at frame 1149, repairing timeline
Frame 1173 - Black frame with brightness of 16,uniform of 0 and volume of -749334992
Frame 1174 - Black frame with brightness of 16,uniform of 0 and volume of -1
Frame 1175 - Black frame with brightness of 16,uniform of 0 and volume of -1
Frame 1176 - Black frame with brightness of 16,uniform of 0 and volume of -1
Frame 1177 - Black frame with brightness of 16,uniform of 0 and volume of -1
Frame 1178 - Black frame with brightness of 16,uniform of 0 and volume of -1
Frame 1179 - Black frame with brightness of 18,uniform of 91 and volume of -1
Frame 1180 - Black frame with brightness of 18,uniform of 97 and volume of -1
Frame 1181 - Black frame with brightness of 18,uniform of 282 and volume of -1
Frame 1182 - Black frame with brightness of 18,uniform of 281 and volume of -1
Frame 1183 - Black frame with brightness of 18,uniform of 284 and volume of -1
Frame 1184 - Black frame with brightness of 18,uniform of 285 and volume of -1
Frame 1185 - Black frame with brightness of 18,uniform of 294 and volume of -1
Frame 1186 - Black frame with brightness of 18,uniform of 301 and volume of -1
Frame 1187 - Black frame with brightness of 18,uniform of 338 and volume of -1
Frame 1188 - Black frame with brightness of 19,uniform of 364 and volume of -1
Frame 1189 - Black frame with brightness of 19,uniform of 415 and volume of -1
Frame 1190 - Black frame with brightness of 19,uniform of 482 and volume of -1

Looking For Logo in frames 25 to 1250.
Not enough edge count - 0

Looking For Logo in frames 50 to 1275.
Not enough edge count - 0

Looking For Logo in frames 75 to 1300.
Not enough edge count - 0

Parsed 1309 video frames and 1309 audio frames of 25.00 fps

Maximum Volume found is 4735
Finished scanning file. Starting to build Commercial List.
Vol: Frames
Calculated silence level = 0
Vol: Frames
Calculated silence level = 0
Vol: Frames
Calculated silence level = 0
Vol: Frames
Calculated silence level = 0
Vol: Frames
Calculated silence level = 0
Logo Histogram - 0.15291
0.000 - 1308 - 0.99924 *********************************************************************************************************************************************************************************************************
0.050 - 0 - 0.99924
0.100 - 0 - 0.99924
0.150 - 0 - 0.99924
0.200 - 0 - 0.99924
0.250 - 0 - 0.99924
0.300 - 0 - 0.99924
0.350 - 0 - 0.99924
0.400 - 0 - 0.99924
0.450 - 0 - 0.99924
0.500 - 0 - 0.99924
0.550 - 0 - 0.99924
0.600 - 0 - 0.99924
0.650 - 0 - 0.99924
0.700 - 0 - 0.99924
0.750 - 0 - 0.99924
0.800 - 0 - 0.99924
0.850 - 0 - 0.99924
0.900 - 0 - 0.99924
0.950 - 0 - 0.99924
Set Logo Quality = 0.77500

Not enough or too much logo's found (0.00), disabling the use of Logo detection
The last ar cblock wasn't closed. Now closing.

Printing AR cblock list before cleaning
-----------------------------------------
Block: 0 Start: 1 End: 1309 AR_R: 1.26 Length: 0:00:52.49, [ 720x 576] minX= 1, minY= 1, maxX=720, maxY=576


After Sorting - 77
--------------
Aspect Ratio 1.26 found on 1175 frames totalling 100.0%


After Sorting - 77
--------------
Aspect Ratio 1.26 found on 1309 frames totalling 100.0%

Printing AR cblock list
-----------------------------------------
Block: 0 Start: 1 End: 1309 AR_R: 1.26 Length: 0:00:52.49, [ 720x 576] minX= 1, minY= 1, maxX=720, maxY=576
Distribution of Black Frame cutting: 2 positive and 0 negative, ratio is 9.9900
Confidence of Black Frame cutting: 1 out of 1 are strict, too low
Distribution of Scene Change cutting: 0 positive and 0 negative, ratio is 9.9900
Confidence of Scene Change cutting: 0 out of 0 are strict, too low
Distribution of Uniform Frame cutting: 1 positive and 0 negative, ratio is 9.9900
Confidence of Uniform Frame cutting: 0 out of 0 are strict, too low
Black Frame List
---------------------------
Black Frame Count = 7
nr frame bright uniform volume cause dimcount bright
0 1173 16 0 3 b 0 0
1 1174 16 0 3 b 0 0
2 1175 16 0 3 b 0 0
3 1176 16 0 3 b 0 0
4 1177 16 0 3 b 0 0
5 1178 16 0 3 b 0 0
-----------------------------
6 1309 0 0 0 b 0 0

Fuzzy scoring of the blocks
---------------------------
Block 1 has non-strict standard length for a commercial.
Block 1 score: Before - 1.00 After - 1.50
Threshold used - 1.0500 After rounding - 1.0500


---------------------
Initial Commercial List
---------------------
0) 1176 1309 0:00:05.27
No change

Logo fraction: 0.0000 Logo disabled
Maximum volume found: 4735
Average volume: 1890
Sound threshold: 500
Silence threshold: 100
Minimum volume found: 1580
Average frames with silence: 97
Black threshold: 25
Minimum brightness found: 16
Minimum bright pixels found: 0
Minimum dim level found: 0
Average brightness: 1921
Uniformity level: 1200
Average non uniformity: 594
Maximum gap between logo's: -1
Suggested logo_threshold: 0.7750
Suggested shrink_logo: 0.00
Max commercial size found: -1
Dominant aspect ratio: 1.2600
Score threshold: 1.0500
Framerate: 25.000
Total commercial length: 0:00:00.00
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 1175 1.00 47.180 0.20 0 1.26 b 2074+ 0.00 1833- 970 0.000 207
1:-- 3 3 0 1176 1309 1.50 5.280 0.11 0 1.26 N b 567- 0.00 2378+ 93- 0.000 56

1309 Frames Processed
################################################################
Time at end of run:
Sat Sep 08 17:29:38 2012
################################################################


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 08, 2012 8:08 pm 
Offline

Joined: Wed Dec 07, 2011 12:37 am
Posts: 130
Comskip live commercial detection doesn't work on .ts files just yet. What happens when you start comskip when recordings start is comskip processes what's been recorded so far and then ends early (long before first commercial break). To make it work you have to start comskip when recording is finished instead. I'm one of those who eagerly awaits next build to see if Erik found a solution on this. Keeping my fingers crossed the waiting won't be too long :D


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 09, 2012 12:06 pm 
Offline

Joined: Sat Sep 08, 2012 1:36 pm
Posts: 2
thanks- finally - after several hours fiddling with .ini file, I now have some cuts! I changed to the recording after setting in my comskip monitored plugin.

In my comskip.ini file I changed to:
detect_method=107 ; Enable silence detection
in combination with
validate_silence=0 ; Disable automatic disabling

Its from a thread on this forum, but from where is the possible detect_methods taken? I read somewhere; read the documetation.But I cant find a list or explanations for those methods, like 111 or 107 anywhere!


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 09, 2012 3:20 pm 
Offline

Joined: Thu Jan 19, 2012 5:13 pm
Posts: 55
111 and 107 are a conglomerate of detect methods. Each method is assigned a number,1, 2, 4, 8, etc. Add the assigned number(s) to group methods, ie getting the first the methods to work together, add 1, 2 and 4 to get 7. The first two and the last one on my little series would be 11.
I don't have a comskip file I'm front of me so i don't know what each method is, or what numbers they have, but if you find out what ads up to 107 or 111 you should be able to find more on each individual method.


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 09, 2012 3:43 pm 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 3264
Explanation is in comskip.txt inside the distribution zip file


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group