Package ws.schild.jave.filters
Class CropFilter
java.lang.Object
ws.schild.jave.filters.Filter
ws.schild.jave.filters.CropFilter
- All Implemented Interfaces:
VideoFilter
A crop filter as described by the
FFMPEG Documentation.
-
Constructor Summary
ConstructorsConstructorDescriptionCrop filterCropFilter(int width, int height, int posX, int posY) Simple constructor - crop input stream to given w/h//x/yCropFilter(String cropExpression) Simple constructor - crop input stream with given expression For example: in_w/2:in_h/2:in_w/2:in_h/2 for bottom right quarter -
Method Summary
Methods inherited from class ws.schild.jave.filters.Filter
addInputLabel, addNamedArgument, addOrderedArgument, addOutputLabel, escapingPath, getExpression, setQuoteCharacter
-
Constructor Details
-
CropFilter
public CropFilter()Crop filter -
CropFilter
public CropFilter(int width, int height, int posX, int posY) Simple constructor - crop input stream to given w/h//x/y- Parameters:
width- width crop hereheight- height of crop areaposX- origin of crop areaposY- origin of crop area
-
CropFilter
Simple constructor - crop input stream with given expression For example: in_w/2:in_h/2:in_w/2:in_h/2 for bottom right quarter- Parameters:
cropExpression- string expression
-