logo Sign In

Post #590121

Author
Laserschwert
Parent topic
Harmy's STAR WARS Despecialized Edition HD - V2.7 - MKV (Released)
Link to post in topic
https://originaltrilogy.com/post/id/590121/action/topic#590121
Date created
16-Aug-2012, 7:56 AM

Harmy said:


How do I add a BMP picture into the script to replace that one frame?

video = AviSource("c:\video.avi")

fix = ImageSource("c:\fix.bmp", end=1)

video.trim(StartFrame, FrameBeforeGlitch) + fix + video.trim(FrameAfterGlitch, EndFrame)

return last

"StartFrame", "FrameBeforeGlitch", "FrameAfterGlitch" and "EndFrame" have to be replaced with the according frame numbers, of course. This of course has to be incorporated into your existing script, so I don't know what kind of frame rate settings or other stuff you have in there.