Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HolyWu committed Aug 21, 2014
1 parent 4982cf1 commit 04198ed
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
VapourSynth-AddGrain
====================
Description
===========

VapourSynth port of AddGrainC
AddGrain generates film like grain or other effects (like rain) by adding random noise to a video clip. This noise may optionally be horizontally or vertically correlated to cause streaking.

Ported from AviSynth plugin http://forum.doom9.org/showthread.php?t=111849


Usage
=====

grain.Add(clip clip[, float var=1.0, float uvar=0.0, float hcorr=0.0, float vcorr=0.0, int seed=-1, bint constant=False])

- var, uvar: The standard deviation (strength) of the luma and chroma noise, 0 is disabled.

- hcorr, vcorr: Horizontal and vertical correlation, which causes a nifty streaking effect. Range 0.0-1.0

- seed: Specifies a repeatable grain sequence. Set to at least 0 to use.

- constant: Specifies a constant grain pattern on every frame.

0 comments on commit 04198ed

Please sign in to comment.