I have a video and I would like to make the first 23 frames slowly fade in from a complete black screen and make the last 23 frames at the end slowly fade out to a complete black screen.
How would I do this with avisynth?
+ Reply to Thread
Results 1 to 10 of 10
-
-
Thanks, that works great.
What would I use if I want to fade together 2 scenes?
for instance lets say I trim the video like this.
__film = last
__t0 = __film.trim(47806, 49911)
__t1 = __film.trim(51900,51969)
__t2 = __film.trim(52169,53019)
__t0 ++ __t1 ++ __t2
What would I use if I wanted to fade in 15 frames between the 51969 end trim and 52169 start trim?
I'm not wanting a black fade in, I want the scene frames to fade/blend together by about 15-23 frames in length so it looks like a transition between scenes.
I only see how to fade in and out color frames, I didn't notice anything about what I just asked on that fade wiki page. -
-
This seems to work fine, but I want different frame counts between fades. Inserting a different number right after t1 gives an error so that's obviously not how to do it.
Dissolve(__t0, __t1, __t2, 10)
That uses 10 for all the fades though.
I want 6 for the first one (t0 - t1) and 10 for the second (t1 - t2).Last edited by killerteengohan; 4th Nov 2024 at 23:23.
-
This works, but now there's a problem.
Piece1 = Dissolve(__t0, __t1, 6)
Dissolve(Piece1, __t2, 10)
The number that I dissolve by gets removed from the frame count and its throwing the sync off because the video is not the same amount of frames anymore.
Am I even using this correctly? Can I not keep the same frame count when doing this? -
You can assign the whole video to another variable then use that for the second dissolve, ensuring the original frame numbers
-
No you always lose frames, unless you do something to add frames (e.g. duplicates or something else like interpolated frames to extend the clips) before hand
When you blend or crossfade 2 clips, there is overlap for the transition frames. So the duration is shorter
In this schematic - This is 6 frames long, because 2 frames were overlapped
Code:AAAA __BBBB
If there is no crossfade, the clips end to end are 8 frames
Code:AAAABBBB
Last edited by poisondeathray; 4th Nov 2024 at 23:31.
-
Similar Threads
-
SONY TRV27E - Records Blue Screen from Firewire and in Cam Black Screen?
By Amddurin in forum MediaReplies: 38Last Post: 12th Aug 2024, 11:06 -
black screen
By devdev in forum Capturing and VCRReplies: 0Last Post: 21st Apr 2023, 05:45 -
Unwanted Fade to Black
By Sgtpeprz in forum EditingReplies: 4Last Post: 17th Apr 2023, 15:38 -
Fade in/Fade out, remove beginning or ending, invert
By Shinnen in forum Newbie / General discussionsReplies: 3Last Post: 22nd Mar 2021, 18:38 -
Detecting fade to black combing
By ZetaStax in forum Video ConversionReplies: 10Last Post: 31st Jul 2020, 19:14