hi, this is my script:
AVISource("c:\...\.avi")
LoadPlugIn("c:\...\fdecimate.dll")
fdecimate()
assumefps(25)
addborders(0, 48, 0, 48)
LanczosResize(720,576)
ConvertToYUY2()
Why and when do you add borders? i just dont understand, or is it that you can add borders to any video or is it meant to be for some videos?
Please someone fill me in with this, i cannot understand, i've read the avisynth "keyword explanation" thing but that doesnt give much info.
Many thanks and any help is appreciated
zig
+ Reply to Thread
Results 1 to 9 of 9
-
-
You can use the add borders command along with the crop and resize commands to preserve/restore proper aspect ratios to a video clip. Is there something in particular you have in mind?
flonk! -
i been using dvd2svcd for a while now and i have a habit of reading the avs script that it produces, i notice that it uses the "addborders" for a number of different files.
Example:
File_a.avi - addborders(0, 48, 0, 48)
File_b.avi - addborders(0, 72, 0, 72)
what i want to know is how did dvd2svcd fiquire out these numbers ? ... i need to know manually as im starting to create my own avs script.
im finding it difficult to explain myself. lol
I need say a "full" synoposis of the "addborders" command, like why do we add borders, and when should we use different number of pixels for the border.
I now know that our input file will "differ" the addborders command, i need to know why that border was created - the reason... did that make sensem i know its hard to explain yourself somtimes, sorry
thanks
zig -
It would help if you gave us the dimension of the video.
My guess is that File_b is Widescreen. -
The addborders command allows you to keep the aspect ratio after cropping. Otherwise, things get stretched.
It also helps in the encoding department..As far as i know, the result of the addborder() command, is that unnessecary encoding doesn't happen. This allows more bitrate to go to the video rather than empty black space... -
yes but i need to know what number i should use for the addborders. I'd like to create avs scripts and load them straight into cce.
608 x 256 is my avi input.
what im trying to ask is... when/why should i use addborders? and when should i use a certain pixel number?
So 48 and 72 are the only 2 add borders number? this is what im getting at... how do you determine the add border number? -
wowza guns1inger, fast reply!
thats exactly what im looking for, thank you very much... i thought knowone would understand what i was on about, lol, thanks man
zig -
Originally Posted by ZiGGY909
Sometimes it's simple. For instance, I have downloaded videos that were widescreen and the person that encoded them cropped off the black borders at the top and bottom for whatever reason. Simple math there. Divide the number of lines missing by two and add that many to the top and bottom of the frame. Assuming you aren't adding borders to a cropped PAL source and resizing to an NTSC frame size, everything is fine and the aspect ratio doesn't get skewed. Frame rates can help determine what your source video is if you aren't sure.
There are sections at the top left hand side of the pages at this site that detail the standards called out in the DVD-Video specification. Read up some and maybe it will make a little more sense to you.flonk!
Similar Threads
-
question about batchfile "taskkil" command for audiorepeater.exe
By Ennio in forum AudioReplies: 0Last Post: 12th Apr 2012, 10:17 -
Batch create simple ("DirectShowSource") .AVS files?
By Asterra in forum Newbie / General discussionsReplies: 8Last Post: 10th May 2011, 00:46 -
AVS Media "demo" file-conv S/W inserts voice into cvtd music files
By charlessmall18 in forum AudioReplies: 0Last Post: 2nd May 2010, 16:17 -
AVS Video Editor Blu-ray verification slow and "driver package" suggested.
By rjamesd05 in forum Authoring (Blu-ray)Replies: 0Last Post: 26th Mar 2010, 07:01 -
".mkv" to "DVD" with CCE encoder
By chrchr in forum Authoring (DVD)Replies: 17Last Post: 28th Jan 2010, 13:01