Zephie-chan
17th March 2007, 08:51
Warning: I'm very much a newbie, so this question is probably addressed somewhere already, and I apologize ahead of time.
It's a question about using images in AVISynth, or a logo if you prefer. I have searched this forum and have been successful in finding what I've needed up to 'till now, but I'm kinda stumped as to how to find/figure out this particular bit:
I want to display the logo only for specific frames (like only for frames 480 through 1002). This is what I've gathered so far with help from various places:
logoImage = ImageReader("C:\Video\image_logo.bmp")
logoMask = ImageReader("C:\Video\image_mask.bmp")
AVISource("C:\Video\video.avi")
ChangeFPS(23.976)
Overlay(logoImage, x=(Width() - logoImage.Width()), y=(Height() - logoImage.Height()), mask=logoMask)
This works and displays exactly the image I want, but for the entire video, from frame zero to end. How can I modify the above to only display on the frames that I want?
And while I'm asking this question, just so I don't have to post again if I can't figure out how to implement it myself: I want said logo to fade in, but not fade out. I assume I'd only have to use the FadeIn() function? Where and how would I format that fade into the script?
Any help would be appreciated. Thank you.
It's a question about using images in AVISynth, or a logo if you prefer. I have searched this forum and have been successful in finding what I've needed up to 'till now, but I'm kinda stumped as to how to find/figure out this particular bit:
I want to display the logo only for specific frames (like only for frames 480 through 1002). This is what I've gathered so far with help from various places:
logoImage = ImageReader("C:\Video\image_logo.bmp")
logoMask = ImageReader("C:\Video\image_mask.bmp")
AVISource("C:\Video\video.avi")
ChangeFPS(23.976)
Overlay(logoImage, x=(Width() - logoImage.Width()), y=(Height() - logoImage.Height()), mask=logoMask)
This works and displays exactly the image I want, but for the entire video, from frame zero to end. How can I modify the above to only display on the frames that I want?
And while I'm asking this question, just so I don't have to post again if I can't figure out how to implement it myself: I want said logo to fade in, but not fade out. I assume I'd only have to use the FadeIn() function? Where and how would I format that fade into the script?
Any help would be appreciated. Thank you.