I have a set of 64 frames with a 200x200 box overtop of a black background and I want to replace that box with a 200x200 black box from another source or just draw a 200x200 black box over top of it, but am unsure of how to do this.
I was looking into the Overlay section, but can't really think of a way to make it not do the entire image...
+ Reply to Thread
Results 1 to 9 of 9
-
-
Code:
WhateverSource() # get source video box = BlankClip(last).Crop(0,0,200,200) # create a black clip with same properties as source, crop to 200x200 Overlay(last, box, x=0, y=0) # overlay the the box at 0,0, or wherever you need it
Last edited by jagabo; 17th Dec 2016 at 07:49.
-
That would work, but there is some text at the very bottom of the frame that I do not want to crop away.
-
Jagabo gave you the code, but you still need to make some modifications yourself to make it work the way you want.
-
I originally posted Crop(0,200,-0,-0).AddBorders(0,200,0,0) thinking that the video was 200 pixels wide. But after a while I thought maybe that wasn't the case and updated the post. And updated the post again with more comments. I don't know which he was responding to.
-
Ya, I was replying to his original reply before he edited it. The edited one worked like a charm though.
Thanks so much!
Similar Threads
-
part progressive, part interlaced - correct avisynth coding question
By pooksahib in forum Video ConversionReplies: 14Last Post: 15th Dec 2016, 13:21 -
DVD - part Interlaced, part Progressive(???)
By pooksahib in forum Video ConversionReplies: 27Last Post: 27th Mar 2016, 06:52 -
How to find out frame exposure time in a variable frame rate .mov file...
By bananas100 in forum EditingReplies: 5Last Post: 24th Oct 2014, 19:18 -
How to convert *.mkv to *.avi with copy video part and re-encode audio part
By pxstein in forum Video ConversionReplies: 13Last Post: 1st Aug 2014, 10:24 -
Replacing part of a DVD with black frames?
By Killer3737 in forum EditingReplies: 2Last Post: 26th Dec 2011, 22:19