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

Matthew Brichacek mmbrich at ldl.fc.hp.com
Fri Feb 21 13:39:55 EST 2003

I applied this patch and tried it out over my lunch hour.  I had the
daily show and futurama for testing.

When watching futurama from cartoon network, they use these funny clips
before and after a commercial break, they are clips of different shows
and sometimes the current show, then they wipe it off the screen to the
top or the bottom.  The commercial skip patch makes it past the first
one, but of course doesn't make it past the second one since it wipes to
the show instead of having blank frames.

The daily show was a different story.  For some reason it would only
skip the first 2 commercials, then I would have to hit "Z" to skip each
commercial after that.  The only pattern I could come up with was most
the commercials it had problems with were ones inserted by the local
cable provider.

I had about 2 minutes left to run some tests on Seinfeld from last night
on FOX.  It seemed to skip all the commercials OK.

Thats about all I have so far.


On Fri, 2003-02-21 at 12:40, Andy Davidoff wrote:
> Thanks Chris, I'm anxious to test this patch -- almost as anxious as I
> am to receive my TV tuner. ;-)
> Possible directions to take this work further:
> 	- A flag for channels which indicates whether we should auto-skip
> 	  commercials.  This flag would be off for movie channels, for example.
> 	- Automagic marking of commercials in the stream as viewed by the OSD.
> 	- A flag to toggle automagic editing of recordings to elide commercials.
> This is promising stuff!
> #if Chris Pinkham /* Feb 21, 10:55 */
> > Attached is a much better implemention of the commercial skipping patch
> > I uploaded earlier this week.  I've been using this for a couple nights.
> #endif /* cpinkham at bc2va.org */
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
Matthew Brichacek <mmbrich at ldl.fc.hp.com>

More information about the mythtv-dev mailing list