<div dir='auto'>If you select fixed rate (CBR) MP3 coding, then file sizes are pretty constant. &nbsp;We play out most material at 256kbps, and an hour's programme is about 112MB, and the player's time to run display is accurate.&nbsp;<div dir="auto"><br></div><div dir="auto">But if instead you select variable rate (VBR) encoding the rate is adaptive to the material, and file length becomes variable according to content. Also a player's time to run display becomes only approximate, which is a big disadvantage for studio use.</div><div dir="auto"><br></div><div dir="auto">Alex<br><div dir="auto"><br></div><div dir="auto">But some people use</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 Mar 2017 08:46, Tony Bailey &lt;ravensound@pilgrimsound.co.uk&gt; wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <div>Correction: should read &#34;mp3 files are
      always the same size&#34;<br />
      <br />
      Hello all,<br />
      <br />
      I&#39;ve no idea what this thread is all about - just one item caught
      my eye: file lengths - I&#39;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>
      </blockquote></div>
      <div>
        <div>Hi James,<br />
        </div>
        <div><br />
        </div>
        <div>Thank you! That&#39;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&#39;t vary too much and a rough average figure should be
          sufficient - just not *perfectly* accurate.<br />
        </div>
        <div>See <a 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 <a 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&#39;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&#39;t possible as
          one must know the *exact* file size before starting - you&#39;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&#39;ve actually got some software for that, too, called Cupo (<a href="http://github.com/calmcl1/cupo-backup">github.com/calmcl1/cupo-backup</a>),

          but that&#39;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>
          <pre>m: 07426 437449 e: <a href="mailto:mail&#64;callum-mclean.co.uk">mail&#64;callum-mclean.co.uk</a> w: <a href="http://callum-mclean.co.uk/">callum-mclean.co.uk</a>
