[mythtv-users] mythcommflag not working with pre-0.18 CVS : Didn't
find enough blank frames
Will Dormann
wd at pobox.com
Tue Apr 12 15:13:41 UTC 2005
Hello,
I'm running a CVS build of MythTV from April 11 to test the xv-xvmc
merge patch. I noticed that mythcommflag isn't working properly. No
commercials are found in any of my recordings.
Here's a log from mythcommflag. Any ideas?
Thanks!
-WD
--------------
2005-04-12 10:52:56.043 New DB connection, total: 1
2005-04-12 10:52:56.050 mythcommflag version: 0.18.20050409-1 www.mythtv.org
2005-04-12 10:52:56.051 Enabled verbose msgs :all
MythTV Commercial Flagger, started at Tue Apr 12 10:52:56 2005
Flagging commercial breaks for:
ChanID Start Time Title Breaks
------ -------------- ----------------------------------------- ------
2005-04-12 10:52:56.057 New DB connection, total: 2
1007 20050411192800 Seinfeld
2005-04-12 10:52:56.087 AVFD: Opening Stream #0: codec id 2
2005-04-12 10:52:56.088 AVFD: Looking for decoder for 2
2005-04-12 10:52:56.088 AVFD: Opening Stream #1: codec id 86016
2005-04-12 10:52:56.088 AVFD: Looking for decoder for 86016
2005-04-12 10:52:56.092 Stream #1 (audio track #0) is an audio stream
with 2 channels.
2005-04-12 10:52:56.092 Auto-selecting audio track #1 (stream #1).
2005-04-12 10:52:56.092 It has 2 channels and we needed at least 1
2005-04-12 10:52:56.093 Initializing audio parms from audio track #0.
2005-04-12 10:52:56.093 Estimated bitrate = 6384
2005-04-12 10:52:56.164 Position map filled from DB to: 4163
2005-04-12 10:52:56.166 SyncPositionMap prerecorded, from DB: 4164 entries
2005-04-12 10:52:56.166 SyncPositionMap, new totframes: 62445, new
length: -2147483648, posMap size: 4164
Input #0, mpeg, from
'/mnt/slanky/mythtv/1007_20050411192800_20050411200000.nuv':
Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps, 6000 kb/s
Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
2005-04-12 10:52:56.167 Position map found
2005-04-12 10:52:56.170 Commercial Detection initialized: width = 0,
height = 0, fps = 29.97, method = 3
2005-04-12 10:52:56.171 Using Sample Spacing of 4 horizontal & 4
vertical pixels.
2005-04-12 10:52:56.173 CommDetect::ClearAllMaps()
2005-04-12 10:52:56.189 Image size. dispxoff 0, dispyoff: 0, dispwoff:
0, disphoff: 0
2005-04-12 10:52:56.190 Image size. imgx 0, imgy: 0, imgw: 0, imgh: 0
2005-04-12 10:52:56.191 AvFormatDecoder: Video has changed from 640x480
to 720x480.
2005-04-12 10:52:56.192 CommDetect::SetVideoParams called with aspect =
1.33333
2005-04-12 10:52:56.192 Aspect Ratio changed from 1 to 0 at frame -1
2005-04-12 10:52:56.192 DiscardFrames() used limbo
2005-04-12 10:52:56.193 DiscardFrames() -- done() AAAAAAAA
2005-04-12 10:52:56.231 Image size. dispxoff 0, dispyoff: 0, dispwoff:
0, disphoff: 0
2005-04-12 10:52:56.231 Image size. imgx 0, imgy: 0, imgw: 720, imgh: 480
2005-04-12 10:52:56.232 detectInterlace(Detect Scan, Detect Scan, 29.97,
480) ->Interlaced Scan
2005-04-12 10:52:56.232 Interlaced: Interlaced Scan video_height: 480
fps: 29.97
0%/ 0%/ 0fps2005-04-12 10:52:56.428
HandleGopStart: gopset not set, syncing positionMap
2005-04-12 10:52:56.429 Stream initial keyframedist: 15.
0%/111fps
<snip>
99%/110fps 2005-04-12 11:02:19.699
CommDetect::GetBlankFrameMap()
2005-04-12 11:02:19.699 CommDetect::GetCommBreakMap()
2005-04-12 11:02:19.700 CommDetect::CleanupFrameInfo()
2005-04-12 11:02:19.701 Didn't find enough blank frames, rechecking data
using higher threshold.
2005-04-12 11:02:19.713 Minimum Average Brightness on a frame was -1,
will use 2 as new threshold
2005-04-12 11:02:19.966 Found 62446 blank frames using new value
2005-04-12 11:02:20.175 CommDetect::BuildBlankFrameCommList()
2005-04-12 11:02:20.286 Blank-Frame Commercial Map
2005-04-12 11:02:20.287 1:4
2005-04-12 11:02:20.287 145:5
2005-04-12 11:02:20.287 146:4
<snip LOTS>
2005-04-12 11:02:20.476 62205:5
2005-04-12 11:02:20.476 62206:4
2005-04-12 11:02:20.476 62350:5
2005-04-12 11:02:20.477 Merged Blank-Frame Commercial Break Map
2005-04-12 11:02:20.478 1:4
2005-04-12 11:02:20.478 62350:5
2005-04-12 11:02:20.479 Scene-Change Commercial Break Map
2005-04-12 11:02:20.480 CommDetect::BuildMasterCommList()
2005-04-12 11:02:20.480 Final Commercial Break Map
2005-04-12 11:02:20.480 ---------------------------------------------------
2005-04-12 11:02:20.481 1 : 4 (00:00:00.01) (0)
2005-04-12 11:02:20.481 62350 : 5 (00:34:38.10) (2078)
2005-04-12 11:02:20.481 ---------------------------------------------------
1
Finished commercial break flagging at Tue Apr 12 11:02:20 2005
More information about the mythtv-users
mailing list