is there a way of forcing comskip to use the aspect ratio information over everything else?
my recordings are in 4:3 and every commercial break is in 16:9 no matter what and so i only want it to use that info..
KoNG
im playing around with cut_on_ar_change but its tough (and is that the only way?)
force aspect ratio?
The impact of all information is used to score a certain block using the modifiers as listed in the tuning manual
The modifier for wrong aspect ratio is
ar_wrong_modifier=2.0
The default value is 2.0
You have to take care of two elements to get what you want.
You need cuts on AR changes, that what happens when you set
cut_on_ar_change=1
and you have to make sure that any part with a wrong aspect ratio is thrown away. You can do this by increasing the ar_wrong_modifier to a much higher value, such as 100.0 or even 1000.
The modifier for wrong aspect ratio is
ar_wrong_modifier=2.0
The default value is 2.0
You have to take care of two elements to get what you want.
You need cuts on AR changes, that what happens when you set
cut_on_ar_change=1
and you have to make sure that any part with a wrong aspect ratio is thrown away. You can do this by increasing the ar_wrong_modifier to a much higher value, such as 100.0 or even 1000.
thanks for the reply
using the default .ini file with detect_method=41, ar_wrong_modifier=1000, max_commercial_size=300 and cut_on_ar_change=1.
this is my log file
it gets the beginning and end of the file right, but theres a commercial break in widescreen from 1831x to 2415x, which should come at the end of block 1 and the beginning of block two.
any ideas as to how i can tune this out?
using the default .ini file with detect_method=41, ar_wrong_modifier=1000, max_commercial_size=300 and cut_on_ar_change=1.
this is my log file
Code: Select all
Detection Methods to be used:
1) Black Frame
2) Fuzzy Logic
3) Aspect Ratio
ComSkip throttles back from -0001 to -0001.
The time is now 1155 so it's full speed ahead!
First Frame
Frame: 1 MinY: 10 MaxY: 566 Ratio: 0.00
The last ar block wasn't closed. Now closing.
Printing AR block list
-----------------------------------------
Block: 0 Start: 1 End: 19534 AR_R: 1.08 Length: 0:13:1.32
Block: 1 Start: 19535 End: 44111 AR_R: 0.00 Length: 0:16:23.04
Block: 2 Start: 44112 End: 45194 AR_R: 1.34 Length: 0: 0:43.28
Block: 3 Start: 45195 End: 49255 AR_R: 0.00 Length: 0: 2:42.40
Long/Short block ratio for block 6 till 7 is 99 percent
Average brightness is 82
Fuzzy scoring of the blocks
---------------------------
Combining Blocks 0 thru 4 result in strict standard commercial length of 46.40 with a tolerance of 2.640000.
Block 0 score: Before - 1.00 After - 1.20 Combined count - 1
Block 1 score: Before - 1.00 After - 1.20 Combined count - 1
Block 2 score: Before - 1.00 After - 1.20 Combined count - 1
Block 3 score: Before - 1.00 After - 1.20 Combined count - 1
Block 4 score: Before - 1.00 After - 1.20 Combined count - 1
Block 0 AR (1.08) is different from dominant AR(1.34).
Block 0 score: Before - 1.20 After - 2.40
Block 1 has non-strict standard length for a commercial.
Block 1 score: Before - 1.20 After - 1.80
Combining Blocks 1 thru 3 result in strict standard commercial length of 25.68 with a tolerance of 2.040000.
Block 1 score: Before - 1.80 After - 2.40 Combined count - 2
Block 2 score: Before - 1.20 After - 1.60 Combined count - 2
Block 3 score: Before - 1.20 After - 1.60 Combined count - 2
Combining Blocks 1 thru 4 result in strict standard commercial length of 44.36 with a tolerance of 2.640000.
Block 1 score: Before - 2.40 After - 3.00 Combined count - 3
Block 2 score: Before - 1.60 After - 2.00 Combined count - 3
Block 3 score: Before - 1.60 After - 2.00 Combined count - 3
Block 4 score: Before - 1.20 After - 1.50 Combined count - 2
Block 1 AR (1.08) is different from dominant AR(1.34).
Block 1 score: Before - 3.00 After - 6.00
Combining Blocks 2 thru 3 result in strict standard commercial length of 20.44 with a tolerance of 2.280000.
Block 2 score: Before - 2.00 After - 3.00 Combined count - 4
Block 3 score: Before - 2.00 After - 3.00 Combined count - 4
Combining Blocks 2 thru 4 result in non-strict standard commercial length of 39.12 with a tolerance of 2.880000.
Block 2 score: Before - 3.00 After - 3.62 Combined count - 5
Block 3 score: Before - 3.00 After - 3.62 Combined count - 5
Block 4 score: Before - 1.50 After - 1.81 Combined count - 3
Block 2 AR (1.08) is different from dominant AR(1.34).
Block 2 score: Before - 3.62 After - 7.25
Block 3 has strict standard length for a commercial.
Block 3 score: Before - 3.62 After - 32.62
Combining Blocks 3 thru 4 result in strict standard commercial length of 37.84 with a tolerance of 3.160000.
Block 3 score: Before - 32.62 After - 48.94 Combined count - 6
Block 4 score: Before - 1.81 After - 2.72 Combined count - 4
Combining Blocks 2 thru 3 result in strict standard commercial length of 20.44 with a tolerance of 2.280000.
Block 3 score: Before - 48.94 After - 73.41 Combined count - 7
Block 2 score: Before - 7.25 After - 10.87 Combined count - 6
Combining Blocks 1 thru 3 result in strict standard commercial length of 25.68 with a tolerance of 2.040000.
Block 3 score: Before - 73.41 After - 97.87 Combined count - 8
Block 2 score: Before - 10.87 After - 14.50 Combined count - 7
Block 1 score: Before - 6.00 After - 8.00 Combined count - 4
Block 3 AR (1.08) is different from dominant AR(1.34).
Block 3 score: Before - 97.87 After - 195.75
Block 4 has strict standard length for a commercial.
Block 4 score: Before - 2.72 After - 24.47
Combining Blocks 3 thru 4 result in strict standard commercial length of 37.84 with a tolerance of 3.160000.
Block 4 score: Before - 24.47 After - 36.70 Combined count - 5
Block 3 score: Before - 195.75 After - 99.99 Combined count - 9
Combining Blocks 2 thru 4 result in non-strict standard commercial length of 39.12 with a tolerance of 2.880000.
Block 4 score: Before - 36.70 After - 44.35 Combined count - 6
Block 3 score: Before - 99.99 After - 99.99 Combined count - 10
Block 2 score: Before - 14.50 After - 17.52 Combined count - 8
Combining Blocks 1 thru 4 result in strict standard commercial length of 44.36 with a tolerance of 2.640000.
Block 4 score: Before - 44.35 After - 55.44 Combined count - 7
Block 3 score: Before - 99.99 After - 99.99 Combined count - 11
Block 2 score: Before - 17.52 After - 21.90 Combined count - 9
Block 1 score: Before - 8.00 After - 10.00 Combined count - 5
Block 4 AR (1.08) is different from dominant AR(1.34).
Block 4 score: Before - 55.44 After - 110.87
Block 5 has excess length.
Block 5 score: Before - 1.00 After - 0.01
Block 5 AR (1.08) is different from dominant AR(1.34).
Block 5 score: Before - 0.01 After - 0.02
Block 6 has excess length.
Block 6 score: Before - 1.00 After - 0.01
Block 6 AR (0.00) is different from dominant AR(1.34).
Block 6 score: Before - 0.01 After - 0.02
Block 7 AR (0.00) is different from dominant AR(1.34).
Block 7 score: Before - 1.00 After - 2.00
Block 8 has excess length.
Block 8 score: Before - 1.00 After - 0.01
Block 8 AR (0.00) is different from dominant AR(1.34).
Block 8 score: Before - 0.01 After - 0.02
Block 9 AR (0.00) is different from dominant AR(1.34).
Block 9 score: Before - 1.00 After - 2.00
Block 10 AR (0.00) is different from dominant AR(1.34).
Block 10 score: Before - 1.00 After - 2.00
Block 11 AR (0.00) is different from dominant AR(1.34).
Block 11 score: Before - 1.00 After - 2.00
Block 12 AR (0.00) is different from dominant AR(1.34).
Block 12 score: Before - 1.00 After - 2.00
Block 13 AR (0.00) is different from dominant AR(1.34).
Block 13 score: Before - 1.00 After - 2.00
Block 15 has strict standard length for a commercial.
Block 15 score: Before - 1.00 After - 9.00
Combining Blocks 15 thru 16 result in strict standard commercial length of 35.68 with a tolerance of 2.480000.
Block 15 score: Before - 9.00 After - 13.50 Combined count - 1
Block 16 score: Before - 1.00 After - 1.50 Combined count - 1
Block 15 AR (0.00) is different from dominant AR(1.34).
Block 15 score: Before - 13.50 After - 27.00
Block 16 has strict standard length for a commercial.
Block 16 score: Before - 1.50 After - 13.50
Combining Blocks 15 thru 16 result in strict standard commercial length of 35.68 with a tolerance of 2.480000.
Block 16 score: Before - 13.50 After - 20.25 Combined count - 2
Block 15 score: Before - 27.00 After - 40.50 Combined count - 2
Block 16 AR (0.00) is different from dominant AR(1.34).
Block 16 score: Before - 20.25 After - 40.50
Block 17 has non-strict standard length for a commercial.
Block 17 score: Before - 1.00 After - 1.50
Block 17 AR (0.00) is different from dominant AR(1.34).
Block 17 score: Before - 1.50 After - 3.00
Block 18 AR (0.00) is different from dominant AR(1.34).
Block 18 score: Before - 1.00 After - 2.00
Discarding block 14 because too short and between two commercial blocks.
Threshold used - 1.0500 After rounding - 1.0500
---------------------
Initial Commercial List
---------------------
0) 1 1165 0: 0:46.56
1) 24111 24153 0: 0:1.68
2) 37810 49254 0: 7:37.76
---------------------
Final Commercial List
---------------------
1 - start: 1 end: 1165 [ 0: 4] length: 0: 0:46.56
2 - start: 37810 end: 49254 [ 9: 18] length: 0: 7:37.76
Logo fraction: 0.0000 Logo disabled
Sound threshold: 500
Silence level found 0
Black threshold: 25
Minimum Black level found: 15
Uniformity level: 500
Maximum gap between logo's: -1
Suggested shrink_logo: 0
Max commercial size found: -1
Dominant aspect ratio: 1.3400
Score threshold: 1.0500
Framerate: 25.00
Total commercial length: 0: 0:46.56
Block list after weighing
----------------------------------------------------
# sbf bs be fs fe sc len scc scr cmbnd ar cut bri logo stdev cc
0)- 1 0 1 1 52 2.40 2.040 0 0.00 1 1.08 ub 190 0.00 388
1)- 1 1 0 53 184 10.00 5.240 0 0.00 5 1.08 b 217 0.00 71
2)- 7 1 6 185 217 21.90 1.280 0 0.00 9 1.08 b 17 0.00 27
3)- 14 6 8 218 697 99.99 19.160 0 0.00 11 1.08 b 91 0.00 53
4)- 48 8 40 698 1165 110.87 18.680 0 0.00 7 1.08 b 21 0.00 14
5)+ 63 40 23 1166 18337 0.02 686.840 0 0.00 0 1.08 b 85 0.00 30
6)+ 24 23 1 18338 24110 0.02 230.880 0 0.00 0 0.00 b 101 0.00 121
7)+ 18 1 17 24111 24153 2.00 1.680 0 0.00 0 0.00 b 18 0.00 32
8)+ 45 18 27 24154 37809 0.02 546.200 0 0.00 0 0.00 b 62 0.00 21
9)- 28 27 1 37810 38608 2.00 31.920 0 0.00 0 0.00 ub 45 0.00 70
10)- 5 1 4 38609 40013 2.00 56.160 0 0.00 0 0.00 u 54 0.00 85
11)- 5 4 1 40014 40202 2.00 7.520 0 0.00 0 0.00 u 201 0.00 160
12)- 3 1 2 40203 41120 2.00 36.680 0 0.00 0 0.00 ub 120 0.00 115
13)- 3 2 1 41121 44085 2.00 118.560 0 0.00 0 0.00 b 125 0.00 193
14)- 5 1 4 44086 45115 99.99 41.160 0 0.00 0 1.34 b 82 0.00 94
15)- 7 4 3 45116 45511 40.50 15.800 0 0.00 2 0.00 b 87 0.00 61
16)- 53 4 49 45512 46009 40.50 19.880 0 0.00 2 0.00 b 23 0.00 23
17)- 53 50 3 46010 47223 3.00 48.520 0 0.00 0 0.00 b 99 0.00 147
18)- 3 3 0 47224 49254 2.00 81.200 0 0.00 0 0.00 b 77 0.00 122
49255 Frames Processed
any ideas as to how i can tune this out?
As you can see in
I would like to understand why the aspect ratio is undetermined.
Could set
output_framearray=1
in you comskip.ini and mail me you comskip.ini and the generated .csv file?
(I can receive very large files)
Then I can have a look what's happening.
Comskip is not able to determine the aspect ratio for about 16 minutes of the show. When Comskip can not determine the aspect ratio it will not take any action based on aspect ratio.Block: 1 Start: 19535 End: 44111 AR_R: 0.00 Length: 0:16:23.04
I would like to understand why the aspect ratio is undetermined.
Could set
output_framearray=1
in you comskip.ini and mail me you comskip.ini and the generated .csv file?
(I can receive very large files)
Then I can have a look what's happening.
Do you record with a low horizontal resolution? Such as 480 pixels?
I have made a change to the aspectratio processing of Comskip to be able to deal with these low horizontal resolutions.
Could you test this new version? Comskip79_15.zip
Inside you will find an updated tuning.rtf file and an updated reame.txt
Now you can brute force cutting on aspect ratio changes by setting cut_on_ar_change=2
I have made a change to the aspectratio processing of Comskip to be able to deal with these low horizontal resolutions.
Could you test this new version? Comskip79_15.zip
Inside you will find an updated tuning.rtf file and an updated reame.txt
Now you can brute force cutting on aspect ratio changes by setting cut_on_ar_change=2