Jonaldinho
7th August 2011, 17:10
Hi, i'm trying to add a picture to the end of a video in avisynth. I want the image to display for 10 seconds. I want the video to fade out to black and the picture to fade in from black. I have already managed to do this, I just don't know how to add the picture to the end of the video.
Here's my video script:
vid=DirectShowSource("C:\Capture\Example Video.GRF", audio=false).AssumeBFF()
aud=DirectShowSource("C:\Capture\Example Audio.GRF", video=false)
AudioDub(vid, aud)
ConvertToYV12(interlaced=true)
Load_Stdcall_Plugin("O:\MeGUI\tools\yadif\yadif.dll")
Yadif(order=0)
LanczosResize(852,480) # Lanczos (Sharp)
LoadPlugin("O:\MeGUI\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise
__film = last
__t0 = __film.trim(290, 5636)
__t0
Fadeout2 (25)
Here's my picture script:
ImageSource("C:\Capture\Example.jpg", end = 250, use_DevIL=false).AssumeFPS(25, true)
ConvertToYV12(interlaced=false)
Fadein2 (25)
Any help appreciated.
Here's my video script:
vid=DirectShowSource("C:\Capture\Example Video.GRF", audio=false).AssumeBFF()
aud=DirectShowSource("C:\Capture\Example Audio.GRF", video=false)
AudioDub(vid, aud)
ConvertToYV12(interlaced=true)
Load_Stdcall_Plugin("O:\MeGUI\tools\yadif\yadif.dll")
Yadif(order=0)
LanczosResize(852,480) # Lanczos (Sharp)
LoadPlugin("O:\MeGUI\tools\avisynth_plugin\FluxSmooth.dll")
FluxSmoothST(7,7) # Medium Noise
__film = last
__t0 = __film.trim(290, 5636)
__t0
Fadeout2 (25)
Here's my picture script:
ImageSource("C:\Capture\Example.jpg", end = 250, use_DevIL=false).AssumeFPS(25, true)
ConvertToYV12(interlaced=false)
Fadein2 (25)
Any help appreciated.