Skip to content

Crop Extension

James Brundage edited this page Apr 22, 2022 · 4 revisions

Extension/Crop.RoughDraft.Extension.ps1

Synopsis

Crop Extension


Description

Crops Video, using the ffmpeg crop filter


Related Links


Parameters

CropVideo

If set, will crop video

Type Requried Postion PipelineInput
[Switch] true named false

CropWidth

The crop width

Type Requried Postion PipelineInput
[String] false 1 false

CropHeight

The crop height

Type Requried Postion PipelineInput
[String] false 2 false

CropTop

The crop top coordinate

Type Requried Postion PipelineInput
[String] false 3 false

CropLeft

The crop left coordinate

Type Requried Postion PipelineInput
[String] false 4 false

CropExpression

A crop expression, consisting of width/height/left/top. This value is returned from CropDetect

Type Requried Postion PipelineInput
[String] false 5 true (ByPropertyName)

ExactCrop

If set, subsampled videos will be cropped at exact width/height/x/y as specified and will not be rounded to nearest smaller value.

Type Requried Postion PipelineInput
[Switch] false named false

KeepAspectRatio

If set, will keep the aspect ratio. Defaults to false.

Type Requried Postion PipelineInput
[Switch] false named false

Syntax

Extension/Crop.RoughDraft.Extension.ps1 -CropVideo [[-CropWidth] <String>] [[-CropHeight] <String>] [[-CropTop] <String>] [[-CropLeft] <String>] [[-CropExpression] <String>] [-ExactCrop] [-KeepAspectRatio] [<CommonParameters>]

Clone this wiki locally