<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Correction: should read "mp3 files are
      always the same size"<br>
      <br>
      Hello all,<br>
      <br>
      I've no idea what this thread is all about - just one item caught
      my eye: file lengths - I've been playing around with an audio
      chunk upload using arecord with fixed file lengths and the mp3
      files are always the same length, the ogg files vary according to
      content however.<br>
      <br>
      Tony Bailey<br>
      <br>
      <br>
      On 03/03/17 19:58, mail wrote:<br>
    </div>
    <blockquote
cite="mid:15a95c095a2.e228608f59179.3736868888562041169@callum-mclean.co.uk"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div>
        <div>Hi James,<br>
        </div>
        <div><br>
        </div>
        <div>Thank you! That's really kind of you :D<br>
        </div>
        <div><br>
        </div>
        <div>With regard to #1:<br>
        </div>
        <div>Being able to show a projected file size for a file of a
          given length, channel count, bitrate, etc is fairly
          straightforward for uncompressed files (such as WAV). The
          default settings (16-bit, 44.1kHz, stereo) recording for an
          hour will always produce a file of ~605MB. Compressed formats,
          however, are harder to predict given that the compression
          ratio overall depends on the content of the audio. Still, it
          shouldn't vary too much and a rough average figure should be
          sufficient - just not *perfectly* accurate.<br>
        </div>
        <div>See <a moz-do-not-send="true"
            href="https://github.com/calmcl1/chronicle/issues/22">https://github.com/calmcl1/chronicle/issues/22</a>.<br>
        </div>
        <div><br>
        </div>
        <div>#2<br>
        </div>
        <div>Not deleting archives automatically is fine (see&nbsp;<a
            moz-do-not-send="true"
            href="https://github.com/calmcl1/chronicle/issues/21">https://github.com/calmcl1/chronicle/issues/21</a>)
          if you want to manage your archives directly, but a direct
          upload to S3 will take a little work, as one can't *stream*
          directly to S3 and must instead upload short chunks. Not
          impossible, though :)<br>
        </div>
        <div><br>
        </div>
        <div>Unfortunately, a direct Glacier upload isn't possible as
          one must know the *exact* file size before starting - you'd
          have to wait for it to complete and then upload.<br>
        </div>
        <div><br>
        </div>
        <div>Cold-storage/nearline archiving like this would be better
          implemented by logging to a given directory and then running
          an automated hourly/overnight backup operation to Glacier.
          I've actually got some software for that, too, called Cupo (<a
            moz-do-not-send="true"
            href="http://github.com/calmcl1/cupo-backup">github.com/calmcl1/cupo-backup</a>),

          but that's still quite beta (though we do use it for our
          Myriad database backups at HCR).<br>
        </div>
        <div><br>
        </div>
        <div>Does this help, or have I missed the point entirely?<br>
        </div>
        <div><br>
        </div>
        <div>Cal</div>
        <div><br>
        </div>
        <div id="">
          <pre class="moz-signature" cols="72">m: 07426 437449 e: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:mail@callum-mclean.co.uk">mail@callum-mclean.co.uk</a> w: <a moz-do-not-send="true" href="http://callum-mclean.co.uk/">callum-mclean.co.uk</a>
