Log in

View Full Version : I Go CRAZY! Resizing of 640 x 352 AVI for SVCD PAL!


tivi
26th February 2002, 00:07
Hi folks!

How should avs file look like?

Like this (????):
.
.
.
BicubicResize(480,396,0,0.75)
AddBorders(0,90,0,90)
.
.
.

I think not....

Please help!!

THX

tivi

gerti67
26th February 2002, 01:08
Hi tivi,

why not? :) What's wrong with it - the borders I guess.

See, your source is 640x352 and as it seems you are doing PAL which is 720x576 it is a matter of fact that your source indeed is smaller then the destination resolution. So it has to be resized to match this resolution - or will you leave it 640x352?

So, now to the "Resize" statement that you might think is wrong. - The horizontal resolution of a SVCD is 480 for PAL/NTSC - but it will be stretched back by your DVD standalone (and any software DVD player) to 720 again - so no need to worry about that.

And the vertical resolution has to match the aspect ratio of the source - that is 640:352 = 1.81:1. Now see what aspect ratio you get with this: 720:396 = 1.81:1 - so there's no problem at all. :)

The borders have to be added to make it fit the vertical SVCD resolution for PAL which is 576 lines (90 + 396 + 90 = 576) so that your standalone and any software DVD player will play this SVCD correctly.

Greetings,
Gerti

P.S. Please read this thread (http://forum.doom9.org/showthread.php?s=&threadid=16903) and the linked threads within to see how a post should look like. ;)

tivi
26th February 2002, 10:50
Hi Gerti!

Thanks for your detailed answer.
I haven't been satisfied with the vertical resolution of 396 pix
because I generated a 100% circle which I put as a logo into the avi.

After the conversion to MPG the circle looked a little bit flat.
See attachment....

In the meanwhile, I tested the following avs file:
.
.
.
BicubicResize(480,412,0,0.75)
AddBorders(0,82,0,82)
.
.
.

Now the circle looks great! But why the size of 412?
Could be that a few pixels more or less do not disturb....
But how do I get the result mathematical?

Maybe the avi was cropped?

cu

tivi

p.s.: maybe the vertical resolution of original avi was 360.
In that case the file would have been cropped by 8.
In my case: 396 + 16 (complete H-Modul) = 412.
Is this the answer - or ist this too wild?

But 412 can not be devided by 16 or 32, so it should be maybe 416.
I have to go now, I will check 416 later.....

I will keep you informed.


p.p.s: so I did a few tests more. The only setting that matches
exyctly the avi file is the following:
.
.
.
BicubicResize(480,418,0,0.75)
AddBorders(0,79,0,79)
.
.
.
Vertical resolution of 418! And the question again:
How do I get the result mathematical?

I can't do every time some tests before encoding.....