
You can use this option in conjunction with wMultOf.
.jpg)
hMultOf is the same, but for the height.įorces autocrop to crop an additional 'leftAdd' pixels after it completes auto detection. Use this to ensure that clip is a valid for whatever codec you are going to compress with. 3 : Crop & Log - combination of modes 0 and 2Įnsures that the width of the cropped clip will be a multiple of the number specified.2 : Log - Logs the cropping parameters to the file "AutoCrop.log" in the current directory.1 : Preview - Suggested cropping information is overlayed on the existing clip, including a crop command that you can use to replace AutoCrop with.I suggest specifying by name, as there are a lot of parameters!ĪutoCrop (clip, int "mode", int "wMultOf", int "hMultOf", int "leftAdd", int "topAdd", int "rightAdd", int "bottomAdd", int "threshold", int "samples", int "samplestartframe", int "sampleendframe", float "aspect") Parameters can either be specified in order or by name. It can also ensure width and height are multiples of specified numbers so the cropped clip can be passed to the video compressor of your choice without problems.ĪutoCrop takes 12 parameters, but they are all optional so you can just do AutoCrop() to get a feel for how the filter works.

The existing clip, or cropping mode where it really crops the clip. It operates in either preview mode where it overlays the recommended cropping information on AutoCrop is an AviSynth filter that automatically crops the black borders from a clip.
