[mythtv-users] How well does commercial detection work?
Risto Treksler
risto at elkhornbanff.ca
Mon Apr 11 20:50:21 UTC 2005
Hi,
downloaded todays CVS and reflagged
it detected and flagged an obviously false commercial of just 8 frames long
"white frames" like those in explosions and in scene transitions in Cold Case
also trigger false positives every time
2005-04-11 14:31:23.170 Final Commercial Break Map
2005-04-11 14:31:23.170 ---------------------------------------------------
2005-04-11 14:31:23.170 d : 7639 (00:04:00.04) (14)
2005-04-11 14:31:23.171 d : 7646 (00:05:00.04) (14)
2005-04-11 14:31:23.171 d : 102549 (00:04:00.56) (58)
2005-04-11 14:31:23.171 d : 107739 (00:05:00.59) (51)
2005-04-11 14:31:23.171 ---------------------------------------------------
2
On Sunday 03 April 2005 03:56 pm, Chris Pinkham wrote:
> > I send this to you directly. From the relevant portions I can see it
> > did detect the 12 second and ~0 second break again. If I read it right,
> > that's at frame 18625 and then at 67576. I am using the ALL detection
> > method with strict detection enabled.
> >
> > 2005-04-03 12:07:33.803 18625 : 4 (00:10:20.25) (620)
> > 2005-04-03 12:07:33.803 19014 : 5 (00:10:33.24) (633)
> >
> > 2005-04-03 12:07:33.804 67576 : 4 (00:37:32.16) (2252)
> > 2005-04-03 12:07:33.804 67586 : 5 (00:37:32.26) (2252)
>
> Thanks for the debug info (although I'm not sure the whole list wanted
> to see the mythcommflag.out.bz2 file). :) This should be fixed in
> current CVS, can you update and reflag this show to see if it does it
> correctly now?
>
> When going from a block that looks like a commercial to a block that
> doesn't, I had a bug that was checking the min commercial break length
> against the end of the new block instead of the start of the block.
> This same bug caused both of these scenarios. The bug was allowing these
> short commercial breaks to be flagged when they shouldn't have been.
>
> If you don't want to update to current CVS, you can try the 1-line patch
> here:
>
> http://cvs.mythtv.org/cgi-bin/viewcvs.cgi/mythtv/libs/libmythtv/commercial_
>skip.cpp?r1=1.45&r2=1.46
--
Risto Treksler
Elkhorn Lodge
Banff, Alberta, Canada
More information about the mythtv-users
mailing list