View Single Post
Old 30th December 2018, 22:27   #10  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by varekai View Post
Oh... how I wish I could understand how this could help me...
Not sure that it can, I assumed that you do not want to re-encode the clip because of the ffmpeg requirement.

But In Avisynth eg,
Code:
BTOP=100 # or whatever, best be a multiple  of two
BBOT=100 # Ditto

AviSource("...")
AddBorders(0,BTOP,0,BBOT,Color=$000000) # Black
Return Last
There is also LetterBox which is sort of Crop and Addborders combined(result frame size does not change):- http://avisynth.nl/index.php/Letterbox

I do note that the old Letterbox docs were wrong,
Letterbox(clip,int top,int bottom,int "left",int "right",int "color")
Left and Right were never args to letterbox, should have been x1 and x2.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote