Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st July 2003, 11:39   #1  |  Link
snowbeach
Regional Support
 
snowbeach's Avatar
 
Join Date: Apr 2002
Location: Ground-Zero
Posts: 214
LanczosResize usage?

Have a question regarding the usage of Lanczos.

I want to encode to MPEG-2 and my question is how to resize correctly? I am confused about the LanczosResize in my .avs script, if it is correct... Thanks in advance for clearing this up, at least for me.

LanczosResize(720,368,0,48,720,368) #<- is this line correct, esp. 0,48?
AddBorders(0,48,0,64)
snowbeach is offline   Reply With Quote
Old 1st July 2003, 11:49   #2  |  Link
AmiRage
Registered User
 
Join Date: Apr 2002
Posts: 87
This line doesn't make sense as your resize target size and your crop target size are exactly the same: 720,368.
AmiRage is offline   Reply With Quote
Old 1st July 2003, 12:01   #3  |  Link
snowbeach
Regional Support
 
snowbeach's Avatar
 
Join Date: Apr 2002
Location: Ground-Zero
Posts: 214
Thanks for the very fast answer! I have a NTSC source. Should it be then?

LanczosResize(720,480,0,48,720,368) #<- is this line correct, esp. 0,48?
AddBorders(0,48,0,64)

or

LanczosResize(720,368,0,48,720,480) #<- is this line correct, esp. 0,48?
AddBorders(0,48,0,64)

or should I use

crop(0,48,720,368)
LanczosResize(720,368)
AddBorders(0,48,0,64)
snowbeach is offline   Reply With Quote
Old 1st July 2003, 12:31   #4  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
crop(0,48,720,368) # new res: 720x368
LanczosResize(720,368) # new res: 720x368 (thus nothing happens)
AddBorders(0,48,0,64)
# new res: 720x480
So you are basically cropping and adding the borders again. If you are doing a dvd -> dvd conversion, you don't need to do anything. What do you want to do?
Wilbert is offline   Reply With Quote
Old 1st July 2003, 12:51   #5  |  Link
snowbeach
Regional Support
 
snowbeach's Avatar
 
Join Date: Apr 2002
Location: Ground-Zero
Posts: 214
I am doing a DVD->DVD conversion. The fact, why I am cropping and adding borders again was the thought to increase (maybe) the picture quality of the video during encoding, in other words not to waste bitrates on the black areas. That is why I crop (in macroblocks). What do you think?
snowbeach is offline   Reply With Quote
Old 2nd July 2003, 05:20   #6  |  Link
bewley
Registered User
 
bewley's Avatar
 
Join Date: Jan 2003
Location: New Orleans, USA
Posts: 3
If you just want to add borders, give Letterbox a try.

A simple Letterbox(48,64) would do the same thing as the crop. To save more bits, you could try doing Letterbox(48,64,16,16)... Besides the top and bottom borders, this will add borders to the far right and left hand sides of the film which usually "hide" within the TV.

Good Luck,

- bewley
bewley is offline   Reply With Quote
Old 10th July 2003, 11:55   #7  |  Link
snowbeach
Regional Support
 
snowbeach's Avatar
 
Join Date: Apr 2002
Location: Ground-Zero
Posts: 214
I read somewhere else that if I want to keep my DVDs for a long time, I should not do any cropping or adding black borders. Because in the future, when I get an HDTV these borders would show up, so I would not be using my HDTV to its full potential. It would look just as it does when I play it on my PC.
snowbeach is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.