The list of possible video dimensions in admin/config/media/video has always been a source of curiosity to me a filmmaker. Not only is the list out of order, it contains a lot of unusual aspect ratios that have more to do with computer displays than video cameras.
I will go out on a limb here and make the assumption that the Video module is more about converting video from cameras than screen casts. Therefore, I propose the video dimensions list be overhauled to show a very different default list. Dimensions for a particular computer display can always be added later by the user.
Attached is a patch that changes video.utility.inc. (I am not sure what to make of the corresponding "Size Presets" list in phpvideotoolkit.php5.php.) My list is an accurate array of whole pixel-based dimensions for 240, HD, NTSC, and PAL, and I have tested it with 240 and HD.
Finally, I would add a feature request for some sort of reset button in admin/config/media/video to clear the variable for video_dimensions since it's hard for a user to revert any changes.
Comments
Comment #1
michael.k commentedThese are the existing dimensions in video.utility.inc (with added text to show the aspect ratios):
176x144 = 1.22
352x288 = 1.22
704x576 = 1.22
1408x1152 = 1.22
128x96 = 1.33 / NTSC
160x120 = 1.33 / NTSC
320x240 = 1.33 / NTSC
640x480 = 1.33 / NTSC
800x600 = 1.33 / NTSC
1024x768 = 1.33 / NTSC
1600x1200 = 1.33 / NTSC
2048x1024 = 2.00
1280x1024 = 1.25 / PAL
2560x2048 = 1.25 / PAL
5120x4096 = 1.25 / PAL
852x480 = 1.78 / HD
1366x768 = 1.78 / HD
1600x1024 = 1.56
1920x1200 = 1.60
2560x1600 = 1.60
3200x2048 = 1.56
3840x2400 = 1.60
6400x4096 = 1.56
7680x4800 = 1.60
320x200 = 1.60
640x350 = 1.83
852x480 = 1.78 / HD
1280x720 = 1.78 / HD
1920x1080 = 1.78 / HD
640x360 = 1.78 / HD
320x180 = 1.78 / HD
UPDATED: Removed long list for shorter, more accurate one, below.
Comment #2
michael.k commentedNew patch, attached.
Comment #3
michael.k commentedHere is an updated patch.
I added emphasis of smaller display sizes for the web, and included common video source formats in non-square pixels.
This is the latest proposed list (without comments):
320x180 = 16:9 (1/6 HD)
320x240 = 4:3 (1/2 NTSC sq)
384x216 = 16:9 (1/5 HD)
384x288 = 4:3 (1/2 PAL sq)
400x225 = 16:9
400x300 = 4:3
432x243 = 16:9
432x324 = 4:3
480x200 = 2.40:1 (1/4 Blu-ray)
480x270 = 16:9 (1/4 HD)
480x360 = 4:3
512x288 = 16:9
560x315 = 16:9
560x420 = 4:3
640x360 = 16:9
640x480 = 4:3 (DV NTSC sq)
648x486 = 4:3 (CCIR 601 NTSC sq)
720x405 = 16:9
720x480 = source (DV NTSC non-sq)
720x486 = source (CCIR 601 NTSC non-sq)
720x540 = 4:3 (NTSC sq graphic)
720x576 = source (PAL non-sq)
768x576 = 4:3 (PAL sq)
852x480 = 16:9 (DV NTSC sq 16:9)
864x486 = 16:9 (CCIR 601 NTSC sq 16:9)
960x400 = 2.40:1 (1/2 Blu-ray)
960x540 = 16:9 (1/2 HD)
960x720 = source (DVCPRO HD)
1024x576 = 16:9 (PAL sq 16:9)
1280x720 = 16:9 (mini cam)
1280x960 = 4:3 (mini cam)
1280x1080 = source (DVCPRO HD)
1440x1080 = source (HDV source for 16:9)
1920x800 = 2.40:1 (240 full Blu-ray)
1920x1080 = 16:9 (HD full raster)
Comment #4
Jorrit commentedThanks. Let's see what the QA bot thinks of it.
Comment #5
Jorrit commentedCommitted, thanks!