[mythtv] PATCH: Commercial detection/skip using blank frames

Andy Davidoff dert at pobox.com
Sun Feb 23 16:56:20 EST 2003

What about decoding ahead of playback?  Granted we couldn't look too
far ahead due to memory limitations, but we may be able to look far
enough ahead to skip a commercial.  This means the only extra overhead
is in finding blanks.  I'm assuming of course that the frontend does
the decoding and I'm also not sure how difficult it would be to change
Nupple to decode ahead of playback.

#if Bruce Markey /* Feb 23, 13:46 */
> Ya. I had come to the same conclusion but didn't want to
> suggest it in the context of this message. If the system
> has the resources for playback and there is no encoding
> overhead while recording, then it can waste the cycles
> just to check for blank frames. However, the decode to check
> for blanks could be done just as easily in post-processing
> which is what Chris was looking into anyway. If someone
> used a sub 500MHz system and watched a show while recording
> there would be two decodes (which still might not be a
> problem). And, of course, introducing a decode thread while
> doing hardware compression just sounds ugly ;-).
#endif /* bjm at lvcm.com */

More information about the mythtv-dev mailing list