</pre>
        </div>
        <div><br>
        </div>
        <div class="zmail_extra">
          <div id="1">
            <div><br>
            </div>
            <div>---- On Fri, 03 Mar 2017 08:08:00 +0000&nbsp;<b>James
                Cridland <a class="moz-txt-link-rfc2396E"
                  href="mailto:james@cridland.net">&lt;james@cridland.net&gt;</a></b>
              wrote ----<br>
            </div>
          </div>
          <div><br>
          </div>
          <blockquote>
            <div>
              <p>This is nice - have tweeted it and it'll be in my
                newsletter.<br>
              </p>
              <p>Suggestion #1 is to make it clear how much space this
                will take on a local drive.<br>
              </p>
              <p>Suggestion #2 is to archive to Amazon S3 or similar (or
                point to a cron job that will do this for you). Please
                don't delete archives - instead, Amazon Glacier will be
                a really cheap place to store every single second of
                your radio station that was ever broadcast. Imagine how
                awesome that would be.<br>
              </p>
              <p>J<br>
              </p>
              <div><br>
              </div>
              <div>
                <div dir="ltr">On Thu., 2 Mar. 2017, 19:19 Canalside's
                  The Thread, &lt;<a moz-do-not-send="true"
                    href="mailto:office@thethread.org.uk"
                    target="_blank">office@thethread.org.uk</a>&gt;
                  wrote:<br>
                </div>
                <div id="zmail_block"><br>
                </div>
              </div>
              <div dir="ltr">-- <br>
              </div>
              <div>
                <div dir="ltr">
                  <p><br>
                  </p>
                  <div><a moz-do-not-send="true"
                      href="http://james.crid.land" target="_blank">http://james.crid.land</a>
                    - get my weekly newsletter<br>
                  </div>
                  <div><a moz-do-not-send="true"
                      href="https://media.info" target="_blank">https://media.info</a>
                    - the media information website<br>
                  </div>
                  <p><br>
                  </p>
                  <p>Tel: +61 447 692 743 | UK: 020 7100 1811 ('till
                    midday)<span class="font">&nbsp;</span><span class="font">|</span><span
                      class="font">&nbsp;</span>@jamescridland<br>
                  </p>
                </div>
              </div>
              <div>_______________________________________________<br>
              </div>
              <div><br>
              </div>
              <div>Reply - <a moz-do-not-send="true"
                  href="mailto:cma-l@commedia.org.uk" target="_blank">cma-l@commedia.org.uk</a>
                <br>
              </div>
              <div><br>
              </div>
              <div>The cma-l mailing list is a members' service provided
                by the Community Media Association - <a
                  moz-do-not-send="true"
                  href="http://www.commedia.org.uk" target="_blank">http://www.commedia.org.uk</a>
                <br>
              </div>
              <div>Twitter: <a moz-do-not-send="true"
                  href="http://twitter.com/community_media"
                  target="_blank">http://twitter.com/community_media</a>
                <br>
              </div>
              <div><a moz-do-not-send="true"
                  href="http://www.facebook.com/CommunityMediaAssociation"
                  target="_blank">http://www.facebook.com/CommunityMediaAssociation</a>
                <br>
              </div>
              <div>Canstream Internet Radio &amp; Video: <a
                  moz-do-not-send="true"
                  href="http://www.canstream.co.uk/" target="_blank">http://www.canstream.co.uk/</a>
                <br>
              </div>
              <div>_______________________________________________ <br>
              </div>
              <div><br>
              </div>
              <div>Mailing list guidelines: <a moz-do-not-send="true"
