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?
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?