Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
29th December 2016, 17:20 | #1 | Link |
Registered User
Join Date: Nov 2016
Posts: 151
|
GrainPlate function
Code:
############################################################################################ ### GrainPlate 1.0: add real grains to your clip! ### ### ### ### Usage: GrainPlate(clip, strenght) ### ### where strenght range goes from 0 (clip untouched) to 1 (max strenght) ### ### ### ### Just add your own grain plate, there are many free to download over the web. ### ### Hints: NEVER upscale/downscale a grain plate; choose one with the same size of your ### ### clip, or bigger; choose only REAL film grain, and not recreated. ### ### ### ### AviSynth script made by spoRv (http://blog.sporv.com) - Created: 2014-06-18 ### ### Updated: 2016-12-29 ### ### ### ### Creative Commons 4,0 - Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ### ### Link to the licence page: https://creativecommons.org/licenses/by-sa/4.0/ ### ############################################################################################ function grainplate (clip clip, "strength") { strength = default( strength, 0.25) grain=avisource("putyourowngrainplatefilehere.avi")\ .crop(0,0,clip.width,clip.height).loop.trim(0,clip.framecount-1) return overlay(clip.tweak(bright=1),grain,mode="softlight",opacity=strength) } Enjoy it, and Happy New Year to everyone! |
Tags |
grain, grain plate, grainplate, grainplates, grains |
Thread Tools | Search this Thread |
Display Modes | |
|
|