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. |
30th November 2008, 11:26 | #1 | Link |
Registered User
Join Date: Mar 2005
Posts: 457
|
Overlay Picture with gradually Appearing/Dissolve
Hi,
i have a simple situation, but at the moment i don't see a solution with avisynth. I don't want to use After Effects. That's it: I have a picture (say a logo) png, (with or without transparency). I just want this pic to start appearing gradually from nothing at frame x, and gradually disappearing into nothing (dissolve) at frame y. I havent' been able to do it at this moment. Someone can help me? Thank you very much. |
30th November 2008, 11:35 | #2 | Link |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
You can do this using Overlay and ConditionalReader.
See this example. |
30th November 2008, 20:07 | #3 | Link |
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
You can try something like this:
Code:
start_frame = 10 end_frame = 1000 fade_frames = 25 fps = 25 logo = mask(imagereader("logo.png", fps = fps) \ ,imagereader("masq.png", fps = fps)) \ .trim(0,end_frame-start_frame).fadeIO(fade_frames) src = last.trim(start_frame,end_frame) clip = layer(src,logo,op="add",level=128) start = last.trim(0,start_frame-1) end = last.trim(end_frame+1,0) start+clip+end |
30th November 2008, 21:29 | #4 | Link |
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
I have an example at:
http://www.avisynth.org/stickboy/etc/logo-example.zip |
1st December 2008, 15:49 | #5 | Link |
Registered User
Join Date: Nov 2005
Posts: 693
|
Hi 3ngel,
A couple of months ago I had the same problem/question. Maybe you'll find my thread usefull. Here you can download a sample of the first 20sec of the eventual video I made (with the image overlay during the first seconds): Paradigit ELE Rally 2008 Compilation v2 _Reino_1.mkv - 3.66MB
__________________
My hobby website |
Thread Tools | Search this Thread |
Display Modes | |
|
|