[mythtv-commits] Ticket #8848: Realtime commercial detection fails for some QAM channels

MythTV mythtv at cvs.mythtv.org
Mon Sep 13 04:32:38 UTC 2010

#8848: Realtime commercial detection fails for some QAM channels
 Reporter:  dlinvill@…             |           Owner:  cpinkham  
     Type:  defect                 |          Status:  infoneeded
 Priority:  minor                  |       Milestone:  0.24      
Component:  MythTV - Mythcommflag  |         Version:  Trunk Head
 Severity:  medium                 |      Resolution:            
 Keywords:  commflag commercial    |   Ticket locked:  0         
Changes (by cpinkham):

  * status:  assigned => infoneeded
  * version:  Unspecified => Trunk Head
  * milestone:  unknown => 0.24


 It appears that it is hanging inside ClassicLogoDetector::searchForLogo()
 until the recording completes then it continues on and seems to skip the
 rest of the detection phases for some reason.

 Can you reproduce the issue one more time?  A 10-minute recording is
 enough if you can replicate the issue on-demand.  Once the JobQueue fires
 off the mythcommflag job, you should see something like this in the logs:

 2010-09-08 22:15:24.453 JobQueue: Commercial Detection Starting for "Burn
 Notice":"Friends and Enemies" recorded from channel 12106 at
 2010-09-08 22:15:24.454 JobQueue: Running command: '/usr/bin/mythcommflag
 -j 5 -V 1073746499'
 2010-09-08 22:15:24.454 Launching: /usr/bin/mythcommflag -j 5 -V

 Once you see that, in another terminal window, please run the following
 (substituting for '5', the value that you see printed in your logs.
 that's the job ID in the database).

 gdb --args /usr/bin/mythcommflag -j 5 -V 1073746499 2>&1 | tee

 Once inside gdb, type 'run' to start the mythcommflag process.

 When you see the mythcommflag process print out the following, wait
 another 30-45 seconds and then hit CTRL-C:

 2010-09-08 22:22:30.983 JobQueue: ChangeJobStatus(5, Running, 'Searching
 for Logo')
 2010-09-08 22:22:30.986 JobQueue: ChangeJobComment(5, 'Searching for
 2010-09-08 22:22:30.988 Searching for Station Logo
 2010-09-08 22:22:30.989 Trying with edgeDiff == 5

 hitting CTRL-C will drop you to a gdb command prompt.  At the gdb prompt,
 type the following and hit ENTER:

 thread apply all bt full

 when the backtrace is done and you're back at a gdb command prompt, you
 can type 'quit' and quit gdb.

 Please compress and attach that gdb log to the ticket.

Ticket URL: <http://svn.mythtv.org/trac/ticket/8848#comment:5>
MythTV <http://www.mythtv.org/>
MythTV Media Center

More information about the mythtv-commits mailing list