Package ws.schild.jave.filters
Class OverlayFilter
java.lang.Object
ws.schild.jave.filters.Filter
ws.schild.jave.filters.OverlayFilter
- All Implemented Interfaces:
VideoFilter
An implementation of the overlay filter as specified by FFMPEG Documentation
- Author:
- mressler
-
Constructor Summary
ConstructorsConstructorDescriptionOverlayFilter(String baseInputLabel, String overlayInputLabel, OverlayLocation location, Integer offsetX, Integer offsetY) OverlayFilter(String baseInputLabel, OverlayLocation location, Integer offsetX, Integer offsetY) Overlay video ontobaseInputLabelatlocation. -
Method Summary
Methods inherited from class ws.schild.jave.filters.Filter
addInputLabel, addNamedArgument, addOrderedArgument, addOutputLabel, escapingPath, getExpression, setQuoteCharacter
-
Constructor Details
-
OverlayFilter
public OverlayFilter() -
OverlayFilter
public OverlayFilter(String baseInputLabel, OverlayLocation location, Integer offsetX, Integer offsetY) Overlay video ontobaseInputLabelatlocation. Offsets specify x/y offsets from the four locations. This constructor has an implicit unmatched input pad that needs to be filled by a previous filter in the chain.- Parameters:
baseInputLabel- The location to overlay video onto.location- One of the four corners.offsetX- An offset from one of the four corners.offsetY- An offset from one of the four corners.
-
OverlayFilter
public OverlayFilter(String baseInputLabel, String overlayInputLabel, OverlayLocation location, Integer offsetX, Integer offsetY)
-