[mythtv-users] Commflagging logodetection

Stefan Pappalardo sjuk at gmx.de
Tue Dec 24 00:10:57 UTC 2013


johan vanderkolk wrote:
> In many of my recordings, few or no commercials are flagged
>
> running a commflagjob from the command prompt gives me this info as the
> last lines before the actual commflagging starts
>
>
> mythcommflag -v commflag --hogcpu -f 3015_20101020190500.mpg (as root)
>
>
> 2010-11-06 13:59:32.048 AFD: CommFlagFast: 0
> 2010-11-06 13:59:32.048 AFD: Special Decode Flags: 0x0
> 2010-11-06 13:59:32.070 AFD: Opened codec 0xb58036d0, id(MPEG2VIDEO)
> type(Video)
> 2010-11-06 13:59:32.070 AFD: codec MP2 has 2 channels
> 2010-11-06 13:59:32.070 AFD: Opened codec 0xb5805440, id(MP2) type(Audio)
> 2010-11-06 13:59:32.088 Commercial Detection initialized: width = 704,
> height = 576, fps = 25, method = 7
> 2010-11-06 13:59:32.088 Using Sample Spacing of 6 horizontal & 6
> vertical pixels.
> 2010-11-06 13:59:32.088 CommDetect::ClearAllMaps()
> 2010-11-06 13:59:32.111 Searching for Station Logo
> 2010-11-06 13:59:32.112 Trying with edgeDiff == 5.
> .
> .
> 2010-11-06 14:00:47.864 Trying with edgeDiff == 60
> 2010-11-06 14:00:57.452 Analyzing edge data
> 2010-11-06 14:00:57.457 SetLogoMaskArea()
> 2010-11-06 14:00:57.463 SetLogoMaskArea()
> 2010-11-06 14:00:57.466 Testing Logo area: topleft (75,37), bottomright
> (648,512)
> 2010-11-06 14:00:57.466 Rejecting Logo area: topleft (75,37),
> bottomright (648,512), pixelsInMask (957). Not within specified limits.
> 2010-11-06 14:00:57.467 No suitable logo area found.
> 2010-11-06 14:00:57.479 CommDetect::SetVideoParams called with aspect =
> 1.77778
> 2010-11-06 14:04:13.960 [mpeg2video @ 0x41a8400]ac-tex damaged at 5 7
> 2010-11-06 14:04:13.961 [mpeg2video @ 0x41a8400]Warning MVs not available
> 2010-11-06 14:04:13.969 [mp2 @ 0x41a8400]incomplete frame
> 2010-11-06 14:04:13.969 AFD Error: Unknown audio decoding error
> 2010-11-06 14:04:13.969 CommDetect::GetCommBreakMap()
> 2010-11-06 14:04:13.969 CommDetect::CleanupFrameInfo()
> 2010-11-06 14:04:13.969 ClassicCommDetect: Only found 0 blank frames but
> wanted at least 261, rechecking data using higher threshold.
> 2010-11-06 14:04:14.543 Minimum Average Brightness on a frame was 49,
> will use 52 as new threshold
> 2010-11-06 14:04:17.811 Found 560996 blank frames using new value
> 2010-11-06 14:04:29.544 CommDetect::BuildAllMethodsCommList()
>
> The recording (and many others) has the logo in the top right corner.
>
> In some cases commflag is able to detect some of the commercials,
> probably using blank frame detection
>
> Could this be (one of) the reasons commflagging is missing a lot of
> commercial breaks?
>
> Johan

It looks like we have got the same issue: No suitable logo area found.
Did you get any help in this?
Is it still an issue for you today?

Best wishes
Stefan


More information about the mythtv-users mailing list