Package ws.schild.jave.filtergraphs
Class OverlayWatermark
- java.lang.Object
-
- ws.schild.jave.filters.FilterGraph
-
- ws.schild.jave.filtergraphs.OverlayWatermark
-
- All Implemented Interfaces:
VideoFilter
public class OverlayWatermark extends FilterGraph
Overlay an image over an input video. Input video must be specified using a -i option to ffmpeg
-
-
Constructor Summary
Constructors Constructor Description OverlayWatermark(java.io.File watermark, OverlayLocation location, java.lang.Integer offsetX, java.lang.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 Detail
-
OverlayWatermark
public OverlayWatermark(java.io.File watermark, OverlayLocation location, java.lang.Integer offsetX, java.lang.Integer offsetY)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.
-
-