</pre>
        </div>
        <div><br />
        </div>
        <div>
          <div>
            <div><br />
            </div>
            <div>---- On Fri, 03 Mar 2017 08:08:00 &#43;0000 <b>James
                Cridland <a href="mailto:james&#64;cridland.net">&lt;james&#64;cridland.net&gt;</a></b>
              wrote ----<br />
            </div>
          </div>
          <div><br />
          </div>
          <blockquote>
            <div>
              <p>This is nice - have tweeted it and it&#39;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&#39;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&#39;s
                  The Thread, &lt;<a href="mailto:office&#64;thethread.org.uk">office&#64;thethread.org.uk</a>&gt;
                  wrote:<br />
                </div>
                <div><br />
                </div>
              </div>
              <div dir="ltr">-- <br />
              </div>
              <div>
                <div dir="ltr">
                  <p><br />
                  </p>
                  <div><a href="http://james.crid.land">http://james.crid.land</a>
                    - get my weekly newsletter<br />
                  </div>
                  <div><a href="https://media.info">https://media.info</a>
                    - the media information website<br />
                  </div>
                  <p><br />
                  </p>
                  <p>Tel: &#43;61 447 692 743 | UK: 020 7100 1811 (&#39;till
                    midday) | &#64;jamescridland<br />
                  </p>
                </div>
              </div>
              <div>_______________________________________________<br />
              </div>
              <div><br />
              </div>
              <div>Reply - <a href="mailto:cma-l&#64;commedia.org.uk">cma-l&#64;commedia.org.uk</a>
                <br />
              </div>
              <div><br />
              </div>
              <div>The cma-l mailing list is a members&#39; service provided
                by the Community Media Association - <a href="http://www.commedia.org.uk">http://www.commedia.org.uk</a>
                <br />
              </div>
              <div>Twitter: <a href="http://twitter.com/community_media">http://twitter.com/community_media</a>
                <br />
              </div>
              <div><a href="http://www.facebook.com/CommunityMediaAssociation">http://www.facebook.com/CommunityMediaAssociation</a>
                <br />
              </div>
              <div>Canstream Internet Radio &amp; Video: <a href="http://www.canstream.co.uk/">http://www.canstream.co.uk/</a>
                <br />
              </div>
              <div>_______________________________________________ <br />
              </div>
              <div><br />
              </div>
              <div>Mailing list guidelines: <a 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>
                <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 href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a><br />
              </div>
            </div>
            <blockquote>
              <div>
                <div>
                  <p>I’ll get our tekky guys Simon and
                          Blackers onto this Cal …… might be worth a
                          dabble and a play. I think they’ve got bored
                          of our Train set now and need a new Toy to
                          tinker with        J        LOL<br />
                  </p>
                  <p> <br />
                  </p>
                  <p>Nick H Dumpty / Head Bottle
                          Washer<br />
                  </p>
                  <p>Canalside Calamity Radio<br />
                  </p>
                  <p> <br />
                  </p>
                  <div>
                    <div>
                      <p><b>From:</b> <a href="mailto:cma-l-bounces&#64;mailman.commedia.org.uk">cma-l-bounces&#64;mailman.commedia.org.uk</a>
                              [mailto:<a href="mailto:cma-l-bounces&#64;mailman.commedia.org.uk">cma-l-bounces&#64;mailman.commedia.org.uk</a>]
                              <b>On Behalf Of </b>Cal McLean<br />
                              <b>Sent:</b> 01 March 2017 22:55</p>
                    </div>
                  </div>
                </div>
              </div>
              <div>
                <div>
                  <div>
                    <div>
                      <p><br />
                              <b>To:</b> The Community Media Association
                              Discussion List &lt;<a href="mailto:cma-l&#64;mailman.commedia.org.uk">cma-l&#64;mailman.commedia.org.uk</a>&gt;<br />
                              <b>Subject:</b> [cma-l] Chronicle ROT
                              Logger Beta</p>
                    </div>
                  </div>
                </div>
              </div>
              <div>
                <div>
                  <div>
                    <div>
                      <p><br />
                      </p>
                    </div>
                  </div>
                  <p> <br />
                  </p>
                  <p>Hi all,<br />
                  </p>
                </div>
              </div>
              <div>
                <div>
                  <p>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&#39;s currently in beta
                        (though stable enough for production use)?<br />
                  </p>
                  <p>As part of
                        Halton Community Radio&#39;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&#39;s now running on a
                        hand-built computer in our production
                        environment!<br />
                  </p>
                  <p>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&#39;s available at:<br />
                  </p>
                  <p><a href="https://calmcl1.github.io/projects/chronicle"></a><a href="https://calmcl1.github.io/projects/chronicle">https://calmcl1.github.io/projects/chronicle</a><br />
                  </p>
                  <p>The link
                        above has much more information about the state
                        of the software, how it came about and what I&#39;m
                        intending to do with it. It&#39;s all open source on
                        GitHub, so developer types are free to modify
                        and play as they wish :)<br />
                  </p>
                  <p><br />
                        Cal McLean</p>
                  <p><b>Head
                          Technician<br />
                        </b>Halton Community Radio</p>
                </div>
              </div>
              <div>_______________________________________________<br />
              </div>
              <div><br />
              </div>
              <div>Reply - <a href="mailto:cma-l&#64;commedia.org.uk">cma-l&#64;commedia.org.uk</a><br />
              </div>
              <div><br />
              </div>
              <div>The cma-l mailing list is a members&#39; service provided
                by the Community Media Association - <a href="http://www.commedia.org.uk">http://www.commedia.org.uk</a><br />
              </div>
              <div>Twitter: <a href="http://twitter.com/community_media">http://twitter.com/community_media</a><br />
              </div>
              <div><a href="http://www.facebook.com/CommunityMediaAssociation">http://www.facebook.com/CommunityMediaAssociation</a><br />
              </div>
              <div>Canstream Internet Radio &amp; Video: <a href="http://www.canstream.co.uk/">http://www.canstream.co.uk/</a><br />
              </div>
              <div>_______________________________________________<br />
              </div>
              <div><br />
              </div>
              <div>Mailing list guidelines: <a 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><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 href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a><br />
              </div>
            </blockquote>
          </blockquote>
        </div>
        <div><br />
        </div>
      </div>
      <br />
      <fieldset></fieldset>
      <br />
      <pre>_______________________________________________

Reply - <a href="mailto:cma-l&#64;commedia.org.uk">cma-l&#64;commedia.org.uk</a>

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

Mailing list guidelines: <a 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 href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a></pre>
    
    <br />
    <br />
    <pre>-- 
Local Reports at <a href="http://www.ravensound.pilgrimsound.co.uk">http://www.ravensound.pilgrimsound.co.uk</a></pre>
  

</blockquote></div><br></div>