Class 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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.