|
|
Hello,
I've a video, but it's too small. I want to have a 16:9 format video, but I won't have a video just stretched up to 16:9 format of course. So I want to add black borders (at top and bottom).I want to do this with Avisynt (using the GUI AVSEdit). Does someone know how my avs-script should be?
Thnx in advance
Oddly enough, there's a function called AddBorders in avisynth. Its syntax is all in the manual and online on the wiki.
assuming NTSC:
addborders(0,(480-last.height)/2,0,(480-last.height)/2)
for PAL, change the 480 to 576...
Assuming last.height is even that is.
Edit: In fact I made an avsi file to do resizes to dvd size just the other day.
FAVCResize.avsi (Right-Click gt; Save As ...)
You Import it by adding
import(quot;C:\blah\blah\blah\FAVCResize.avsiquot;)
to your script, and then just use:
FAVCResize(last, PAL)
or
FAVCResize(last, NTSC)
It assumes 4:3 aspect ratio for an apsect ratio of less than 1.75 and a 16:9 aspect ratio otherwise.
FitCD will calculate the script portion you are looking for. |
|