[mythtv] automatic 14:9 or 4:3 zoom based on black bars detection?

Petr Stehlik pstehlik at sophics.cz
Sun May 20 13:26:27 UTC 2007


Daniel Kristjansson píše v Ne 25. 06. 2006 v 11:41 -0400:
> > Now I'd like to automate the switching between the zoom modes. First, if
> > the source is in 4:3 format then I'd like to enable the 14:9 Zoom by
> > default. Could someone please suggest a place in the source code to
> > check for the input format and to enable/disable the zoom?
> There isn't a place for this. There are three distinct reasons
> why people use the aspect ratio overrides.
>  1/ For coping with material that misreports the aspect ratio;
>     or does not report it at all and uses non-square pixels.
>     This would never be a 14:9 aspect ratio BTW, as we are 
>     refering to the aspect ration of the transmission including
>     the black bars.
>  2/ For zooming into material simply as you do ( and I do ).
>     "Proper Zoom"
>  3/ For filling the screen with video when the aspect ratio
>     of the source material does not fit the display aspect ratio.
>     This results in either lost portions of the image, or the
>     improper aspect ratio; but this is the desired result.
>     "Improper Zoom"
> So before you do any auto-zoom work or add 14:9 zoom you would
> want to separate out the proper zoom portion (#2) of the "aspect
> ratio overrides" into a new setting.



More information about the mythtv-dev mailing list