1.0.8 • Published 3 years ago

action-watermark v1.0.8

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

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 watermark
  • position (optional) can be top-left or top-right or bottom-left or bottom-right or center (Default)
  • onStart (optional) callback function runs on Start
  • onComplete (optional) callback function runs on Finished
1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

4 years ago

1.0.2

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago