Log in

View Full Version : Sizing help needed with PAL source


Vertigo1
5th June 2004, 12:56
Hi, hope someone can help me, I'm getting a bit lost.

My source AVI is 512x368, 50fps from a PAL broadcast.

I'm trying to transcode this to MPEG2 to author onto a PAL format DVD.

I'm using the following AviSynth script to serve it to CCE:

AVISource("source.avi")
ConvertToYUY2()
BicubicResize(720,552)
AddBorders(0,12,0,12)
AddAudio()

Firstly can someone check my maths with the sizing?
As this is PAL, the resolution of the resultant file will obviously be 720x576. On playback, this will effectively be stretched out horizontally to 768x576 (4:3). Scaling up the source resolution to fit horizontally (factor of 1.5) gives me 768x552, so my final resolution is 720x552, and I have to add 12 blank lines top and bottom to get to the final 720x576. Is this correct?

The problem is that the resultant file is all wrong. It has large amounts of black at the top and bottom (much more than 12 lines), and although the aspect ratio of the image looks correct to me, the bottom of the picture is chopped off.

I've made sure I've got 4:3 DAR selected in CCE, but can't for the life of me see what the problem is. I've never seen this before, but then I've never tried a 4:3 PAL transcode before, usually I'm doing 16:9 NTSC, so it's obviously something I'm screwing up with the resolution or the aspect ratio.

Can anyone help?

Encoder Master
5th June 2004, 13:11
Firstly can someone check my maths with the sizing?

Why you don'T use FitCD or FitToDisc. This programms can math:D .

But if you want PAL you should use

ChangeFPS(25.000) in your script.

Vertigo1
5th June 2004, 13:26
Originally posted by Encoder Master
Why you don'T use FitCD or FitToDisc. This programms can math:D .

But if you want PAL you should use

ChangeFPS(25.000) in your script.
The source is already 25fps

Encoder Master
5th June 2004, 13:37
But you wrote 50fps from a PAL broadcast.

What is it now?

But with FitCD you got the right values.;)

scharfis_brain
5th June 2004, 13:56
if your source file has 50fps, you should

- upsize it to 704x576
- reinterlace it using: separatefields().selectevery(4,0,3).weave()
- encode that interlaced