
- Time
- Post link
CatBus said:
I'd like to convert a 4:3 letterboxed DVD to 16:9 anamorphic (all NTSC).
Commercial and professional NTSC DVD releases from film (movies & TV) are 24fps 720x480 on disc, with flags to instruct the player how to show it:
* The pull-down flag is for 24fps to telecine it to 30fps for television.
* The anamorphic flag is for anamorphic DVDs (which you are trying to make here) to stretch the width for a 16:9 "widecreen" TV, or to squash the height for a 4:3 "standard" TV.
These flags can be set in your DVD authoring software. Nothing more needs be done -- the player handles it from there.
You are working on the full frame. There is no need to process fields of the DVD-extracted source for this conversion. Aside from any noise reduction or edge enhancement or color/levels correction, your basic script need only be your original script with the field-functions removed:
import("TempGaussMC_beta1.avs")
directshowsource("input.m2v")
# crop top and bottom from the 4:3 frame
crop(0,72,0,-72)
# stretch to anamorphic ntsc frame
spline36resize(720,480)
You might want to experiment where in your script to clean/adjust the picture as cropping and resizing also affect the end result.
And keep ConvertTo calls to a minimum. Multiple converting between color-spaces distorts the color. Be mindful, too, of how ConvertTo's "matrix coefficients" affect the image (see Avisynth docs for the function description).
BTW, your cropping should be 60 lines for top and bottom instead of 72:
4:3 is 1.33 ratio for TV (but the display is different between PC and TV).
4:3 is 1.5 ratio for PC (720x480).
16:9 is 1.78 ratio for TV.
16:9 is 2.0 ratio for PC (720x360)
The vertical difference is 480-360=120, which is divided in half for top and bottom -- crop(0,60,0,-60).
So, on this letterboxed frame from the 2010 DVD,
the cropping removes 60 lines on top and 60 lines on bottom
and resizing the resulting 720x360 back to full 720x480
creates an anamorphic image ready for the DVD anamorphic flag for proper display on both standard and widescreen TVs.