View Single Post
Old 30th December 2018, 15:34   #4  |  Link
Qaenos
Registered User
 
Join Date: Oct 2018
Posts: 35
Is this what you are trying to do:

YourVideo = ColorBars(640,480) # This should be the video you are adding black bars to. I'm using ColorBars as a test.
BarH = 100 # Your desired height of each black bar
BarW = YourVideo.Width # Width of black bar has to be the same as your video
BlackBar = BlankClip(YourVideo, Width = BarW, Height = BarH) # Create a black bar using your video as a template (so that the pixel type, fps, etc. match)
FinalVideo = StackVertical(BlackBar, YourVideo, BlackBar) # Place a black bar on top and below your video
Return FinalVideo
Qaenos is offline   Reply With Quote