Watermark2
From Avisynth wiki
| Abstract | |
|---|---|
| Author | DrPhill, StainlessS |
| Version | v2.10 |
| Download | WaterMark2_dll_v2.10_x86_x64_20180218.zip |
| Category | Layering |
| License | GPLv2 |
| Discussion | Doom9 Forum |
Contents |
Description
Creates a transparent deformation in the video akin to a watermark. The watermark is defined by a black and white image which may be a dynamic image. The intensity of the effect is controlled by several parameters
Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- Supported color formats: RGB32
- *** vcredist_x86.exe is required for Watermark2-x86
- *** vcredist_x64.exe is required for Watermark2-x64
Syntax and Parameters
- Watermark2 (clip clip, clip "watermark", int "displace", int "light", int "depth", bool "softEdge", string "lightFrom")
- clip =
- Input clip, colorspace must be RGB32
- clip =
- clip watermark =
- Watermark clip; colorspace must be planar YUV and must have the same dimensions as the input clip. Mask is taken from the luma channel (Y).
- clip watermark =
- int displace = 10
- Maximum displacement of the image (range 0 -> 100).
- int displace = 10
- int light = 200
- Maximum lightening/darkening of the image (range 0 -> 1000).
- int light = 200
- int depth = 5
- Amount of sloping border (range 0 -> 100).
- int depth = 5
- bool softEdge = true
- Default true, 'round' the sloping border (false -> 'straight' or 'hard' border).
- bool softEdge = true
- string lightFrom = NE
- Default "NE", illumination direction N/S & E/W in logical combinations.
- Default or error = "NE", Strings case insensitive.
- string lightFrom = NE
Examples
Changelog
Version Date Changes
v2.10 2018/02/18 - Mod by StainlessS
- Considerably faster where single frame watermark.
- I took the opportunity to mod the WATER_SWITCH from 32 to 128,
Watermark Luma Black is Y less than 128, white as greater or equal to 128.
2017/12/05 - Mod by StainlessS
- Change name to Watermark2
- Fixed a couple of bugs and convert to CPP plugin.
2012/01/29 - Code tidying; changes:
* Used malloc/free instead of new/delete.
* Used size_t where it seemed appropriate.
* Set the values in params for each frame get.
* malloced memory for the duration of frame get (is this a good or bad idea?).
* Used some #defines to clarify code.
* Reorganised the main algorithm to make it clearer (an a little slower, probably).
2012/01/26 - Implement dynamic watermarking.
2012/01/26 - New features:
* Specify light direction
* Specify light amount
* soft or hard edges
* depth
* image displacement
2012/01/25 - Initial release by DrPhill
Archived Downloads
| Version | Download | Mirror |
|---|---|---|
| v2.10 | WaterMark2_dll_v2.10_x86_x64_20180218.zip | WaterMark2_dll_v2.10_x86_x64_20180218.zip |
External Links
Back to External Filters ←