Transition AlbertGasset

From Avisynth wiki
Jump to: navigation, search
Abstract
Author Albert Gasset
Version v0.4
Download transition_5F25_dll_20040123.zip
Category Transitions and Effects
License GPLv2
Discussion Doom9 Forum


Contents

[edit] Description

Transition plugin for AviSynth.


Note: Transition is a C-plugin so it must be loaded using LoadCPlugin, except if you're using AviSynth+, it allows autoloading of C-plugins.

[edit] Requirements


[edit] Syntax and Parameters

Transition (clip, clip clip2, int "frames", string "pattern", int "smooth", int "a_offset", int "a_frames")
Parameters
----------

    clip "clip"
        The first clip
        
    clip "clip2"
        The second clip
        
    int "frames"
        Length of the transition. Default is 0.
         
    string "pattern"
        Pattern of the transition. It must be the name of a built-in pattern or
        a 8/24/32 bpp bitmap file (in 24/32 bpp format only the blue channel is
        used). Default is pattern "", an all-zero bitmap. See below for the
        for the list of built-in patterns.

    int "snooth"
        To make a smoother transition. Valid range: from 0 to 7. Default is 0.
    
    int "a_offset"
        To make the transition of the audio start earlier or later than the
        video's. Value in FRAMES, not in samples (I think it's easier to work
        with frames).
        Note: audio is always in sync with video, it's the offset of the
        transition, not the offset of the audio (despite the name).
    
    int "a_frames"
        Length of the audio transition. If negative "frames" is used (same as
        video. Default is -1.


Built-in patterns
-----------------

    WipeLeft
    WipeRight
    WipeUp
    WipeDown
    WipeLeftUp
    WipeLeftDown
    WipeRightUp
    WipeRightDown
    WipeHorizontalIn
    WipeHorizontalOut
    WipeVerticalIn
    WipeVerticalOut
    WipeCenterIn
    WipeCenterOut
    RandomBlocks
    RandomLargeBlocks
    RandomSmallBlocks
    RandomVeryLargeBlocks
    RandomVerySmallBlocks


[edit] Examples

 clip1   = FFImageSource("bcn.jpg").Loop(50)
 clip2   = FFImageSource("bcn2.jpg").Loop(50)

 frames  = 50
 pattern = "transition.bmp"
 smooth  = 4

 t1 = Transition(clip1, clip2, frames, pattern, smooth)
 t2 = Transition(clip2, clip1, frames, pattern, smooth)

 return (t1++t2).Loop(10)


[edit] Changelog

Version      Date            Changes
v0.4 2004/01/23 - latest release


[edit] Archived Downloads

Version Download Mirror
v0.4 transition_5F25_dll_20040123.zip transition_5F25_dll_20040123.zip


[edit] External Links




Back to External Filters

Personal tools