Quantcast Avisynth: Addborder? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
08-16-2003, 03:59 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
Can someone tell me, what does Addborder do, how does it work? Or can you point me to a readme or something

//Wolfi
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-16-2003, 04:59 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Avisynth manual that is on you disc, in the directory of avisynth2.52 (folder named "Docs", simple no ?

Or There
Reply With Quote
  #3  
08-17-2003, 07:17 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
Addborder adds black borders and letterbox cuts them of, have I understand it right?

//Wolfi
Reply With Quote
  #4  
08-17-2003, 12:54 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
No, you make a mistake :

Addborders adds borders around the picture, making the size of the picture to change (if you have a 320*240 picture and add a 8 pixels border of all four side - Addborders(8,8,8,8 ) - you will have a picture of 336*256)

Letterbox puts borders onto the picture, without changing the size of the picture (if you have a 320*240 picture and add a 8 pixels border of all four side - Letterbox(8,8,8,8 ) - you will still have a picture of 320*240)
Reply With Quote
  #5  
08-17-2003, 02:05 PM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
So why do you wanna add borders around the picture to make the resolution bigger? Won't that lower the CQ and than the quality?

//Wolfi
Reply With Quote
  #6  
08-17-2003, 02:09 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
good question.


yeah...why
Reply With Quote
  #7  
08-17-2003, 02:14 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Wolfi
So why do you wanna add borders around the picture to make the resolution bigger? Won't that lower the CQ and than the quality?

//Wolfi
You're making the actual "FILM PIXELS" area smaller. Not larger

-kwag
Reply With Quote
  #8  
08-17-2003, 02:51 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

now is worse for me!

Phil wrote:
"Addborders adds borders around the picture,
making the size of the picture to change ..."

wolfi ask:
"So why do you wanna add borders around the
picture to make the resolution bigger? "

Kwag answer:
"You're making the actual "FILM PIXELS" area smaller. Not larger "


then i misunderstand everything!

now i need help.
Reply With Quote
  #9  
08-17-2003, 03:32 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Take a big breath Jorel and relax. Everything is under control

We NEVER resize a picture to 352*240 picture and add a 8 pixel border. We first do a picture of 336*224 pixels (by resizing) and THEN add the border in order to obtain the valid resolution for VCD 352*240.

Of course, that is the same thing whatever the res you use, I just give you an example.

352*240 is the picture size and 336*224 is the film area

You do this everyday is you use Moviestacker and you never notice this ?
[/code]
Reply With Quote
  #10  
08-17-2003, 04:04 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
oh yes Phil,
and i use addborders....i did like"blind flight",
now i "see" how it works!

thanks!
Reply With Quote
  #11  
08-18-2003, 08:04 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
If I've understand it all right... addborder deletes for example 8 pixels of the film area, and the 8 pixels film area who deletes compensates with 8 pixels blackboarders on each side (Addborders(8,8,8,8 ) ) , am I right

So why do you do this, why add 8 pixels black borders? Is it because you wont see those 8 pixels anyway when you look at the telvision?

//Wolfi
Reply With Quote
  #12  
08-18-2003, 08:15 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Wolfi
If I've understand it all right... addborder deletes for example 8 pixels of the film area, and the 8 pixels film area who deletes compensates with 8 pixels blackboarders on each side (Addborders(8,8,8,8 ) ) , am I right
No That is Letterbox that does that !
That's what I wanted to say by "onto" the picture for letterbox (vs "around" for addborder). Perhaps my english is too poor to make you understand the difference. Kwag help me please

Quote:
So why do you do this, why add 8 pixels black borders? Is it because you wont see those 8 pixels anyway when you look at the telvision?
Yes it is ! That what is called the "TV overscan" : TV sets are setted to "eat" a part of the image on every side. So its useless to put image there and a black border will take less place to encode.
Reply With Quote
  #13  
08-18-2003, 11:59 AM
Wolfi Wolfi is offline
Free Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 489
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Wolfi Send a message via MSN to Wolfi Send a message via Yahoo to Wolfi
No Dialhot I think your english is great, better then mine at least I'm not done with learning english in school, 15 years old so I have a few years of english infront of me to learn...so sometimes I dont understand "hard" sentences clearerly right

And now to the point...so you can say both letterbox and addborders saves quality

//Wolfi
Reply With Quote
  #14  
08-18-2003, 03:09 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Yes they do !

In fact I use Letterbox only in one case : when the source size matches exactly the destination size I want. In this case, using Addborders will ask for a resizing (because, as you understood I hope, Addborders changes the size of the picture) and I prefer to avoid it.
Reply With Quote
Reply







 
All times are GMT -5. The time now is 12:00 AM  —  vBulletin © Jelsoft Enterprises Ltd