Package ws.schild.jave.filtergraphs
Class OverlayWatermark
java.lang.Object
ws.schild.jave.filters.FilterGraph
ws.schild.jave.filtergraphs.OverlayWatermark
- All Implemented Interfaces:
VideoFilter
Overlay an image over an input video. Input video must be specified using a -i option to ffmpeg
- Author:
- mressler
-
Constructor Summary
ConstructorsConstructorDescriptionOverlayWatermark(File watermark, OverlayLocation location, Integer offsetX, Integer offsetY) Create an overlay filtergraph that will overlay a watermark image on the video. -
Method Summary
Methods inherited from class ws.schild.jave.filters.FilterGraph
addChain, getExpression, setSwsFlags
-
Constructor Details
-
OverlayWatermark
Create an overlay filtergraph that will overlay a watermark image on the video.- Parameters:
watermark- The location of the watermark imagelocation- The location on the video that the watermark should be overlaidoffsetX- The offset from the location that the watermark should be offset. Positive values move the image right. Negative values move it left.offsetY- The offset from the location that the watermark should be offset. Positive values move the image down. Negative values move it up.
-