Hmm, 

I sent this last night but it never showed up on the list, 
So I am resending
...
Fixed it myself :)

The patch is attached and it replaces the previous patch and
addresses all four issues.

1) in strict mode - treat frames as blank only if logo is absent
2) more fixes for the "long long" issue
3) fix for "white frames" triggering commercials
4) do not detect commercials less than 60 sec long, in the middle of a show


PS
I also highly recommend changing the default max and min comm break lengths

-#define MIN_COMM_BREAK_LENGTH   60
-#define MAX_COMM_BREAK_LENGTH  485
+#define MIN_COMM_BREAK_LENGTH   55
+#define MAX_COMM_BREAK_LENGTH  335

The combination of the above changes seems to detect at 99% accuracy 
with no false positives so far for me.


PPS

On Monday 11 April 2005 11:07 pm, Risto Treksler wrote:
> 1) I DO NOT ignore logos in blank frames in STRICT mode

what I meant is that i do not ignore the logo area in strict mode
in effect i do ignore the logo
:)

Attachment: commercial_skip.updated.diff.bz2
Description: BZip2 compressed data

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to