PDA

View Full Version : Fade In using Dissolve???


Guncotton
23rd November 2001, 01:05
I know that this question has been asked several times but I'll ask again. How does one Fade In using the filters in AviSynth?

This is what I came up with but it doesn't work...

Backdrop = BilinearResize(AssumeFPS(Blackness(120), 23.976), 640, 256)

Tag = Subtitle(Backdrop, "Guncotton Presents", 170, 128, 0, 120, "Blood of dracula", 50 ,$FF0000)

Dissolve(Backdrop, Tag, 48)


I'm I using the Dissolve filter wrong? Any help would be appreciated.

-GC

*Edit*

Well, I feel stupid since this is a symmetric clip I could use FadeOut(48).Reverse.

tenebrenz
1st December 2001, 01:32
I once did a fade in with the animate command using levels, worked with no probs. Would seem less likely to cause probs than reversing the clip ;)

Guncotton
8th December 2001, 13:36
thats a cool idea...never thought of it. Do you still have the syntax for doing it that way?

tenebrenz
10th December 2001, 01:52
Here you go

Avisource("d:\video\charlotte.avi")
Animate(0,125,"Levels", last,0,1,255,0,0, last,0,1,255,0,255)

macdaddy
10th December 2001, 05:21
I started this thread (http://rilanparty.com/vbb/showthread.php?s=&threadid=8997) a while back when looking to fade-in the video. The solution (script) I posted towards the bottom of that thread has been working for me ever since...

I hope this helps; it seems like you were interested in alternate solutions (other than using Dissolve-which I do not know how to do).

Guncotton
11th December 2001, 05:40
Thanks for all the replies guys...I'll check out all the methods and pick a favorite. Any chance any of you know anything about using the "BlankClip" command?

trbarry
11th December 2001, 16:32
If "video" is your video clip then

blanks=BlankClip(video,300)

will make a blank black clip 300 frames long with the matching attributes, and call it "blanks".

- Tom

Guncotton
18th December 2001, 09:52
Well, hell specifying a template works all of a sudden. I guess that I must have had an error in my script the first time I wrote it. Avisynth keep telling me that the template was not valid for blankclip.

Thanks for making me revist my code, trbarry

Cheers,
GC