desertE
8th December 2004, 23:04
I wrote a simple program that is able to calculate the width/height squarepixel material needs to be resized to and the lines that have to be added/removed (Add borders or crop) in order to be compatible with either PAL or NTSC DVD video format, keeping the aspectratio of the source intact.
The results are beeing displayed as values and AviSynth script code (Using BicubicResize, AddBorders/Crop), that can be used in programs like CCE. The calculated width and height are rounded to be dividable by 2.
You can choose to calculate the values needed in order to have the video fitted to screen (Add borders) or to have it maximized (Crop parts of the picture).
Note: Im a beginner in programming and cannot guarantee that this program will under all circumstances give out correct results. Especially the second resizing methode could give out incorrect AVS code - The displayed values should be correct though, so you can control the code if you know how the Crop function works.
Download it here: http://bscw.fit.fraunhofer.de/pub/bscw.cgi/d63904218/SP2DVDARCalc.rar
The results are beeing displayed as values and AviSynth script code (Using BicubicResize, AddBorders/Crop), that can be used in programs like CCE. The calculated width and height are rounded to be dividable by 2.
You can choose to calculate the values needed in order to have the video fitted to screen (Add borders) or to have it maximized (Crop parts of the picture).
Note: Im a beginner in programming and cannot guarantee that this program will under all circumstances give out correct results. Especially the second resizing methode could give out incorrect AVS code - The displayed values should be correct though, so you can control the code if you know how the Crop function works.
Download it here: http://bscw.fit.fraunhofer.de/pub/bscw.cgi/d63904218/SP2DVDARCalc.rar