[mythtv-users] Calculating aspect ratios for DVDs
Scott Alfter
scott at alfter.us
Fri Jan 8 21:00:32 UTC 2010
On 7 Jan 10 09:24, Yan Seiner wrote:
> So to get the proper aspect, one would have to:
>
> Take the DVD size, either 720x480 or 720x576, and figure out the crop box.
>
> Take the reported DVD aspect ratio, divide by 1.33, multiply the width of
> the crop box and divide the result by the height of the crop box.
>
> This seems weirdly byzantine and possibly inaccurate. Is there some
> simple way to use mplayer, lsdvd, or dvdscan to get this information?
mplayer -vf cropdetect usually does a pretty good job finding
letterbox/pillarbox dimensions. The numbers it produces can be fed back into
mplayer or mencoder (-vf crop=...) or can be fed into other software for
playback or transcoding.
Scott Alfter
scott at alfter.us
More information about the mythtv-users
mailing list