action-watermark
v1.0.8
Published
Action Module for adding watermark to encoded video using nexrenderer
Downloads
5
Readme
action-watermark for Nexrenderer
Module for adding watermark to encoded video
Action: Add Watermark
Add watermark to your encoded video, You don't need to have ffmpeg installed on your system.
Installation
npm install action-watermark
Usage
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"
}
]
}
}
Information
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