Comskip Support Forum

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Jul 07, 2012 1:54 am 
Offline

Joined: Thu Jun 28, 2012 11:33 pm
Posts: 7
I've read everything I can find on the "disable_heuristics=" setting but can't figure out exactly what H1, H2 etc refers to in the log file.

From the list of Comskip commands:

Quote:
disable_heuristics=4 (0-255, bitmask)
; Bitmask, when a bit is set the corresponding heuristics method is disabled. H1 -> 1, H2 -> 2, H3 ->4, H4 -> 8, etc
;; This is useful when certain heuristics fail to improve the results and have to be disabled. Set verbose=10 and inspect the log file for the applied heuristics. Each heuristic is identified with an H followed by a number from 1 till 7

With verbose=10, I find this "Block list after weighing" table at the end of the log with a line of lower case acronyms as the column headers. Are these the heuristics refered to as H1, H2 etc?

Quote:
# sbf bs be fs fe sc len scr cmb ar cut bri logo vol sil corr stdev cc
0:++ 20 0 20 1 957 99.99 38.240 0.40 1 1.26 LC b 1687+ 0.00 1160+ 94+ 0.000 168
1:++ 22 20 2 958 4477 3.00 140.760 0.10 1 1.26 LC v 679- 0.00 716- 62- 0.000 67
2:++ 3 2 2 4478 12415 0.00 317.480 0.08 0 1.26 EL v 488- 0.87 790- 69- 0.000 48

If so, can anyone explain what the acronyms stand for please?
If not, could someone post a section of a log file showing where I find them please?

Many thanks.


Top
 Profile  
 
PostPosted: Sat Jul 07, 2012 7:52 am 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 2440
Yes, in the log file they are listed in the final block list as H1, H2, H3

The heuristics are very complex rules and their performance depend of many conditions.
Just try them and if they fail disable.


Top
 Profile  
 
PostPosted: Sat Jul 07, 2012 8:55 pm 
Offline

Joined: Thu Jun 28, 2012 11:33 pm
Posts: 7
I looked through the log files for about 30 different shows and in about 25% of them, found usually a single line at the bottom of the table headed "Fuzzy scoring of the blocks".

Here's the complete list from all 30 shows.
Code:
H1 Discarding cblock 49 because too short and between two strong commercial blocks.
H1 Discarding cblock 61 because too short and between two strong commercial blocks.
H1 Discarding cblock 3 because too short and between two strong commercial blocks.
H2 Added cblock 11 because short and after strict commercial.
H2 Added cblock 28 because after show, short and before strict commercial.
H4 Added cblock 21 because of large black gap with cblock 22
H5 Deleting cblock 24 of 59 seconds because it comes after the last commercial and its too short.
H5 Deleting cblock 13 of 121 seconds because it comes after the last commercial and its too short.
H6 Deleting block 21 because it is part of a too short or too long commercial.

Then I found Erik's complete list in this topic http://www.kaashoek.com/comskip/viewtopic.php?f=2&t=474

Code:
H1: Deletes short show blocks between two commercial blocks
H2: Deletes short show blocks before or after commercials for various reasons
H3: Deletes or adds short blocks based on Logo interpretation
H4: Adds short blocks because of various reasons
H5: Deletes show block before the first or after the last commercial
H6: Deletes too short or too long commercials and too short commercials at the start of the end of the recording
      Related settings
         max_commercialbreak=600
         min_commercialbreak=20
         min_commercial_break_at_start_or_end=39
H7: Tries to find the start of the show and deletes the short part of the previous show.


So to set "disable_heuristics", does it work the same way as "detect_method"?

H1=1
H2=2
H3=4
H4=8
H5=16
H6=32
H7=64

To disable say, H1 and H5, you set disable_heuristics=17?

Have I got it right?


Top
 Profile  
 
PostPosted: Sun Jul 08, 2012 8:40 am 
Offline
Site Admin

Joined: Sun Aug 21, 2005 3:49 pm
Posts: 2440
yes!


Top
 Profile  
 
PostPosted: Mon Jul 09, 2012 9:18 am 
Offline

Joined: Thu Jun 28, 2012 11:33 pm
Posts: 7
Great, thanks Erik.


Top
 Profile  
 
PostPosted: Thu Jul 12, 2012 2:49 am 
Offline

Joined: Tue Jan 31, 2012 12:13 am
Posts: 11
Please let us know what your experimentation reveals.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


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:  
Powered by phpBB® Forum Software © phpBB Group