[mythtv] Patch to autodetect 4:3 Zoom aspect ratio

Mårten Bohlin mabo at mochc.net
Fri Feb 22 13:22:11 UTC 2008

On Fri, Feb 22, 2008 at 8:52 AM, Petr Stehlik <pstehlik at sophics.cz> wrote:
> Mårten Bohlin wrote:
>  > Hi!
>  >
>  >  I have written a patch for the release-0-20-fixes branch (svn
>  >  revision: 16162) that detects black bars on the top and bottom of the
>  >  frames. When that is detected it toggles to "Letterbox 4:3 Zoom". And
>  >  if no bars is detected it toggles back to "Letterbox Off".
>  >
>  >  I have only used it for a couple of days, so I guess there will be
>  >  some more tweaking to get it perfect.
>  >
>  >  Comments are welcome.
>  This is very cool. Though the zoom modes changed a bit in 0.21 but that
>  will make it even easier probably. Great would be to extend this to
>  detect also black bars on left and right sides for automatic half and
>  full zoom on 16:9 displays :-)
>  Petr

I am not sure what you mean. My code solves the problem for people
that have 16:9 displays and watch movies that has the 16:9 aspect
ratio, but are broadcasted in 4:3. So I guess this is what you want to

By the way, does anybody have any good pointers on how to run mythtv
0.21 without messing up my current 0.20 installation. Or does anybody
has a good VMware image for developing mythtv that I could copy?

More information about the mythtv-dev mailing list