public class OverlayWatermark extends FilterGraph
| Constructor and Description |
|---|
OverlayWatermark(File watermark,
OverlayLocation location,
Integer offsetX,
Integer offsetY)
Create an overlay filtergraph that will overlay a watermark image on the video.
|
public OverlayWatermark(File watermark, OverlayLocation location, Integer offsetX, Integer offsetY)
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.Copyright © 2020. All rights reserved.