[mythtv-commits] Ticket #13335: mythcommflag: add 3 settings to enhance logo detection

MythTV noreply at mythtv.org
Sun Nov 4 17:35:47 UTC 2018

#13335: mythcommflag: add 3 settings to enhance logo detection
 Reporter:  hamelg                 |          Owner:  cpinkham
     Type:  Patch - Feature        |         Status:  new
 Priority:  minor                  |      Milestone:  needs_triage
Component:  MythTV - Mythcommflag  |        Version:  Master Head
 Severity:  medium                 |     Resolution:
 Keywords:                         |  Ticket locked:  0

Comment (by hamelg):

 Replay exactly my test case on your sample, and you'll see it works.
 The logo detection works in 2 steps :
 * 1st : logo searching on a sample : If you see "No suitable logo area
 found." in logs, this step has failed and the flagging will not work.
 * 2nd : Apply the mask built at 1st step to check if the logo is displayed
 or not on each frame of the video.
 The 2 params !CommDetectLogoSamplesNeeded and !CommDetectLogoSampleSpacing
 are very important at 1st step and must be set according the video length.
 They determine the sample used to search the logo.
 means look for logo every 2s, 30 times = It scans the first 60s of the
 video. It needs a success threshold to decide if a logo has been detected
 or not (see ClassicLogoDetector::searchForLogo() in

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

More information about the mythtv-commits mailing list