Sign In

Post #590121

Author
Laserschwert
Parent topic
Harmy's STAR WARS Despecialized Edition HD - V2.7 MKV IS OUT NOW
Link to post in topic
https://originaltrilogy.com/post/id/590121/action/topic#590121
Date created
16-Aug-2012, 7:56 AM
Last modified
16-Aug-2012, 8:00 AM
Edited by
Laserschwert
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.