Log in

View Full Version : Resize/AddBorders ?


Red Raven
18th July 2003, 17:24
Hi

I have a dvd with a 16:9 dar which when previewed in dvd2avi shows no black bars top/bottom,should i encode without using rezize/crop OR resize/addborders? :confused:

The script i'll use is as follows:

LoadPlugin("c:\temp\MPEG2DEC.DLL")
mpeg2source("c:\mydocuments\movie.d2v")
BicubicResize(???,???)
AddBorders(0,??,0,??)

If the movie needs to be resized & cropped/addborders can someone give details as to what dar i should crop/resize to? :confused:

Thanks!

edited:
I worked it out to the following.If the method i used is correct:
DVD DAR:720x576
576x16/9=1024 = 1024x576


LoadPlugin("c:\temp\MPEG2DEC.DLL")
mpeg2source("c:\mydocuments\movie.d2v")
BicubicResize(1024,576)
AddBorders(0,224,0,224)

Would this be correct?

DoW
18th July 2003, 18:54
DVDs are usually something like 720x480 for 'false' 4:3 aspect ratio. I say false because 4:3 is actually 640x480, and one usually needs to convert the video to 640x480 in the least to reduce the aspect ratio error introduced. Most people go smaller to reduce the size of the encode, but it introduces AR ratio error again. As for the 16:9 encode, I would not suggest upsizing the video. Upsizing the resolution will introduce interpolation errors in the video. I would suggest that you either keep the 16:9 AR, or lower the res to something like 720x384 (close to 16:9, but still a little off). Just be sure that you maintain mod 16 resolutions.