[mythtv] Comm flagging not working CVS 18.20050409-1

Petter Gundersen pettergundersen at gmail.com
Wed Apr 27 17:46:50 UTC 2005


On 4/27/05, Chris Pinkham <cpinkham at bc2va.org> wrote:
> Long story short, please try current CVS and see it if starts
> working again for you. :)
> 

The good news is that mythcommflag no longer segfaults, the bad news
is that I still get 'Finished, 0 break(s) found' when using realtime
flagging. The log below is made with mythbackend -v commflag,jobqueue


2005-04-27 17:59:52.869 Started recording "Simpsons" on channel: 1004
on cardid: 1, sourceid 1
2005-04-27 17:59:52.879 New DB connection, total: 5
2005-04-27 17:59:53.418 Changing from None to RecordingOnly2005-04-27
18:00:49.047 JobQueue: Currently Running 0 jobs.
2005-04-27 18:00:49.049 JobQueue: Processing 'Flag Commercials' job
for chanid 1004 @ 20050427180000, current status is 'Queued'
2005-04-27 18:00:49.059 Starting Commercial Flagging for "Simpsons"
recorded from channel 1004 at Wed Apr 27 18:00:00 2005.
2005-04-27 18:00:49.065 JobQueue running app: 'mythcommflag -j -V 4611
--chanid 1004 --starttime 20050427180000 --force -l'
2005-04-27 18:00:49.315 New DB connection, total: 1
2005-04-27 18:00:49.368 New DB connection, total: 2
2005-04-27 18:00:49.435 Connecting to backend server: 127.0.0.1:6543
(try 1 of 5)
2005-04-27 18:00:49.446 Using protocol version 15
2005-04-27 18:00:49.452 MainServer::HandleAnnounce Playback
2005-04-27 18:00:49.452 adding: lithium as a client (events: 0)
2005-04-27 18:00:49.469 Commercial Flagger has 466 seconds left to
sleep waiting for the recorder to get ahead.
2005-04-27 18:00:49.496 Commercial Detection initialized: width = 720,
height = 576, fps = 25, method = 4
2005-04-27 18:00:49.499 Using Sample Spacing of 6 horizontal & 6
vertical pixels.
2005-04-27 18:00:49.533 CommDetect::ClearAllMaps()
2005-04-27 18:00:49.547 Setting up CommDetect Listener, flagging Live recording.
2005-04-27 18:00:59.572 Commercial Flagger has 456 seconds left to
sleep waiting for the recorder to get ahead.
...
2005-04-27 18:07:52.667 Commercial Flagger has 46 seconds left to
sleep waiting for the recorder to get ahead.
2005-04-27 18:08:01.032 Reschedule requested for id 0.
2005-04-27 18:08:01.353 Scheduled 58 items in 0.3 = 0.00 match + 0.32 place
2005-04-27 18:08:02.703 Commercial Flagger has 36 seconds left to
sleep waiting for the recorder to get ahead.
...
2005-04-27 18:08:33.051 Commercial Flagger has 6 seconds left to sleep
waiting for the recorder to get ahead.
2005-04-27 18:08:40.243 MainServer::HandleAnnounce Playback
2005-04-27 18:08:40.246 adding: lithium as a client (events: 1)
2005-04-27 18:32:00.001 Finished recording Simpsons on channel: 1004
2005-04-27 18:32:00.133 Changing from RecordingOnly to None
2005-04-27 18:32:00.133 Reschedule requested for id 0.
2005-04-27 18:32:00.188 CommDetect::CustomEvent - Received Event:
'DONE_RECORDING 1 1925'
2005-04-27 18:32:00.545 Scheduled 58 items in 0.4 = 0.01 match + 0.41 place
2005-04-27 18:32:00.819 CommDetect::CustomEvent - Received a
DONE_RECORDING event for card 1.  This is the recording we are
flagging, turning watchingRecording OFF.
2005-04-27 18:32:00.830 CommDetect::CustomEvent - Received Event:
'RECORDING_LIST_CHANGE'
2005-04-27 18:32:00.830 CommDetect::CustomEvent - Received Event:
'SCHEDULE_CHANGE'
[mpeg2video @ 0xb78f0a10]ac-tex damaged at 12 9
[mpeg2video @ 0xb78f0a10]Warning MVs not available
2005-04-27 18:32:59.723 CommDetect::GetCommBreakMap()
2005-04-27 18:32:59.756 CommDetect::CleanupFrameInfo()
2005-04-27 18:32:59.757 Didn't find enough blank frames, rechecking
data using higher threshold.
2005-04-27 18:32:59.800 Minimum Average Brightness on a frame was -1,
will use 2 as new threshold
2005-04-27 18:32:59.906 Found 48144 blank frames using new value
2005-04-27 18:33:00.089 CommDetect::GetLogoCommBreakMap()
2005-04-27 18:33:00.103 Logo Commercial Break Map
2005-04-27 18:33:00.103 Final Commercial Break Map
2005-04-27 18:33:00.104
---------------------------------------------------2005-04-27
18:33:00.104 ---------------------------------------------------
2005-04-27 18:33:00.107 NVP::FlagCommercials found 0 breaks
2005-04-27 18:33:00.303 Finished, 0 break(s) found.