href="http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/"
                  target="_blank">http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/</a>
                <br>
              </div>
              <div>_______________________________________________ <br>
              </div>
              <div><br>
              </div>
              <div>To unsubscribe or manage your CMA-L mailing list
                subscription please visit: <br>
              </div>
              <div><a moz-do-not-send="true"
                  href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l"
                  target="_blank">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a><br>
              </div>
            </div>
            <blockquote>
              <div>
                <div>
                  <p><span class="colour"><span class="font"><span
                          class="size">I&#8217;ll get our tekky guys Simon and
                          Blackers onto this Cal &#8230;&#8230; might be worth a
                          dabble and a play. I think they&#8217;ve got bored
                          of our Train set now and need a new Toy to
                          tinker with&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span
                      class="colour"><span class="font"><span
                          class="size">J</span></span></span><span
                      class="colour"><span class="font"><span
                          class="size">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LOL</span></span></span><br>
                  </p>
                  <p><span class="colour"><span class="font"><span
                          class="size">&nbsp;</span></span></span><br>
                  </p>
                  <p><span class="colour"><span class="font"><span
                          class="size">Nick H Dumpty / Head Bottle
                          Washer</span></span></span><br>
                  </p>
                  <p><span class="colour"><span class="font"><span
                          class="size">Canalside Calamity Radio</span></span></span><br>
                  </p>
                  <p><span class="colour"><span class="font"><span
                          class="size">&nbsp;</span></span></span><br>
                  </p>
                  <div>
                    <div>
                      <p><b><span class="colour"><span class="font"><span
                                class="size">From:</span></span></span></b><span
                          class="colour"><span class="font"><span
                              class="size"> <a moz-do-not-send="true"
                                href="mailto:cma-l-bounces@mailman.commedia.org.uk"
                                target="_blank">cma-l-bounces@mailman.commedia.org.uk</a>
                              [mailto:<a moz-do-not-send="true"
                                href="mailto:cma-l-bounces@mailman.commedia.org.uk"
                                target="_blank">cma-l-bounces@mailman.commedia.org.uk</a>]
                              <b>On Behalf Of </b>Cal McLean<br>
                              <b>Sent:</b> 01 March 2017 22:55</span></span></span></p>
                    </div>
                  </div>
                </div>
              </div>
              <div>
                <div>
                  <div>
                    <div>
                      <p><span class="colour"><span class="font"><span
                              class="size"><br>
                              <b>To:</b> The Community Media Association
                              Discussion List &lt;<a
                                moz-do-not-send="true"
                                href="mailto:cma-l@mailman.commedia.org.uk"
                                target="_blank">cma-l@mailman.commedia.org.uk</a>&gt;<br>
                              <b>Subject:</b> [cma-l] Chronicle ROT
                              Logger Beta</span></span></span></p>
                    </div>
                  </div>
                </div>
              </div>
              <div>
                <div>
                  <div>
                    <div>
                      <p><span class="colour"><span class="font"><span
                              class="size"></span></span></span><br>
                      </p>
                    </div>
                  </div>
                  <p>&nbsp;<br>
                  </p>
                  <p><span class="font"><span class="size">Hi all,</span></span><br>
                  </p>
                </div>
              </div>
              <div>
                <div>
                  <p><span class="font"><span class="size">Forgive the
                        shameless-self-promotion post - I was wondering
                        if anyone in the CMA might be willing to try out
                        a bit of software that's currently in beta
                        (though stable enough for production use)?</span></span><br>
                  </p>
                  <p><span class="font"><span class="size">As part of
                        Halton Community Radio's upgrade, I ended up
                        writing an ROT logger, since none of the options
                        available to use particularly seemed to be good
                        value for what we needed. It's now running on a
                        hand-built computer in our production
                        environment!</span></span><br>
                  </p>
                  <p><span class="font"><span class="size">However, I
                        always feel with the bits of software that I
                        write that if they can be useful to me, perhaps
                        they can be useful to other people. If anybody
                        might want to play-test a bit of logging
                        software, it's available at:</span></span><br>
                  </p>
                  <p><a moz-do-not-send="true"
                      href="https://calmcl1.github.io/projects/chronicle"
                      target="_blank"><span class="font"><span
                          class="size"></span></span></a><a
                      moz-do-not-send="true"
                      href="https://calmcl1.github.io/projects/chronicle"
                      target="_blank">https://calmcl1.github.io/projects/chronicle</a><br>
                  </p>
                  <p><span class="font"><span class="size">The link
                        above has much more information about the state
                        of the software, how it came about and what I'm
                        intending to do with it. It's all open source on
                        GitHub, so developer types are free to modify
                        and play as they wish :)</span></span><br>
                  </p>
                  <p><span class="font"><span class="size"><br>
                        Cal McLean</span></span></p>
                  <p><b><span class="font"><span class="size">Head
                          Technician<br>
                        </span></span></b><span class="font"><span
                        class="size">Halton Community Radio</span></span></p>
                </div>
              </div>
              <div>_______________________________________________<br>
              </div>
              <div><br>
              </div>
              <div>Reply - <a moz-do-not-send="true"
                  href="mailto:cma-l@commedia.org.uk" target="_blank">cma-l@commedia.org.uk</a><br>
              </div>
              <div><br>
              </div>
              <div>The cma-l mailing list is a members' service provided
                by the Community Media Association - <a
                  moz-do-not-send="true"
                  href="http://www.commedia.org.uk" target="_blank">http://www.commedia.org.uk</a><br>
              </div>
              <div>Twitter: <a moz-do-not-send="true"
                  href="http://twitter.com/community_media"
                  target="_blank">http://twitter.com/community_media</a><br>
              </div>
              <div><a moz-do-not-send="true"
                  href="http://www.facebook.com/CommunityMediaAssociation"
                  target="_blank">http://www.facebook.com/CommunityMediaAssociation</a><br>
              </div>
              <div>Canstream Internet Radio &amp; Video: <a
                  moz-do-not-send="true"
                  href="http://www.canstream.co.uk/" target="_blank">http://www.canstream.co.uk/</a><br>
              </div>
              <div>_______________________________________________<br>
              </div>
              <div><br>
              </div>
              <div>Mailing list guidelines: <a moz-do-not-send="true"
href="http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/"
                  target="_blank">http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/</a><br>
              </div>
              <div>_______________________________________________<br>
              </div>
              <div><br>
              </div>
              <div>To unsubscribe or manage your CMA-L mailing list
                subscription please visit:<br>
              </div>
              <div><a moz-do-not-send="true"
                  href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l"
                  target="_blank">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a><br>
              </div>
            </blockquote>
          </blockquote>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________

Reply - <a class="moz-txt-link-abbreviated" href="mailto:cma-l@commedia.org.uk">cma-l@commedia.org.uk</a>

The cma-l mailing list is a members' service provided by the Community Media Association - <a class="moz-txt-link-freetext" href="http://www.commedia.org.uk">http://www.commedia.org.uk</a>
Twitter: <a class="moz-txt-link-freetext" href="http://twitter.com/community_media">http://twitter.com/community_media</a>
<a class="moz-txt-link-freetext" href="http://www.facebook.com/CommunityMediaAssociation">http://www.facebook.com/CommunityMediaAssociation</a>
Canstream Internet Radio &amp; Video: <a class="moz-txt-link-freetext" href="http://www.canstream.co.uk/">http://www.canstream.co.uk/</a>
_______________________________________________

Mailing list guidelines: <a class="moz-txt-link-freetext" href="http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/">http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/</a>
_______________________________________________

To unsubscribe or manage your CMA-L mailing list subscription please visit:
<a class="moz-txt-link-freetext" href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Local Reports at <a class="moz-txt-link-freetext" href="http://www.ravensound.pilgrimsound.co.uk">http://www.ravensound.pilgrimsound.co.uk</a></pre>
  </body>
</html>