[mythtv] Commercial flagging during record

Derrick Swinarsky dswinarsky at attbi.com
Fri Feb 28 22:48:03 EST 2003


Changing the topic slightly, but can this work when watching livetv?  Not recording livetv for later viewing...

I ask this because I just grabbed cvs (a couple hours ago) and hit z while watching live tv.  It looked like it was trying to check for commercials and I wasn't able to figure out how to stop it.  Probably something I did wrong, but I was curious about hitting z during livetv.

Thanks,
Derrick

On Fri, 28 Feb 2003 23:19:04 -0500
"JC" <johnmythtv at crombe.com> wrote:

> Great job Chris.
> 
> One question... Does this remove the restriction of hitting the Z key within
> 2 seconds of a commercial now?  Seems like it should be able to.  Now, if
> you hit Z anywhere within a commercial timeframe, it should just skip to the
> end and resume playback, right?  We often find ourselves missing that 2
> second window on the first shot.
> 
> Thanks!
> JC
> 
> ----- Original Message -----
> From: "Chris Pinkham" <cpinkham at bc2va.org>
> To: <mythtv-dev at snowman.net>
> Sent: Friday, February 28, 2003 10:31 PM
> Subject: [mythtv] Commercial flagging during record (was "tv_grab_uk
> graphical setup")
> 
> 
> > > I think this needs to be delayed- (the Commercial detection seems more
> > > exciting than this small contribution).
> >
> > Tonight I've got my code modified so MythTV is flagging the blank frames
> > during recording and saving the list into the database once recording is
> > done.  If the user has their commercial skip method set at "Blank Frame
> > Detection", then it runs a quick (4-5 seconds at most) routine to build
> the
> > commercial break list from this blank frame list.  This commercial break
> > list is read in by mythfrontend during playback and is giving me near
> > instantaneous commercial break skips when I hit the 'Z' key during a
> > commercial break.  Auto-skip for commercials will also use the list and
> > skips them right away.  I have a message that pops up when you skip using
> > the commercial break list as well.  The message shows how much time
> > was skipped in seconds.
> >
> > Other commercial detection methods will probably have to be done offline
> > unless they use as little cpu resources as the blank frame detection
> > method does during and after recording.  Once the commercial breaks
> > are flagged in the database though, skips should be quick for both
> > local and remote mythfrontend players.
> >
> > Hopefully have a patch in CVS for this in a couple days.
> >
> > Chris
> >
> >
> ****************************************************************************
> *
> > ** Chris Pinkham                  Linux v2.2.18, Sane v1.0.4, Cajun v3.0-8
> **
> > ** cpinkham at bc2va.org                          http://www.bc2va.org/chris/
> **
> >
> ****************************************************************************
> *
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at snowman.net
> > http://www.snowman.net/mailman/listinfo/mythtv-dev
> >
> >
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev


More information about the mythtv-dev mailing list