video_watermark

Creator: coderz1093

Last updated:

0 purchases

video_watermark Image
video_watermark Images

Languages

Categories

Add to Cart

Description:

video watermark

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
},
);
copied to clipboard
To generate video with watermark.
videoWatermark.generateVideo();
copied to clipboard
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
},
);
copied to clipboard
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
);
copied to clipboard
Add watermark images from various sources File, Asset and Network.
WatermarkSource.file(imagepath)
copied to clipboard
WatermarkSource.asset(assetpath)
copied to clipboard
WatermarkSource.network(imageUrl)
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.