[mythtv-commits] mythtv commit: r10227 by rtsai
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sat Jun 17 03:53:10 UTC 2006
Author: rtsai
Date: 2006-06-17 03:53:08 +0000 (Sat, 17 Jun 2006)
New Revision: 10227
Changeset: http://cvs.mythtv.org/trac/changeset/10227
Added:
branches/commdetector2/programs/mythcommflag/BlankFrameDetector.cpp
branches/commdetector2/programs/mythcommflag/BlankFrameDetector.h
branches/commdetector2/programs/mythcommflag/BorderDetector.cpp
branches/commdetector2/programs/mythcommflag/BorderDetector.h
branches/commdetector2/programs/mythcommflag/CannyEdgeDetector.cpp
branches/commdetector2/programs/mythcommflag/CannyEdgeDetector.h
branches/commdetector2/programs/mythcommflag/CommDetector2.cpp
branches/commdetector2/programs/mythcommflag/CommDetector2.h
branches/commdetector2/programs/mythcommflag/EdgeDetector.cpp
branches/commdetector2/programs/mythcommflag/EdgeDetector.h
branches/commdetector2/programs/mythcommflag/FrameAnalyzer.h
branches/commdetector2/programs/mythcommflag/PGMConverter.cpp
branches/commdetector2/programs/mythcommflag/PGMConverter.h
branches/commdetector2/programs/mythcommflag/TemplateFinder.cpp
branches/commdetector2/programs/mythcommflag/TemplateFinder.h
branches/commdetector2/programs/mythcommflag/TemplateMatcher.cpp
branches/commdetector2/programs/mythcommflag/TemplateMatcher.h
branches/commdetector2/programs/mythcommflag/pgm.cpp
branches/commdetector2/programs/mythcommflag/pgm.h
Modified:
branches/commdetector2/programs/mythcommflag/ClassicCommDetector.cpp
branches/commdetector2/programs/mythcommflag/ClassicCommDetector.h
branches/commdetector2/programs/mythcommflag/CommDetector.h
branches/commdetector2/programs/mythcommflag/CommDetectorFactory.cpp
branches/commdetector2/programs/mythcommflag/CommDetectorFactory.h
branches/commdetector2/programs/mythcommflag/main.cpp
branches/commdetector2/programs/mythcommflag/mythcommflag.pro
Log:
First cut at some restructuring:
* CommDetector2 has the main loop.
* Implement a Canny-based logo detector (which also recognizes when there is no
logo).
* Implement a blank-frame detector and respect the CommSkipAllBlanks option.
* Implement a very very rudimentary way to combine the two.
* PGMConverter has a #define to control whether to perform true greyscale
conversion of each frame, or to simply fake up a ffmpeg AVPicture structure
using the YUV data (latter is the default; it works well enough).
Works against a variety of my recordings. To test:
update settings set data = '511' where value = 'CommercialSkipMethod';
[see CommDetector.h]
or use --method with mythcommflag on the command-line
There are a few 'DebugLevel' options for each of the FrameAnalyzers.
More information about the mythtv-commits
mailing list