Package ws.schild.jave.filters
Class CropFilter
- java.lang.Object
-
- ws.schild.jave.filters.Filter
-
- ws.schild.jave.filters.CropFilter
-
- All Implemented Interfaces:
VideoFilter
public class CropFilter extends Filter
A crop filter as described by the FFMPEG Documentation.
-
-
Constructor Summary
Constructors Constructor Description CropFilter()Crop filterCropFilter(int width, int height, int posX, int posY)Simple constructor - crop input stream to given w/h//x/yCropFilter(java.lang.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 Detail
-
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
public CropFilter(java.lang.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- Parameters:
cropExpression- string expression
-
-