<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 8/05/2012 2:45 PM, Anthony Giggins wrote:<br>
    <blockquote
cite="mid:CAKpY+aptBspraQdz31rO0tHT27jdsKFabEk2H68fbo_bfE6FeA@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">On 19 April 2012 14:31, Anthony Giggins <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            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 class="h5">On 19 April 2012 13:14, Andrew Leech <span
                  dir="ltr">&lt;<a moz-do-not-send="true"
                    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 moz-do-not-send="true"
                        href="mailto:michael@thewatsonfamily.id.au"
                        target="_blank">michael@thewatsonfamily.id.au</a>&gt;
                      &nbsp;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. &nbsp;But very willing
                        to supply examples for you<br>
                        from Australia. &nbsp;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. &nbsp;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. &nbsp;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's one for UK comm detection.<br>
                  I can imaging that long term there'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'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's
                  in my recordedmarkup table, by memory these generally
                  get the cut points pretty well.<br>
                  Channel 9 get'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'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'm getting decent results from 10
      &amp; 7 but not from SBS?<br>
      <br>
      I'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 'silent'<br>
      SILENCE_THRESHOLD="-70"<br>
      # Min duration to be considered 'silent'<br>
      SILENCE_DURATION="0.15"<br>
      <br>
      Cheers,<br>
      <br>
      Anthony<br>
    </blockquote>
    <br>
    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 class="moz-txt-link-freetext" href="http://www.softsystem.co.uk/download/mythtv/mythcommflag-silence.sh">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&nbsp;&nbsp;&nbsp; 2012-03-12 02:39:15.000000000 +1100<br>
    +++ ../mythcommflag-silence.sh&nbsp;&nbsp;&nbsp; 2012-04-28 10:29:06.349562470
    +1000<br>
    @@ -232,6 +232,11 @@<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; movies4men*|mov4men*) return 0 ;;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Men*Movie*) return 0 ;;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dave*) return 0 ;;<br>
    +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ABC*) return 0 ;;<br>
    +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEN?Digital*) return 0 ;;<br>
    +#&nbsp;&nbsp;&nbsp; GO?) return 1 ;;<br>
    +&nbsp;&nbsp;&nbsp; NINE?) return 1 ;;<br>
    +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *) return 0 ;;<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Import?#*) return 0 ;; # For testing<br>
    &nbsp;&nbsp;&nbsp;&nbsp; esac<br>
    &nbsp;&nbsp;&nbsp;&nbsp; return 1<br>
    @@ -241,7 +246,7 @@<br>
    &nbsp;&nbsp;&nbsp;&nbsp; if [ -n "$JOB" ]; then<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec "$COMMFLAG" -j $JOB<br>
    &nbsp;&nbsp;&nbsp;&nbsp; elif [ -n "$CHANID" -a -n "$STARTTIME" ]; then<br>
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec "$COMMFLAG" -c "$CHANID" -s "$STARTTIME"<br>
    +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec "$COMMFLAG" --chanid "$CHANID" --starttime
    "$STARTTIME"<br>
    &nbsp;&nbsp;&nbsp;&nbsp; else<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec "$COMMFLAG" -f "$FILENAME"<br>
    &nbsp;&nbsp;&nbsp;&nbsp; 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 "*) return 0 ;;" 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'm not using
    autoskip, I'll just try the comm skip button on my remote when get
    to a commercial and see how it goes.<br>
    I haven't really finished testing this out though, not sure if the
    higher threshold will cause problems on other channels.<br>
    <br>
    Andrew<br>
    <br>
  </body>
</html>