video_watermark 1.0.0+1 copy "video_watermark: ^1.0.0+1" to clipboard
video_watermark: ^1.0.0+1 copied to clipboard

outdated

Simple 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 many parameters
  • Simple video trim
  • Cross platform

Usage #

Just initiate VideoWatermark instance

VideoWatermark videoWatermark = VideoWatermark(
    sourceVideoPath: videoPath,
    watermark: Watermark( imagePath: imagePath),
    onSave: (path){
        // Get the output file path
    },
);

To generate video with watermark.

videoWatermark.generateVideo();

Also you can trim video in simple way.

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

You can decide the watermark location, size and opacity in video with WatermarkAlignment & WatermarkSize.

Watermark watermark = Watermark(
    imagePath: imagePath!,
    watermarkAlignment: WatermarkAlignment.topCenter,
    watermarkSize: WatermarkSize(150,200),
    opacity: 0.8   //0.0 - 1.0
);
20
likes
0
pub points
79%
popularity

Publisher

verified publishereded.in

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffmpeg_kit_flutter, flutter, path_provider

More

Packages that depend on video_watermark