[mythtv-commits] Ticket #12308: Improve mythcommflag accuracy

MythTV noreply at mythtv.org
Wed Sep 16 15:46:38 UTC 2015


#12308: Improve mythcommflag accuracy
-----------------------------------+--------------------------
 Reporter:  faginbagin <mythtv@…>  |          Owner:  cpinkham
     Type:  Patch - Bug Fix        |         Status:  new
 Priority:  minor                  |      Milestone:  unknown
Component:  MythTV - Mythcommflag  |        Version:  0.27.4
 Severity:  medium                 |     Resolution:
 Keywords:                         |  Ticket locked:  0
-----------------------------------+--------------------------

Comment (by jpoet):

 The show in question is "Ultimate Factories" on National Geographic HD.
 The issue seems to be that NatGeo is advertising other NatGeo shows in the
 upper right corner, while showing their logo in the lower right corner.
 mythcommflag thinks that the Ad in the upper right corner is part of the
 logo, but that add changes every several minutes, resulting in the logo
 not matching...

 The unpatched mythcommflag code also fails to properly detect that the
 logo in just in the lower right corner, but still manages to find the
 commercials without logo detection.  With the patched commflagger, miss-
 detecting the logo results in almost total failure.

 As a hack, I changed the code to only look for the logo in the lower right
 corner, which resulted in the patched code detecting the same commercials
 as the unpatched code.

 I don't know why the unpatched code is so much better sans logo, than the
 patched code.  When the logo is properly detected, the patched code does
 seem to be superior.  More testing is necessary...

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12308#comment:13>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list