Sign In

Post #590121

Parent topic
Harmy's STAR WARS Despecialized Edition HD - V2.7 MKV IS OUT NOW
Link to post in topic
Date created
16-Aug-2012, 7:56 AM
Last modified
16-Aug-2012, 8:00 AM
Edited by
Reason for edit
None provided

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.