logo Sign In

Post #279615

Author
Moth3r
Parent topic
Panorama() - an AviSynth function for converting 4:3 into 16:9
Link to post in topic
https://originaltrilogy.com/post/id/279615/action/topic#279615
Date created
28-Mar-2007, 10:11 AM
Things are not so clear cut if you're making an Xvid AVI file, because there is such a variety of devices that they can be played back on.

I would not recommend adding borders, for an Xivd file it's a waste of bitrate. Make it with a smaller horizontal resolution instead.
Similarly, I don't know if you would really want to crop - maybe that will happen when it's played back on a widescreen display.

The way I would do it it to modify the final line in the function:
return clp.lanczos4resize(720,ht)
replacing 720, ht with your desired width and height values. This assumes that if the source is interlaced that you have de-interlaced before Panorama.

Obviously would you need to experiment to your own requirements, but for a start you could try a resolution of 640x384 (1.66:1) with strength 3.