Module for adding watermark to encoded video
Add watermark to your encoded video, You don't need to have ffmpeg installed on your system.
npm install action-watermark
When creating your render job provide this module as one of the postrender
actions:
// job.json
{
"actions": {
"postrender": [
{
"module": "action-watermark",
"input": "input.mp4",
"watermark": "http://assets.stickpng.com/images/5cb78678a7c7755bf004c14c.png",
"output": "output.mp4",
"position": "center"
}
]
}
}
output
(required) is a path on your system where result will be saved to, can be either relative or absoulte path.input
(required) path of the video file you want to add video to, can be either relative or abosulte path. Defaults to current job output video file.watermark
(required) is url to a watermarkposition
(optional) can betop-left
ortop-right
orbottom-left
orbottom-right
orcenter
(Default)onStart
(optional) callback function runs on StartonComplete
(optional) callback function runs on Finished