[mythtv-users] detecting blank screen if video source is turned off

David Brodbeck gull at gull.us
Thu Oct 11 18:20:22 UTC 2007


On Oct 11, 2007, at 8:53 AM, Adam Hirsch wrote:
> Anyone else had this problem, or have a creative solution?

Hmm...seems like what you'd need to do is generate a histogram for a  
few minutes of video, then look to see if it's heavily dominated by  
black pixels.  I think mythcommflag already does this sort of thing,  
so maybe you could borrow some code from there.





More information about the mythtv-users mailing list