View Single Post
Old 8th April 2010, 11:31   #3  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Robert, thanks for producing this and congratulations on a well-written tutorial.

A couple of comments:
- your function expects the input to be 4:3 DV. How about an option to treat the input as 16:9 (anamorphic) DV?
- BicubicResize does not work as the resizer. This can be fixed by using named arguments in place of positional arguments in the resizer calls, eg replace
Code:
Eval("shtrclp." + resize + "(outwidth,outheight,cropleft,croptop,cropwidth,cropheight)")
by
Code:
Eval("shtrclp." + resize + "(outwidth,outheight,src_left=cropleft,src_top=croptop,src_width=cropwidth,src_height=cropheight)")
Gavino is offline   Reply With Quote