<br><br><div class="gmail_quote">On 8 May 2012 15:03, Andrew Leech <span dir="ltr">&lt;<a href="mailto:coronasensei@gmail.com" target="_blank">coronasensei@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    On 8/05/2012 2:45 PM, Anthony Giggins wrote:<br>
    <blockquote type="cite">
      <div class="gmail_quote">On 19 April 2012 14:31, Anthony Giggins <span dir="ltr">&lt;<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div class="gmail_quote">
            <div>
              <div>On 19 April 2012 13:14, Andrew Leech <span dir="ltr">&lt;<a href="mailto:coronasensei@gmail.com" target="_blank">coronasensei@gmail.com</a>&gt;</span>
                wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>On 18/04/12 17:11, David Whyte wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      On Wed, Apr 18, 2012 at 3:39 PM, Michael Watson<br>
                      &lt;<a href="mailto:michael@thewatsonfamily.id.au" target="_blank">michael@thewatsonfamily.id.au</a>&gt;
                       wrote:<br>
                      <br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        Not a big issue for me either.  But very willing
                        to supply examples for you<br>
                        from Australia.  USB Memory Stick OK?<br>
                        Send me an email off list, if you would like me
                        to send you details, (or I<br>
                        am happy to setup an FTP site for you to
                        download them from)<br>
                        <br>
                      </blockquote>
                      <br>
                      Hey Michael,<br>
                      <br>
                      I am happy to donate recordings also and I am sure
                      there are other<br>
                      Aussies too.  Maybe we could create a Wiki page or
                      something to<br>
                      co-ordinate our efforts so that we can cover all
                      channels including<br>
                      the shows that give good and bad results.  I am
                      happy to create the<br>
                      page but I am literally walking away from my desk
                      to go home for the<br>
                      day so it will have to wait a couple of hours.<br>
                      <br>
                      Thoughts?<br>
                      <br>
                    </blockquote>
                  </div>
                  I think a wiki page for Australia is certainly a good
                  idea, just like there&#39;s one for UK comm detection.<br>
                  I can imaging that long term there&#39;s always going to
                  be some settings that work better in some countries
                  but not in others, so separating methods for regions
                  may be a good idea as a way to avoid false positives.<br>
                  <br>
                  fwiw I&#39;ve found that silence detection script
                  mentioned here a while back generally works really
                  well on most channels in Melbourne, but not at all on
                  others.<br>
                  10, 11, SBS, ABC, 7 all appear to work based on what&#39;s
                  in my recordedmarkup table, by memory these generally
                  get the cut points pretty well.<br>
                  Channel 9 get&#39;s nothing from that script though.<span><font color="#888888"><br>
                      <br>
                      Andrew</font></span>
                  <div>
                    <div><br>
                      <br>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
            <div>I tried the Silence detection on a few recording from
              channel 9 in Brisbane and had terrible results, I&#39;ll try
              some other channels after hearing this.<br>
              <br>
              Cheers,<br>
              <br>
              Anthony<br>
            </div>
          </div>
          <br>
        </blockquote>
      </div>
      What settings are you using as i&#39;m getting decent results from 10
      &amp; 7 but not from SBS?<br>
      <br>
      I&#39;m currently using <br>
      <br>
      # Allow ad breaks to be upto this many seconds by coalescing
      non-silence<br>
      MAXCOMMBREAKSECS=400<br>
      # Max level to be considered &#39;silent&#39;<br>
      SILENCE_THRESHOLD=&quot;-70&quot;<br>
      # Min duration to be considered &#39;silent&#39;<br>
      SILENCE_DURATION=&quot;0.15&quot;<br>
      <br>
      Cheers,<br>
      <br>
      Anthony<br>
    </blockquote>
    <br></div></div>
    I had originally got good results on SBS with default settings -
    although I had to change the the script slightly to actually run on
    local channels:<br>
    <a href="http://www.softsystem.co.uk/download/mythtv/mythcommflag-silence.sh" target="_blank">http://www.softsystem.co.uk/download/mythtv/mythcommflag-silence.sh</a><br>
    <br>
    diff -u mythcommflag-silence.sh ../mythcommflag-silence.sh<br>
    --- mythcommflag-silence.sh    2012-03-12 02:39:15.000000000 +1100<br>
    +++ ../mythcommflag-silence.sh    2012-04-28 10:29:06.349562470
    +1000<br>
    @@ -232,6 +232,11 @@<br>
             movies4men*|mov4men*) return 0 ;;<br>
             Men*Movie*) return 0 ;;<br>
             Dave*) return 0 ;;<br>
    +        ABC*) return 0 ;;<br>
    +        TEN?Digital*) return 0 ;;<br>
    +#    GO?) return 1 ;;<br>
    +    NINE?) return 1 ;;<br>
    +        *) return 0 ;;<br>
             Import?#*) return 0 ;; # For testing<br>
         esac<br>
         return 1<br>
    @@ -241,7 +246,7 @@<br>
         if [ -n &quot;$JOB&quot; ]; then<br>
             exec &quot;$COMMFLAG&quot; -j $JOB<br>
         elif [ -n &quot;$CHANID&quot; -a -n &quot;$STARTTIME&quot; ]; then<br>
    -        exec &quot;$COMMFLAG&quot; -c &quot;$CHANID&quot; -s &quot;$STARTTIME&quot;<br>
    +        exec &quot;$COMMFLAG&quot; --chanid &quot;$CHANID&quot; --starttime
    &quot;$STARTTIME&quot;<br>
         else<br>
             exec &quot;$COMMFLAG&quot; -f &quot;$FILENAME&quot;<br>
         fi<br>
    <br>
    Default operation is any channel not matched gets sent through to
    original mythcommflag, whose switches had changed in my 0.25 version
    compared to what the script expected.<br>
    the &quot;*) return 0 ;;&quot; line is the key one, to run the silence script
    on all channels by default, rather than to not run it. <br>
    <br>
    I then got some ok results on nine-GO with duration 0.1, thresh -40<br>
    Did get some false positives also though, but I&#39;m not using
    autoskip, I&#39;ll just try the comm skip button on my remote when get
    to a commercial and see how it goes.<br>
    I haven&#39;t really finished testing this out though, not sure if the
    higher threshold will cause problems on other channels.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Andrew<br>
    <br>
  </font></span></div>

<br></blockquote><div><br>Yes I noticed those required changes<br><br>I was wondering why -c &amp; -s was removed in 0.25 and replaced with --chanid &amp; --starttime ( from memory both were valid options in 0.24 )<br><br>
Cheers,<br><br>Anthony<br></div></div><br>