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 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 here
      height - height of crop area
      posX - origin of crop area
      posY - origin of crop area
    • CropFilter

      public CropFilter(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