public class ScaleFilter extends Filter
| Constructor and Description |
|---|
ScaleFilter() |
ScaleFilter(String scaleExpression)
Scale the video to a particular size and maintain aspect ratio.
|
ScaleFilter(VideoSize toSize)
Scale the video to a particular size and maintain aspect ratio.
|
ScaleFilter(VideoSize toSize,
ForceOriginalAspectRatio foar)
Scale the video to a particular size and maintain aspect ratio.
|
addInputLabel, addNamedArgument, addOrderedArgument, addOutputLabel, escapingPath, getExpression, setQuoteCharacterpublic ScaleFilter()
public ScaleFilter(VideoSize toSize)
toSize - What size should the video be scaled to?public ScaleFilter(String scaleExpression)
scaleExpression - What size should the video be scaled to?
Can be an expression like "trunc(iw/2)*2:trunc(ih/2)*2"public ScaleFilter(VideoSize toSize, ForceOriginalAspectRatio foar)
toSize - What size should the video be scaled to?foar - Should the video be increased or decreased to size?Copyright © 2021. All rights reserved.