For instance, draw 2 black rectangles (0,0,244,1080 & 1676,0,1920,1080) for a clip from 01:30 to 03:12.
+ Reply to Thread
Results 1 to 2 of 2
-
-
If those are x,y coordianates for top left, bottom right - they look like they correspond to 244 width, 1080 height , letterbox bars on a 1920x1080 frame - just crop and add borders
Use Trim and Aligned Spline to join the separate sections
Use the frame numbers that correspond to the time depending on your frame rate. You can use ShowTime() and or ShowFramenumber() in avisynth to preview the time and get the framenumber , or use an avs editor like avspmod that shows that info
Here is a demo script
Code:ColorbarsHD(1920,1080,"YV24") ConvertToYV12() Trim(0,10000) #ShowTime() #2698 - 5755 for 29.97FPS orig=last orig crop(244,0,-244,0) addborders(244,0,244,0) bars=last orig.Trim(0,2697) ++ bars.Trim(2698,5755) ++ orig.Trim(5756,0)
Another method is to use overlay , you can use non rectangular shapes with an alpha mask - but your case is probably simpler with crop and addborders
Similar Threads
-
Avisynth - How do I make a portion of the video completely black?
By VideoFanatic in forum RestorationReplies: 11Last Post: 14th Nov 2022, 20:47 -
How to draw a rectangle in Avisynth?
By ziptip in forum EditingReplies: 2Last Post: 17th Dec 2021, 21:34 -
MPC-HC: Output dynamic range / black level / color range stuck? Washed out
By vlad992 in forum Newbie / General discussionsReplies: 16Last Post: 10th Nov 2020, 07:54 -
Full Range to Limited Range Video
By chris319 in forum Video ConversionReplies: 42Last Post: 12th Aug 2020, 10:00 -
AviSynth: Use the first frame of the delayed video instead of a black one.
By irn-bru in forum EditingReplies: 2Last Post: 27th Aug 2018, 10:47