(starting commercial flagging from mythfrontend)

2005-04-27 18:36:49.367 Starting Commercial Flagging for "Simpsons"
recorded from channel 1004 at Wed Apr 27 18:00:00 2005.
2005-04-27 18:36:49.372 JobQueue running app: 'mythcommflag -j -V 4611
--chanid 1004 --starttime 20050427180000 --force'
2005-04-27 18:36:49.607 New DB connection, total: 1
2005-04-27 18:36:49.619 New DB connection, total: 2
2005-04-27 18:36:49.795 Commercial Detection initialized: width = 720,
height = 576, fps = 25, method = 4
2005-04-27 18:36:49.804 Using Sample Spacing of 6 horizontal & 6
vertical pixels.
2005-04-27 18:36:49.823 CommDetect::ClearAllMaps()
2005-04-27 18:36:49.852 Searching for Station Logo
2005-04-27 18:36:49.854 Trying with edgeDiff == 5
2005-04-27 18:37:12.843 Analyzing edge data
2005-04-27 18:37:12.867 SetLogoMaskArea()
2005-04-27 18:37:12.880 SetLogoMaskArea()
2005-04-27 18:37:12.912 Testing Logo area: topleft (605,32),
bottomright (677,106)
2005-04-27 18:37:12.914 Using Logo area: topleft (605,32), bottomright (677,106)
2005-04-27 18:37:49.374 JobQueue: Currently Running 1 jobs. (At
Maximum, no new jobs can be started until a running job completes)
[mpeg2video @ 0xb78f0a10]ac-tex damaged at 12 9
[mpeg2video @ 0xb78f0a10]Warning MVs not available
2005-04-27 18:53:22.980 CommDetect::GetCommBreakMap()
2005-04-27 18:53:22.994 CommDetect::CleanupFrameInfo()
2005-04-27 18:53:22.996 Didn't find enough blank frames, rechecking
data using higher threshold.
2005-04-27 18:53:23.009 Minimum Average Brightness on a frame was -1,
will use 2 as new threshold
2005-04-27 18:53:23.128 Found 48143 blank frames using new value
2005-04-27 18:53:23.310 CommDetect::GetLogoCommBreakMap()
2005-04-27 18:53:23.324 Commercial Map Before condense:
2005-04-27 18:53:23.325     277:0
2005-04-27 18:53:23.325     280:1
2005-04-27 18:53:23.325     3828:0
2005-04-27 18:53:23.326     5041:1
2005-04-27 18:53:23.326     5222:0
2005-04-27 18:53:23.328     5230:1
2005-04-27 18:53:23.328     5233:0
2005-04-27 18:53:23.328     5321:1
2005-04-27 18:53:23.329     5323:0
2005-04-27 18:53:23.329     5350:1
2005-04-27 18:53:23.329     5351:0
2005-04-27 18:53:23.329     5471:1
2005-04-27 18:53:23.330     5472:0
2005-04-27 18:53:23.330     5670:1
2005-04-27 18:53:23.330     5671:0
2005-04-27 18:53:23.330     5702:1
2005-04-27 18:53:23.331     5703:0
2005-04-27 18:53:23.331     5704:1
2005-04-27 18:53:23.331     5705:0
2005-04-27 18:53:23.331     5706:1
2005-04-27 18:53:23.332     5707:0
2005-04-27 18:53:23.332     5733:1
2005-04-27 18:53:23.332     5735:0
2005-04-27 18:53:23.332     6110:1
2005-04-27 18:53:23.333     6113:0
2005-04-27 18:53:23.333     6114:1
2005-04-27 18:53:23.333     6118:0
2005-04-27 18:53:23.333     6119:1
2005-04-27 18:53:23.334     6120:0
2005-04-27 18:53:23.334     6489:1
2005-04-27 18:53:23.334     6490:0
2005-04-27 18:53:23.335     11239:1
2005-04-27 18:53:23.335     11241:0
2005-04-27 18:53:23.335     11242:1
2005-04-27 18:53:23.335     11246:0
2005-04-27 18:53:23.336     11249:1
2005-04-27 18:53:23.336     11250:0
2005-04-27 18:53:23.338     11251:1
2005-04-27 18:53:23.339     11252:0
2005-04-27 18:53:23.339     11253:1
2005-04-27 18:53:23.339     11254:0
2005-04-27 18:53:23.339     11257:1
2005-04-27 18:53:23.340     11259:0
2005-04-27 18:53:23.340     11260:1
2005-04-27 18:53:23.340     11297:0
2005-04-27 18:53:23.341     13677:1
2005-04-27 18:53:23.341     20790:0
2005-04-27 18:53:23.341     20792:1
2005-04-27 18:53:23.341     22546:0
2005-04-27 18:53:23.342     22693:1
2005-04-27 18:53:23.342     22694:0
2005-04-27 18:53:23.342     23951:1
2005-04-27 18:53:23.343     24017:0
2005-04-27 18:53:23.343     25829:1
2005-04-27 18:53:23.343     25842:0
2005-04-27 18:53:23.343     28033:1
2005-04-27 18:53:23.344     28035:0
2005-04-27 18:53:23.344     28036:1
2005-04-27 18:53:23.344     28075:0
2005-04-27 18:53:23.344     28430:1
2005-04-27 18:53:23.345     28438:0
2005-04-27 18:53:23.345     28450:1
2005-04-27 18:53:23.345     28506:0
2005-04-27 18:53:23.345     32208:1
2005-04-27 18:53:23.346     32210:0
2005-04-27 18:53:23.346     32880:1
2005-04-27 18:53:23.346     33071:0
2005-04-27 18:53:23.346     33454:1
2005-04-27 18:53:23.347     33457:0
2005-04-27 18:53:23.348     34629:1
2005-04-27 18:53:23.348     34656:0
2005-04-27 18:53:23.348     39014:1
2005-04-27 18:53:23.349     39026:0
2005-04-27 18:53:23.349     41480:1
2005-04-27 18:53:23.349     41491:0
2005-04-27 18:53:23.349     41495:1
2005-04-27 18:53:23.350     41496:0
2005-04-27 18:53:23.350     41497:1
2005-04-27 18:53:23.350     41499:0
2005-04-27 18:53:23.350     43058:1
2005-04-27 18:53:23.351     43730:0
2005-04-27 18:53:23.351     43866:1
2005-04-27 18:53:23.351     43867:0
2005-04-27 18:53:23.351     43868:1
2005-04-27 18:53:23.352     43987:0
2005-04-27 18:53:23.352     43988:1
2005-04-27 18:53:23.352     44019:0
2005-04-27 18:53:23.352     44021:1
2005-04-27 18:53:23.353     44046:0
2005-04-27 18:53:23.353     44048:1
2005-04-27 18:53:23.353     44096:0
2005-04-27 18:53:23.354     44167:1
2005-04-27 18:53:23.354     44791:0
2005-04-27 18:53:23.354     44839:1
2005-04-27 18:53:23.354     44914:0
2005-04-27 18:53:23.355     44923:1
2005-04-27 18:53:23.355     44933:0
2005-04-27 18:53:23.355     44934:1
2005-04-27 18:53:23.356     44935:0
2005-04-27 18:53:23.356     45007:1
2005-04-27 18:53:23.356     45127:0
2005-04-27 18:53:23.356     45344:1
2005-04-27 18:53:23.357     46638:0
2005-04-27 18:53:23.357     46639:1
2005-04-27 18:53:23.357 Commercial Map After condense:
2005-04-27 18:53:23.358     3828:0
2005-04-27 18:53:23.358     13677:1
2005-04-27 18:53:23.358     22546:0
2005-04-27 18:53:23.359     43058:1
2005-04-27 18:53:23.359     43730:0
2005-04-27 18:53:23.359     45344:1
2005-04-27 18:53:23.359 Logo Commercial Break Map
2005-04-27 18:53:23.360     0:4
2005-04-27 18:53:23.360     3828:5
2005-04-27 18:53:23.360     13677:4
2005-04-27 18:53:23.361     22546:5
2005-04-27 18:53:23.361     43058:4
2005-04-27 18:53:23.361     43730:5
2005-04-27 18:53:23.362     45344:4
2005-04-27 18:53:23.362 Final Commercial Break Map
2005-04-27 18:53:23.362
---------------------------------------------------2005-04-27
18:53:23.363       0 : 4 (00:00:00.00) (0)
2005-04-27 18:53:23.363    3828 : 5 (00:02:33.03) (153)
2005-04-27 18:53:23.363   13677 : 4 (00:09:07.02) (547)
2005-04-27 18:53:23.364   22546 : 5 (00:15:01.21) (901)
2005-04-27 18:53:23.364   43058 : 4 (00:28:42.08) (1722)
2005-04-27 18:53:23.364   43730 : 5 (00:29:09.05) (1749)
2005-04-27 18:53:23.365   45344 : 4 (00:30:13.19) (1813)
2005-04-27 18:53:23.365 ---------------------------------------------------
2005-04-27 18:53:23.601 NVP::FlagCommercials found 3 breaks
2005-04-27 18:53:23.721 Finished, 3 break(s) found.




Messages like the following are deleted from the log:
2005-04-27 18:00:49.042 JobQueue currently set at 1 job(s) max and to
run new jobs from 00:00 to 23:59
2005-04-27 18:00:49.045 JobQueue::GetJobsInQueue: findJobs search
bitmask 4, found 1 total jobs
2005-04-27 18:00:49.046 JobQueue::GetJobsInQueue: Found 'Flag
Commercials' Job for 1004 @ 20050427180000 in Queued state.
2005-04-27 18:02:48.692 JobQueue::RecoverQueue: Checking for
unfinished jobs to recover.


More information about the mythtv-dev mailing list