[mythtv] Patch to autodetect 4:3 Zoom aspect ratio
luitjens at cs.utah.edu
Fri Feb 29 05:54:13 UTC 2008
This would likely work as long as you know where the cut offs should
be. If not what happens if the screen has a few black lines at the
bottom because it is a dark part of the scene? One thing that would
help prevent this would be to look over a couple frames and not a single
frame. Or what if the TV icon goes over into the black bars?
Chris Pinkham wrote:
> * On Thu Feb 28, 2008 at 10:59:54AM -0700, Justin wrote:
>> What is the edge detection algorithm you are using? Moving to a more
>> sophisticated algorithm could prevent false detections.
> I haven't looked at his code, but what more is required other than "all lines
> above this are black, the next is not" and vice versa for the bottom bar.
> That's what I did in the commercial flagging code does to detect the letter
> and pillar boxes. In order to make things faster, the commercial flagger
> doesn't check every pixel, but enough to be accurate. A screen of thin
> vertical lines might make it past the detection, but that's a fringe case.
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
More information about the mythtv-dev