Hello guys
i havent work with avisynth for very long time and i need your help!
I need Fade In and Out effect in a video many times in different frames!
For example
Fade In - from frame 1 to 20
Fade Out - from frame 280-300
Fade In - from 300-320
FadeOut - 600-630
and so on?
how must the script look like for that?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
This will give you 20 frame fade in and fade out on each segment:
Code:WhateverSource(...) v1=Trim(0,299).FadeIO0(20) v2=Trim(300,599).FadeIO0(20) v3=Trim(600,0).FadeIO0(20) v1++v2++v3
Code:WhateverSource(...) v1=Trim(0,299).FadeIn0(20).FadeOut0(20) v2=Trim(300,599).FadeIn0(20).FadeOut0(30) v3=Trim(600,0).FadeIn0(20).FadeOut0(30) v1++v2++v3
-
You might find this function useful. It fades out at the selected cut point, then back in. You can specify the number of frames for the fadeout and the fadein.
Code:######################################################################## # # Cut a clip into two parts at the indicated CutPoint. FadeOut0() the # first part over OutFrames (or 20 if not specified). FadeIn0() the # second part over InFrames (or same as OutFrames if not specified). # Then join them back together. # ####################################################################### function FadeOutIn(clip v, int CutPoint, int "OutFrames", int "InFrames") { OutFrames = default(OutFrames, 20) InFrames = default(InFrames, OutFrames) v.Trim(0,CutPoint).FadeOut0(OutFrames)++v.Trim(CutPoint+1,0).FadeIn0(InFrames) } ####################################################################### WhateverSource(...) FadeOutIn(300) # fade out over 20 frames, in over 20 frames, at frame 300 FadeOutIn(600, 30) # fade out over 30 frames, in over 30 frames at frame 600 FadeOutIn(900, 30, 5) # fade out over 30 frames, in over 5 frames, at frame 900
-
You could use the curve editor in Virtualdub also. Here is a guide...
https://forum.videohelp.com/threads/334340-Problems-re-using-VirtualDub?p=2074637&viewf...=1#post2074637 -
Similar Threads
-
How to Fade In/Fade Out Audio Clips in VSDC Free Video Editor?
By BSquared18 in forum EditingReplies: 15Last Post: 6th Mar 2015, 22:44 -
Fade in and fade out an mp4
By loninappleton in forum EditingReplies: 29Last Post: 21st Jan 2015, 13:17 -
Rotation effect as a fade?
By terrypin in forum Newbie / General discussionsReplies: 12Last Post: 11th Dec 2014, 01:38 -
"fade in / fade out" AC-3 using cmd tool
By adom in forum Video ConversionReplies: 3Last Post: 17th Jan 2013, 05:44 -
Fade to black effect
By kimstips in forum Newbie / General discussionsReplies: 3Last Post: 10th Apr 2011, 12:03