Extended avisynth option

Where all the user feedback and suggestions for improvements go
Post Reply
daju
Posts: 8
Joined: Fri Nov 30, 2007 3:53 pm

Extended avisynth option

Post by daju »

Would it be possible for you to create a "extended"-avisynth option for comskip where comskip outputs extended info about the video. This could be used after comskip finished and you want to encode the mpg file.

Lets say that comskip knows the size of the blackborder, then we could specify the right syntax to crop the video. The same thing is with the AR and other similar stuff that you could change/remove before encoding.

Over and out
Daju
erik
Site Admin
Posts: 3369
Joined: Sun Aug 21, 2005 3:49 pm

Post by erik »

Comskip reports in the log file the "dominant" aspect ratio,
Is it possible to extract the info from the log file?

It says at the end

Code: Select all

Logo fraction:              0.5659      
Maximum volume found:         3030
Average volume:                970
Sound threshold:               500
Silence threshold:             100
Minimum volume found:            0
Average frames with silence:    78
Black threshold:                20
Minimum Black level found:      15
Average brightness:           1064
Uniformity level:              260
Average non uniformity:        446
Maximum gap between logo's:    268
Suggested logo_threshold:   0.7750
Suggested shrink_logo:	         5
Max commercial size found:     109
Dominant aspect ratio:      1.2600
Score threshold:            1.0500
Framerate:                  25.00
Total commercial length:    0:20:43.00
and all the changes in aspect ratio are logged in the log file

Code: Select all

Frame: 75287	Ratio: 0.94	MinY: 10	MaxY: 566	MinX: 86	MaxX: 630
Frame: 76038	Ratio: 1.26	MinY: 10	MaxY: 566	MinX: 10	MaxX: 710
Frame: 107318	Ratio: 0.98	MinY: 10	MaxY: 566	MinX: 86	MaxX: 630
Frame: 107563	Ratio: 1.26	MinY: 10	MaxY: 566	MinX: 10	MaxX: 710
Frame: 108597	Ratio: 1.12	MinY: 10	MaxY: 566	MinX: 50	MaxX: 670
Post Reply