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
Author:
mressler
  • Constructor Details

    • OverlayWatermark

      public OverlayWatermark(File watermark, OverlayLocation location, Integer offsetX, Integer offsetY)
      Create an overlay filtergraph that will overlay a watermark image on the video.
      Parameters:
      watermark - The location of the watermark image
      location - The location on the video that the watermark should be overlaid
      offsetX - 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.