ahmedkandel / nova-s3-multipart-upload

A Laravel Nova resource tool to upload files directly to Amazon S3. You can (upload | download | delete) single, multiple, small or big files.
MIT License
22 stars 22 forks source link

Add a watermark to any video or image uploaded #15

Closed SargisBeglaryan closed 3 years ago

SargisBeglaryan commented 3 years ago

How can I automatically add watermark to video or image.

ahmedkandel commented 3 years ago

This is out of the package scope, But I may be helpful. The files get uploaded to S3 so the best implementation is to use AWS services for this task. So I think using AWS Elastic Transcoder and a Lambda function will achieve the task, please refer to this post. Then you can fire the Lambada function when the model gets updated.

Another suggestion maybe if you need to show the watermark only when displaying you can use front-end javascript libs like Video.js