[mythtv-users] How well does commercial detection work?

Chris Pinkham cpinkham at bc2va.org
Sun Apr 3 21:56:41 UTC 2005


> 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
-- 

Chris



More information about the mythtv-users mailing list