[mythtv] PATCH: Commercial detection/skip using blank frames
ijr at po.cwru.edu
Mon Feb 24 23:31:34 EST 2003
On Monday 24 February 2003 08:38 pm, Chris Pinkham wrote:
> I've got a patch ready that will speedup the skips during playback. It
> does a shortcut on detecting a blank frame and also checks for
> commercial lengths in a specific order. Since most (U.S.) commercials
> are 30 seconds in length, it checks that first. Then it checks 15
> then 60. It only scans 2 seconds worth of video for each of these.
> This seemed to speed it up quite a bit on mine. The patch will also
> turn on some status messages to show what it's doing. It turns on
> the normal sliderbar that shows when you fast forward and updates it
> as it finds commercials also telling how long the commercial was.
Much faster for me -- I'm just finishing up a compile, then it'll go into CVS
(I modified tv_play.h and tv_rec.h not to include so many extraneous files,
so that less would get recompiled when NuppelVideoPlayer.h gets touched,
gotta make sure everything still compiles properly).
More information about the mythtv-dev