Watermark2
From Avisynth wiki
(Difference between revisions)
(Watermark2: add documentation) |
(add archived downloads section) |
||
| (4 intermediate revisions by one user not shown) | |||
| Line 2: | Line 2: | ||
{{Filter3 | {{Filter3 | ||
| [http://sourceforge.net/u/phillvanleersum/profile/ DrPhill], {{Author/StainlessS}} | | [http://sourceforge.net/u/phillvanleersum/profile/ DrPhill], {{Author/StainlessS}} | ||
| − | | | + | | v2.10 |
| − | |[ | + | |[https://web.archive.org/web/20200602211153if_/https://files.videohelp.com/u/223002/WaterMark2_dll_v2.10_x86_x64_20180218.zip WaterMark2_dll_v2.10_x86_x64_20180218.zip] |
| Layering | | Layering | ||
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | | [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
| Line 17: | Line 17: | ||
* [x64]: [[AviSynth+]] | * [x64]: [[AviSynth+]] | ||
* Supported color formats: [[RGB32]] | * Supported color formats: [[RGB32]] | ||
| − | * Microsoft Visual C++ 2008 Redistributable | + | <br> |
| + | * [https://www.microsoft.com/en-us/download/details.aspx?id=26368 Microsoft Visual C++ 2008 Redistributable Package (x86 / x64)] | ||
| + | :<span style="color:red">***</span> <tt>vcredist_x86.exe</tt> is required for <tt>Watermark2-x86</tt> | ||
| + | :<span style="color:red">***</span> <tt>vcredist_x64.exe</tt> is required for <tt>Watermark2-x64</tt> | ||
<br> | <br> | ||
| Line 51: | Line 54: | ||
<br> | <br> | ||
== Changelog == | == Changelog == | ||
| − | Version Date Changes | + | <pre> |
| − | v2.10 2018/02/18 - | + | 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 | ||
| + | </pre> | ||
| + | <br> | ||
| + | == Archived Downloads == | ||
| + | {| class="wikitable" border="1"; width="600px" | ||
| + | |- | ||
| + | !!width="100px"| Version | ||
| + | !!width="150px"| Download | ||
| + | !!width="150px"| Mirror | ||
| + | |- | ||
| + | !v2.10 | ||
| + | |[https://web.archive.org/web/20200602211153if_/https://files.videohelp.com/u/223002/WaterMark2_dll_v2.10_x86_x64_20180218.zip WaterMark2_dll_v2.10_x86_x64_20180218.zip] | ||
| + | |[http://www.mediafire.com/file/61ugwwvvc7rx111/WaterMark2_dll_v2.10_x86_x64_20180218.zip/file WaterMark2_dll_v2.10_x86_x64_20180218.zip] | ||
| + | |} | ||
<br> | <br> | ||
== External Links == | == External Links == | ||
Latest revision as of 22:14, 2 June 2020
| Abstract | |
|---|---|
| Author | DrPhill, StainlessS |
| Version | v2.10 |
| Download | WaterMark2_dll_v2.10_x86_x64_20180218.zip |
| Category | Layering |
| License | GPLv2 |
| Discussion | Doom9 Forum |
Contents |
[edit] 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
[edit] 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
[edit] 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
[edit] Examples
[edit] 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
[edit] Archived Downloads
| Version | Download | Mirror |
|---|---|---|
| v2.10 | WaterMark2_dll_v2.10_x86_x64_20180218.zip | WaterMark2_dll_v2.10_x86_x64_20180218.zip |
[edit] External Links
Back to External Filters ←