video_watermark_plus 1.2.0 copy "video_watermark_plus: ^1.2.0" to clipboard
video_watermark_plus: ^1.2.0 copied to clipboard

Refurbished Flutter package to add image as overlay in the video along with video trim option.

Video Watermark #

Simple Flutter package to add image as overlay in the video along with video trim option.

Features #

  • Add logo in video
  • Alter logo in various parameters
  • Simple way to trim video
  • Add image from various source
  • Cross platform

Usage #

Just initiate VideoWatermark instance

VideoWatermark videoWatermark = VideoWatermark(
    sourceVideoPath: videoPath,
    watermark: Watermark(image: WatermarkSource.file(imagepath)),
    onSave: (path){
        // Get output file path
    },
    progress: (value){
        // Get video generation progress
    },
);

To generate video with watermark.

videoWatermark.generateVideo();

Also you can trim video in simple.

VideoWatermark videoWatermark = VideoWatermark(
    sourceVideoPath: videoPath,
    videoTrim: VideoTrim(start: startTime, end: endTime)
    onSave: (path) {
        // Get the output file path
    },
);

Decide the watermark location, size and opacity in video with WatermarkAlignment & WatermarkSize.

Watermark watermark = Watermark(
    image: WatermarkSource.file(imagepath),
    watermarkAlignment: WatermarkAlignment.topCenter,
    watermarkSize: WatermarkSize(150,200),
    opacity: 0.8   //0.0 - 1.0
);

Add watermark images from various sources File, Asset and Network.

WatermarkSource.file(imagepath)
WatermarkSource.asset(assetpath)
WatermarkSource.network(imageUrl)
0
likes
160
points
59
downloads

Publisher

verified publishermahfuzmunna.com

Weekly Downloads

Refurbished Flutter package to add image as overlay in the video along with video trim option.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffmpeg_kit_flutter_new, flutter, path_provider

More

Packages that depend on video_watermark_plus