2009/4/21 Justin Wetherell <phishman3...@gmail.com>:
> I wrote the commercial detection code for Freevo a long time ago. While I
> agree that it isn't accurate or great, it's the _only_ option available. And
> unfortunetly the MythTV developers aren't very code friendly.
>
> The three key indicators that MythTV talks about are wonderful ideas. But at
> the time I wrote the detection code, there was no open source option that
> would output when a scene transaction had occurred or when a bug was being
> displayed. So, the only option was to _just_ use blank frames which was beta
> code in MPlayer.
>
> I have't looked into it lately but maybe those two options are now avilable.
> Or maybe someone would like to parse the MythTV code and rip out the code
> needed and make there own 'commercial detector'. I think the second option
> would be a great addition to the open source world but I no longer have the
> time to do such a task.
>
Something I have thought about, and maybe unworkable, is a time check
between black frames. If the time between frames was less than 5
seconds or over about 1.5 minutes then chances are good you are not
seeing commercials. That way the current black frame detection find
potential commercials and  the time test would eliminate a lot of
false positives for dark shows or shows with a lot black frames.

Evan

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to