Skip to content

AbdulBsit/action-watermark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Module for adding watermark to encoded video

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published