"Printing AR cblock list" shows 5 blocks. I want to keep block 0 and block 4.
Code: Select all
max_commercialbreak=1500
min_commercialbreak=25
max_commercial_size=180
min_commercial_size=4
min_show_segment_length=250
Code: Select all
Detection Methods to be used:
1) Scene Change
2) Aspect Ratio
ComSkip throttles back from -0001 to -0001.
The time is now 1453 so it's full speed ahead!
Code: Select all
Input #0, mpegts, from 'd:\atv.ts':
Duration: 00:08:42.31, start: 1.407833, bitrate: 248 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 480x270, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 36 kb/s
h.264 video can only be processed at full speed by the Donator version
h.264 video can only be processed at full speed by the Donator version
Frame Rate set to 25.000 f/s
Format changed to [480 : 270]
Frame: 1 Ratio: 2.06 MinY: 17 MaxY: 241 MinX: 1 MaxX: 480
Frame: 1 Channels: 0
Frame 2 (0.000s) - Black frame because large scene change of 96, uniform 52985
Initial audio pts = 0.000
Frame: 14 Channels: 2
Strange video pts step of 0.06450 instead of 0.04050 at frame 3046
Strange video pts step of 0.05233 instead of 0.04050 at frame 3067
Strange video pts step of 0.05629 instead of 0.04050 at frame 3089
Strange video pts step of 0.05147 instead of 0.04050 at frame 3101
Strange video pts step of 0.05413 instead of 0.04050 at frame 3117
Frame: 9195 Ratio: 1.79 MinY: 1 MaxY: 270 MinX: 1 MaxX: 480
Frame 9258 (371.120s) - Black frame because large scene change of 19, uniform 2894
Frame 9530 (382.000s) - Black frame because large scene change of 14, uniform 14404
Frame 9531 (382.040s) - Black frame because large scene change of 26, uniform 12198
Frame 9723 (389.720s) - Black frame because large scene change of 36, uniform 4388
Frame: 9978 Ratio: 2.14 MinY: 17 MaxY: 242 MinX: 1 MaxX: 480
Frame: 11040 Ratio: 1.85 MinY: 1 MaxY: 270 MinX: 1 MaxX: 480
Frame: 11175 Ratio: 2.14 MinY: 17 MaxY: 241 MinX: 1 MaxX: 480
Strange audio pts step of 9.05067 instead of 0.00000 at frame 12969
Jump in base apts from 509.96000 to 519.01010, delta=9.05010
Parsed 13032 video frames and 12828 audio frames at 25.75 fps
Maximum Volume found is 19745
Finished scanning file. Starting to build Commercial List.
WARNING: Complex timeline or errors in the recording!!!!
Results may be wrong, .ref input will be misaligned. .txt editing will produce wrong results
Use .edl output if possible
Platau@[456] frames 8, volume 2, distance 18 seconds
Platau@[476] frames 8, volume 1, distance 0 seconds
Platau@[496] frames 7, volume 2, distance 0 seconds
Platau@[5055] frames 9, volume 2, distance 183 seconds
Platau@[5075] frames 7, volume 1, distance 0 seconds
Platau@[5095] frames 8, volume 0, distance 0 seconds
Platau@[12668] frames 21, volume 0, distance 302 seconds
Vol : #Frames
0 : 7
Calculated silence level = 10
The last ar cblock wasn't closed. Now closing.
Printing AR cblock list before cleaning
-----------------------------------------
Block: 0 Start: 1 End: 9194 AR_R: 2.06 Length: 0:06:08.60, [ 480x 270] minX= 1, minY= 17, maxX=480, maxY=241
Block: 1 Start: 9195 End: 9977 AR_R: 1.79 Length: 0:00:31.28, [ 480x 270] minX= 1, minY= 1, maxX=480, maxY=270
Block: 2 Start: 9978 End: 11039 AR_R: 2.14 Length: 0:00:42.43, [ 480x 270] minX= 1, minY= 17, maxX=480, maxY=242
Block: 3 Start: 11040 End: 11174 AR_R: 1.85 Length: 0:00:05.36, [ 480x 270] minX= 1, minY= 1, maxX=480, maxY=270
Block: 4 Start: 11175 End: 13032 AR_R: 2.14 Length: 0:01:14.24, [ 480x 270] minX= 1, minY= 17, maxX=480, maxY=241
After Sorting - 165
--------------
Aspect Ratio 2.14 found on 11240 frames totalling 89.4%
Aspect Ratio 1.79 found on 849 frames totalling 96.2%
Aspect Ratio 2.13 found on 282 frames totalling 98.4%
Aspect Ratio 2.12 found on 82 frames totalling 99.1%
Aspect Ratio 2.15 found on 43 frames totalling 99.4%
Aspect Ratio 2.10 found on 21 frames totalling 99.6%
Aspect Ratio 2.09 found on 14 frames totalling 99.7%
Aspect Ratio 2.06 found on 8 frames totalling 99.7%
Aspect Ratio 1.99 found on 7 frames totalling 99.8%
Aspect Ratio 2.00 found on 5 frames totalling 99.8%
Aspect Ratio 1.74 found on 3 frames totalling 99.9%
Aspect Ratio 1.84 found on 3 frames totalling 99.9%
Aspect Ratio 1.87 found on 2 frames totalling 99.9%
Aspect Ratio 2.01 found on 2 frames totalling 99.9%
Aspect Ratio 2.02 found on 2 frames totalling 99.9%
Aspect Ratio 2.05 found on 2 frames totalling 100.0%
Aspect Ratio 1.83 found on 1 frames totalling 100.0%
Aspect Ratio 1.85 found on 1 frames totalling 100.0%
Aspect Ratio 1.86 found on 1 frames totalling 100.0%
Aspect Ratio 1.96 found on 1 frames totalling 100.0%
Aspect Ratio 1.97 found on 1 frames totalling 100.0%
Aspect Ratio 2.03 found on 1 frames totalling 100.0%
After Sorting - 164
--------------
Aspect Ratio 2.06 found on 9194 frames totalling 70.5%
Aspect Ratio 2.14 found on 2920 frames totalling 93.0%
Aspect Ratio 1.79 found on 918 frames totalling 100.0%
Printing AR cblock list
-----------------------------------------
Block: 0 Start: 1 End: 9194 AR_R: 2.06 Length: 0:06:08.60, [ 480x 270] minX= 1, minY= 17, maxX=480, maxY=241
Block: 1 Start: 9195 End: 9977 AR_R: 1.79 Length: 0:00:31.28, [ 480x 270] minX= 1, minY= 1, maxX=480, maxY=270
Block: 2 Start: 9978 End: 11039 AR_R: 2.14 Length: 0:00:42.43, [ 480x 270] minX= 1, minY= 17, maxX=480, maxY=242
Block: 3 Start: 11040 End: 11174 AR_R: 1.79 Length: 0:00:05.36, [ 480x 270] minX= 1, minY= 1, maxX=480, maxY=270
Block: 4 Start: 11175 End: 13032 AR_R: 2.14 Length: 0:01:14.24, [ 480x 270] minX= 1, minY= 17, maxX=480, maxY=241
Single frames with missing audio: 2
4 - Removing black frame 9723, from black frame list because volume 5000 is more than 500, brightness 23, uniform 4388
3 - Removing black frame 9531, from black frame list because volume 5000 is more than 500, brightness 176, uniform 12198
2 - Removing black frame 9530, from black frame list because volume 5000 is more than 500, brightness 199, uniform 14404
1 - Removing black frame 9258, from black frame list because volume 5000 is more than 500, brightness 23, uniform 2894
Distribution of Black Frame cutting: 1 positive and 0 negative, ratio is 9.9900
Confidence of Black Frame cutting: 0 out of 0 are strict, too low
Black Frame cutting too low
Distribution of Scene Change cutting: 1 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: 0 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 = 1
nr frame pts bright uniform volume cause dimcount bright type
0 13032 522.080 0 0 0 b 0 0 P
Creating cblock 0 From 1 (1) to 13032 (13032) because of b with 0 head and 0 tail
Block 000 schange_rate - 0.12 average - 0.12
Fuzzy scoring of the blocks
---------------------------
Block 0 has twice excess length.
Block 0 score: Before - 1.00 After - 0.00
Threshold used - 1.0500 After rounding - 1.0500
---------------------
Initial Commercial List
---------------------
No change
Logo fraction: 0.0000 Logo disabled
Maximum volume found: 19745
Average volume: 4536
Sound threshold: 500
Silence threshold: 100
Minimum volume found: 50
Average frames with silence: 90
Black threshold: 25
Minimum brightness found: 16
Minimum bright pixels found: 400
Minimum dim level found: 315
Average brightness: 731
Uniformity level: 11200
Average non uniformity: 253
Maximum gap between logo's: -1
Suggested logo_threshold: 0.0000
Suggested shrink_logo: 0.00
Max commercial size found: -1
Dominant aspect ratio: 2.0600
Score threshold: 1.0500
Framerate: 25.000
Average framerate: 24.960
Total commercial length: 0:00:00.00
Cut codes:
F: scene c: change
A: aspect t: cutscene
E: exceeds l: logo
L: logo v: volume
B: bright s: scene_change
C: combined a: aspect_ratio
N: nonstrict u: uniform_frame
S: strict b: black_frame
r: resolution
----------------------------------------------------
Block list after weighing
----------------------------------------------------
# sbf bs be fs fe ts te len sc scr cmb ar cut bri logo vol sil corr stdev cc
0:+ 0 0 0 1 13032 0.00s 522.08s 522.08s 0.00 0.12 0 2.06 E b 7310 0.00 45360 900 0.000 73
13032 Frames Processed
################################################################
Time at end of run:
Tue Dec 12 15:07:07 2017
################################################################
---------------------
After above I changed
Code: Select all
min_show_segment_length=70
Then I turned on Logo detection (Logo Detection + Aspect Ratio). Now aspect ratio is detected correctly and consistently as you can see, but it is still not making any cut points when AR changes.
Code: Select all
Printing AR cblock list
-----------------------------------------
Block: 0 Start: 1 End: 1 AR_R: 2.14 Length: 0:00:00.00, [ 480x 270] minX= 1, minY= 29, maxX=480, maxY=241
Block: 1 Start: 2 End: 9194 AR_R: 2.26 Length: 0:06:08.56, [ 480x 270] minX= 1, minY= 29, maxX=480, maxY=241
Block: 2 Start: 9195 End: 9977 AR_R: 1.79 Length: 0:00:31.28, [ 480x 270] minX= 1, minY= 1, maxX=480, maxY=270
Block: 3 Start: 9978 End: 11040 AR_R: 2.26 Length: 0:00:42.48, [ 480x 270] minX= 1, minY= 30, maxX=480, maxY=242
Block: 4 Start: 11041 End: 11174 AR_R: 1.79 Length: 0:00:05.31, [ 480x 270] minX= 1, minY= 1, maxX=480, maxY=270
Block: 5 Start: 11175 End: 13032 AR_R: 2.26 Length: 0:01:14.24, [ 480x 270] minX= 1, minY= 30, maxX=480, maxY=241
Single frames with missing audio: 2
Distribution of Black Frame cutting: 1 positive and 0 negative, ratio is 9.9900
Confidence of Black Frame cutting: 0 out of 0 are strict, too low
Black Frame cutting 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: 0 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 = 1
nr frame pts bright uniform volume cause dimcount bright type
0 13032 522.080 0 0 0 b 0 0 P
Creating cblock 0 From 1 (1) to 13032 (13032) because of b with 0 head and 0 tail
Fuzzy scoring of the blocks
---------------------------
Block 0 has twice excess length.
Block 0 score: Before - 1.00 After - 0.00
Threshold used - 1.0500 After rounding - 1.0500
---------------------
Initial Commercial List
---------------------
No change
Logo fraction: 0.9982 Logo disabled
Maximum volume found: 19745
Average volume: 4536
Sound threshold: 500
Silence threshold: 100
Minimum volume found: 50
Average frames with silence: 90
Black threshold: 25
Minimum brightness found: 16
Minimum bright pixels found: 0
Minimum dim level found: 0
Average brightness: 745
Uniformity level: 11000
Average non uniformity: 258
Maximum gap between logo's: -1
Suggested logo_threshold: 0.8250
Suggested shrink_logo: 0.00
Max commercial size found: -1
Dominant aspect ratio: 2.2600
Score threshold: 1.0500
Framerate: 25.000
Average framerate: 24.960
Total commercial length: 0:00:00.00
Cut codes:
F: scene c: change
A: aspect t: cutscene
E: exceeds l: logo
L: logo v: volume
B: bright s: scene_change
C: combined a: aspect_ratio
N: nonstrict u: uniform_frame
S: strict b: black_frame
r: resolution
----------------------------------------------------
Block list after weighing
----------------------------------------------------
# sbf bs be fs fe ts te len sc scr cmb ar cut bri logo vol sil corr stdev cc
0:+ 0 0 0 1 13032 0.00s 522.08s 522.08s 0.00 0.12 0 2.26 E b 7450 0.00 45360 900 0.000 74