source
sampling matrix
width
PAR
square | 1.0
PAL (702) | 1.094
PAL (720) | 1.06667
PAL wide (702) | 1.459
PAL wide (720) | 1.42222
NTSC (704) | 0.911
NTSC (720) | 0.888889
NTSC wide (704) | 1.215
NTSC wide (720) | 1.18519
HDV 1080i/p | 1.33
height
crop
T
L
R
B
or mplayer style
width:height:left:top
target
requested
width
PAR
square | 1.0
PAL (702) | 1.094
PAL (720) | 1.06667
PAL wide (702) | 1.459
PAL wide (720) | 1.42222
NTSC (704) | 0.911
NTSC (720) | 0.888889
NTSC wide (704) | 1.215
NTSC wide (720) | 1.18519
HDV 1080i/p | 1.33
mod
w
h
pad or crop to
width
height
home
|
home-no_css
|
home-default.css
notes
|
changelog
examples
PAL (702) to square with mod(1) resizing
Panasonic dvx100 16:9LB to web square
external links
resizing theory
|
doom9 PAR
|
surreal
*
results
result_width=800 result_height=600.009
result_width_mod=800 result_height_mod=600
result_pixels=480000
input_DAR=1.333 mod_DAR=1.333
human DAR: 4:3, 1.333
DAR_aspect_error=0.002
warning: width blowup
warning: height blowup
798
799 <<
adjust width
>>
801
802
# resizeCalc Avisynth # pixels = 480000, DAR error = 0.002 # Crop(Left, top, -right, -Bottom)