2009/7/29 Matthias Hopf
On Jul 28, 09 11:28:07 -0700, Yang Zhao wrote:
My primary intention with checking only the width is to handle media that's been cropped from a 720p source to get rid of letter boxing.
4:3 could result of cropped video from 720p source as well. IMHO something like my test above would deal with all known good resolutions, but...
4:3 cropped from 720p would be silly. That defeats the point of the original being in 720p to begin with. I've certainly not seen it done and it doesn't make any sense to me to do such a thing. (Other than for video composition, in which case the final work is re-encoded anyway)
This is not uncommon for cinema in 1.85:1 and 2.39:1. To add to the confusion, I have media labelled as "HD" at 960x544 which is stretched to 1280x544 using Xv, which is then used as the effective resolution of the video.
Eeck, yes. Similar to 1440x1080 streched to 1920x1080, I assume. I have *no* idea how to deal with that, and whether that's a reasonable medium to assume to be recorded with Rec. 709 in mind.
IMO, at this point, rips with weird dimensions are not worth worrying about. There are a few sources of 720p and higher video that we can be sure are meant to be Rec.709: HDTV broadcasts, HD-DVD/BluRay videos, and non-grey-area websites that provide media in HD (AppleTrailers, etc). HD videos from these sources will always have width of 1280 or 1920. Although, if we want to default media in the poorly-defined zone between EDTV and HD to Rec. 709 instead of Rec. 601, I propose that we use the heuristic: if (width >= 928) use_Rec709; This should exclude all DVD sources--including DVD content re-encoded at their intended resolution (720x480 presented in 852x480)--and STDV and EDTV for both NTSC and PAL. -- Yang Zhao http://yangman.ca -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org