<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 10, 2014 at 10:09 AM, Rob Owens <span dir="ltr">&lt;<a href="mailto:rowens@ptd.net" target="_blank">rowens@ptd.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">----- Original Message -----<br>
&gt; From: &quot;Carl Hunter&quot; &lt;<a href="mailto:cdhunter2@yahoo.com">cdhunter2@yahoo.com</a>&gt;<br>
&gt; To: &quot;Discussion about MythTV&quot; &lt;<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>
&gt; Sent: Wednesday, September 10, 2014 9:22:07 AM<br>
&gt; Subject: Re: [mythtv-users] mythcommflag not working<br>
&gt;<br>
&gt; On 9/9/2014 2:09 PM, Gary Buhrmaster wrote:<br>
&gt; &gt; Commercial detection is hard, and is constantly<br>
&gt; &gt; getting harder as broadcasters intentionally try to<br>
&gt; &gt; avoid commercials getting detected (they do not<br>
&gt; &gt; want you to skip the commercials; that is how they<br>
&gt; &gt; make money).  The algorithms of old probably<br>
&gt; &gt; could use some TLC. I believe if someone wants to<br>
&gt; &gt; invest (the likely considerable) effort to improve<br>
&gt; &gt; commercial detection the devs have a stash of<br>
&gt; &gt; samples from around the world to work with (what<br>
&gt; &gt; works well in one country, or even for some<br>
&gt; &gt; channels or providers may not work well in others),<br>
&gt; &gt; so if you are serious about working with the code,<br>
&gt; &gt; I would contact them for access to the stash.<br>
&gt; &gt; As I recall, there are some alternative programs<br>
&gt; &gt; out there that try to detect commercials, and<br>
&gt; &gt; perhaps someone could examine them to see if<br>
&gt; &gt; their ideas could be integrated into MythTV.<br>
&gt; &gt; Personally, I just use the skip forward key.<br>
&gt; &gt;<br>
&gt;<br>
&gt; I&#39;ve been using the skip forward key for a few years now.  I just know<br>
&gt; it was working well for me and my source hasn&#39;t changed.<br>
&gt;<br>
&gt; Would an idea be to get mythcommflag from 0.24 compiling / working<br>
&gt; against a 0.27 database to do some comparing or is that not really<br>
&gt; possible since other dependencies have changed like maybe ffmpeg?<br>
&gt;<br>
<br>
If anybody&#39;s still running older versions of MythTV, I could send you one of my problematic mpg files to test.  Or will mythcommflag not work if the video is not in the tester&#39;s database?<br>
<br>
-Rob<br></blockquote><div><br></div><div>Yes, that would be quite interesting. My experience is that comm flagging (on SD MPEG2 files from a PVR-500) went from near perfect in 0.24 to catching maybe 1 out of 3-4 in 0.26 and beyond (I skipped 0.25). I assumed it was some change in the integrated ffmpeg but if there were other changes it would be nice to bring them back, ideally with some switches to choose the &quot;old&quot; or &quot;new&quot; algorithm, per channel.<br><br></div><div>Karl<br></div></div></div></div>