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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th June 2020, 20:32   #1  |  Link
Hotte
Registered User
 
Join Date: Oct 2014
Posts: 209
How do I make a transition using overlay

Hi,

I like to create a transition with overlay only and current_frame as trigger. For example if the transition takes 20 frames I would like to go

from clpNew = Overlay(clpOld,clpNew,opacity=0.05)
to: clpNew = Overlay(clpOld,clpNew,opacity=1.0)

I know to access current_frame I need to use ScriptClip, but I do not succeed to get even a simple statement to work. This crashes:

Code:
clpNew = ScriptClip(clpOld,"""Overlay(clpOld,clpNew,opacity=0.05)""")
Can sbdy help ?

Last edited by Hotte; 28th June 2020 at 20:39.
Hotte is offline   Reply With Quote
Old 29th June 2020, 03:11   #2  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
You can't use the Dissolve filter?
manono is offline   Reply With Quote
Old 29th June 2020, 10:19   #3  |  Link
Hotte
Registered User
 
Join Date: Oct 2014
Posts: 209
Thanks. I thought Dissolve would not make it because I am doing a full clip.length transition of the same clip filtered and unfiltered to achive a fading filter effect.

But your hint let me think and try again and now I nailed it with Dissolve.

Anyway would have been interesting to see, if/how current_frame and overlay interact.

But my original issue is solved.
Hotte is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.