[mythtv-users] Real time commflagging of 1080i material from hdpvr
Tom Lichti
redpepperracing at gmail.com
Tue Apr 27 21:25:37 UTC 2010
On Tue, Apr 27, 2010 at 4:42 PM, Tom Lichti <redpepperracing at gmail.com> wrote:
>>> Edit mythtv/programs/ClassicCommDetector.cpp and search for the
>>> following:
>>>
>>> if ((width * height) > 1000000)
>>> {
>>> horizSpacing = 10;
>>> vertSpacing = 10;
>>> }
>>> else if ((width * height) > 800000)
>>> {
>>> horizSpacing = 8;
>>> vertSpacing = 8;
>>> }
>>>
>>> Try changing the two 10's up there to 12 or 16. That should speed up
>>> detection a little. That whole section of logic could probably be
>>> cleaned up a bit to be hand-tuned to standard video sizes. Patches
>>> are welcome if they give good results. :)
>>
>> I build from source, so trying this won't be a problem at all. I'll give it
>> a try tonight and report back.
>
> I'm going to test it out as well. I think you meant
> mythtv/programs/mythcommflag/ClassicCommDetector.cpp though... :)
>
> Tom
>
In my highly scientific test, it actually took longer use '16' as the
spacing. It took 25 minutes before the change and a bit more than 26
minutes to flag a one hour 6.8G show recorded OTA with an HDHR. Not
exactly the same scenario. Annnnnnnd...I just realized that the
recording was 720p, which has no relevance to this discussion...
Tom
More information about the mythtv-users
mailing list