<div dir="ltr" class="gmail_msg">I think my only point about file size is to answer the question "how large a hard drive should I have?" <span style="font-size:13px">If you wanted the answer - a 750GB hard drive should be enough.</span></div><div dir="ltr" class="gmail_msg"><br></div><div dir="ltr" class="gmail_msg">Since this software is there to run a legally-required service, the last thing you want it to do is to silently fail due to a lack of disc space.</div><div dir="ltr" class="gmail_msg"><br></div><div dir="ltr" class="gmail_msg">The "never delete" archive comment - I can't see any requirement to stream directly to S3 (and as you say, it's virtually impossible anyway). I'd run an hourly, daily or weekly cron job to upload the files - which you might want to ensure are in sensible folder structure (/2017/03/12/0400-0500.wav) so you don't end up with an unweildy file list. Using a separate cron job is less likely to hurt the recording process, I'm assuming.</div><div dir="ltr" class="gmail_msg"><br></div><div dir="ltr" class="gmail_msg">Transferral to Amazon Glacier, incidentally, can be set to automatically happen after a period of days with AWS. (For those reading along - Glacier is an even cheaper place to dump your files, with the drawback that if you want them, you need to request them and they take about four hours to become available).</div><div dir="ltr" class="gmail_msg"><br></div><div dir="ltr" class="gmail_msg">This is good stuff - I'm sure that logging has been re-invented many times, but anything that is free and simple to use (and, most importantly, open for others to improve) is a good thing in my book!</div><div dir="ltr" class="gmail_msg"><br></div><div dir="ltr" class="gmail_msg">//j</div><div dir="ltr" class="gmail_msg"><br></div><div dir="ltr" class="gmail_msg"><br></div><div dir="ltr" class="gmail_msg"><br></div><span>
</span><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Sat, 4 Mar 2017, 19:43 Alex Gray <<a href="mailto:tlr@gairloch.co.uk" class="gmail_msg" target="_blank">tlr@gairloch.co.uk</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" id="gmail_block_quote0"><div dir="auto" class="gmail_msg">If you select fixed rate (CBR) MP3 coding, then file sizes are pretty constant. 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. <div dir="auto" class="gmail_msg"><br class="gmail_msg"></div><div dir="auto" class="gmail_msg">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" class="gmail_msg"><br class="gmail_msg"></div><div dir="auto" class="gmail_msg">Alex<br class="gmail_msg"><div dir="auto" class="gmail_msg"><br class="gmail_msg"></div><div dir="auto" class="gmail_msg">But some people use</div></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On 4 Mar 2017 08:46, Tony Bailey <<a href="mailto:ravensound@pilgrimsound.co.uk" class="gmail_msg" target="_blank">ravensound@pilgrimsound.co.uk</a>> wrote:<br type="attribution" class="gmail_msg"><blockquote class="m_7059003852530036114m_8351020962405447957quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div class="gmail_msg">Correction: should read "mp3 files are
always the same size"<br class="gmail_msg">
<br class="gmail_msg">
Hello all,<br class="gmail_msg">
<br class="gmail_msg">
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 class="gmail_msg">
<br class="gmail_msg">
Tony Bailey<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
On 03/03/17 19:58, mail wrote:<br class="gmail_msg">
</div>
<blockquote class="gmail_msg">
</blockquote></div>
<div class="gmail_msg">
<div class="gmail_msg">Hi James,<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Thank you! That's really kind of you :D<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">With regard to #1:<br class="gmail_msg">
</div>
<div class="gmail_msg">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 class="gmail_msg">
</div>
<div class="gmail_msg">See <a href="https://github.com/calmcl1/chronicle/issues/22" class="gmail_msg" target="_blank">https://github.com/calmcl1/chronicle/issues/22</a>.<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">#2<br class="gmail_msg">
</div>
<div class="gmail_msg">Not deleting archives automatically is fine (see <a href="https://github.com/calmcl1/chronicle/issues/21" class="gmail_msg" target="_blank">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 class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">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 class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">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 href="http://github.com/calmcl1/cupo-backup" class="gmail_msg" target="_blank">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 class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Does this help, or have I missed the point entirely?<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Cal</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">
<pre class="gmail_msg">m: 07426 437449 e: <a href="mailto:mail@callum-mclean.co.uk" class="gmail_msg" target="_blank">mail@callum-mclean.co.uk</a> w: <a href="http://callum-mclean.co.uk/" class="gmail_msg" target="_blank">callum-mclean.co.uk</a>
</pre>
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">---- On Fri, 03 Mar 2017 08:08:00 +0000 <b class="gmail_msg">James
Cridland <a href="mailto:james@cridland.net" class="gmail_msg" target="_blank"><james@cridland.net></a></b>
wrote ----<br class="gmail_msg">
</div>
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<blockquote class="gmail_msg">
<div class="gmail_msg">
<p class="gmail_msg">This is nice - have tweeted it and it'll be in my
newsletter.<br class="gmail_msg">
</p>
<p class="gmail_msg">Suggestion #1 is to make it clear how much space this
will take on a local drive.<br class="gmail_msg">
</p>
<p class="gmail_msg">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 class="gmail_msg">
</p>
<p class="gmail_msg">J<br class="gmail_msg">
</p>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">
<div dir="ltr" class="gmail_msg">On Thu., 2 Mar. 2017, 19:19 Canalside's
The Thread, <<a href="mailto:office@thethread.org.uk" class="gmail_msg" target="_blank">office@thethread.org.uk</a>>
wrote:<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
</div>
<div dir="ltr" class="gmail_msg">-- <br class="gmail_msg">
</div>
<div class="gmail_msg">
<div dir="ltr" class="gmail_msg">
<p class="gmail_msg"><br class="gmail_msg">
</p>
<div class="gmail_msg"><a href="http://james.crid.land" class="gmail_msg" target="_blank">http://james.crid.land</a>
- get my weekly newsletter<br class="gmail_msg">
</div>
<div class="gmail_msg"><a href="https://media.info" class="gmail_msg" target="_blank">https://media.info</a>
- the media information website<br class="gmail_msg">
</div>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">Tel: +61 447 692 743 | UK: 020 7100 1811 ('till
midday) | @jamescridland<br class="gmail_msg">
</p>
</div>
</div>
<div class="gmail_msg">_______________________________________________<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Reply - <a href="mailto:cma-l@commedia.org.uk" class="gmail_msg" target="_blank">cma-l@commedia.org.uk</a>
<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">The cma-l mailing list is a members' service provided
by the Community Media Association - <a href="http://www.commedia.org.uk" class="gmail_msg" target="_blank">http://www.commedia.org.uk</a>
<br class="gmail_msg">
</div>
<div class="gmail_msg">Twitter: <a href="http://twitter.com/community_media" class="gmail_msg" target="_blank">http://twitter.com/community_media</a>
<br class="gmail_msg">
</div>
<div class="gmail_msg"><a href="http://www.facebook.com/CommunityMediaAssociation" class="gmail_msg" target="_blank">http://www.facebook.com/CommunityMediaAssociation</a>
<br class="gmail_msg">
</div>
<div class="gmail_msg">Canstream Internet Radio & Video: <a href="http://www.canstream.co.uk/" class="gmail_msg" target="_blank">http://www.canstream.co.uk/</a>
<br class="gmail_msg">
</div>
<div class="gmail_msg">_______________________________________________ <br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Mailing list guidelines: <a href="http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/" class="gmail_msg" target="_blank">http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/</a>
<br class="gmail_msg">
</div>
<div class="gmail_msg">_______________________________________________ <br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">To unsubscribe or manage your CMA-L mailing list
subscription please visit: <br class="gmail_msg">
</div>
<div class="gmail_msg"><a href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l" class="gmail_msg" target="_blank">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a><br class="gmail_msg">
</div>
</div>
<blockquote class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<p class="gmail_msg">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 class="gmail_msg">
</p>
<p class="gmail_msg"> <br class="gmail_msg">
</p>
<p class="gmail_msg">Nick H Dumpty / Head Bottle
Washer<br class="gmail_msg">
</p>
<p class="gmail_msg">Canalside Calamity Radio<br class="gmail_msg">
</p>
<p class="gmail_msg"> <br class="gmail_msg">
</p>
<div class="gmail_msg">
<div class="gmail_msg">
<p class="gmail_msg"><b class="gmail_msg">From:</b> <a href="mailto:cma-l-bounces@mailman.commedia.org.uk" class="gmail_msg" target="_blank">cma-l-bounces@mailman.commedia.org.uk</a>
[mailto:<a href="mailto:cma-l-bounces@mailman.commedia.org.uk" class="gmail_msg" target="_blank">cma-l-bounces@mailman.commedia.org.uk</a>]
<b class="gmail_msg">On Behalf Of </b>Cal McLean<br class="gmail_msg">
<b class="gmail_msg">Sent:</b> 01 March 2017 22:55</p>
</div>
</div>
</div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<p class="gmail_msg"><br class="gmail_msg">
<b class="gmail_msg">To:</b> The Community Media Association
Discussion List <<a href="mailto:cma-l@mailman.commedia.org.uk" class="gmail_msg" target="_blank">cma-l@mailman.commedia.org.uk</a>><br class="gmail_msg">
<b class="gmail_msg">Subject:</b> [cma-l] Chronicle ROT
Logger Beta</p>
</div>
</div>
</div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<p class="gmail_msg"><br class="gmail_msg">
</p>
</div>
</div>
<p class="gmail_msg"> <br class="gmail_msg">
</p>
<p class="gmail_msg">Hi all,<br class="gmail_msg">
</p>
</div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<p class="gmail_msg">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)?<br class="gmail_msg">
</p>
<p class="gmail_msg">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!<br class="gmail_msg">
</p>
<p class="gmail_msg">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:<br class="gmail_msg">
</p>
<p class="gmail_msg"><a href="https://calmcl1.github.io/projects/chronicle" class="gmail_msg" target="_blank"></a><a href="https://calmcl1.github.io/projects/chronicle" class="gmail_msg" target="_blank">https://calmcl1.github.io/projects/chronicle</a><br class="gmail_msg">
</p>
<p class="gmail_msg">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 :)<br class="gmail_msg">
</p>
<p class="gmail_msg"><br class="gmail_msg">
Cal McLean</p>
<p class="gmail_msg"><b class="gmail_msg">Head
Technician<br class="gmail_msg">
</b>Halton Community Radio</p>
</div>
</div>
<div class="gmail_msg">_______________________________________________<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Reply - <a href="mailto:cma-l@commedia.org.uk" class="gmail_msg" target="_blank">cma-l@commedia.org.uk</a><br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">The cma-l mailing list is a members' service provided
by the Community Media Association - <a href="http://www.commedia.org.uk" class="gmail_msg" target="_blank">http://www.commedia.org.uk</a><br class="gmail_msg">
</div>
<div class="gmail_msg">Twitter: <a href="http://twitter.com/community_media" class="gmail_msg" target="_blank">http://twitter.com/community_media</a><br class="gmail_msg">
</div>
<div class="gmail_msg"><a href="http://www.facebook.com/CommunityMediaAssociation" class="gmail_msg" target="_blank">http://www.facebook.com/CommunityMediaAssociation</a><br class="gmail_msg">
</div>
<div class="gmail_msg">Canstream Internet Radio & Video: <a href="http://www.canstream.co.uk/" class="gmail_msg" target="_blank">http://www.canstream.co.uk/</a><br class="gmail_msg">
</div>
<div class="gmail_msg">_______________________________________________<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Mailing list guidelines: <a href="http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/" class="gmail_msg" target="_blank">http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/</a><br class="gmail_msg">
</div>
<div class="gmail_msg">_______________________________________________<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">To unsubscribe or manage your CMA-L mailing list
subscription please visit:<br class="gmail_msg">
</div>
<div class="gmail_msg"><a href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l" class="gmail_msg" target="_blank">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a><br class="gmail_msg">
</div>
</blockquote>
</blockquote>
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
</div>
<br class="gmail_msg">
<fieldset class="gmail_msg"></fieldset>
<br class="gmail_msg">
<pre class="gmail_msg">_______________________________________________
Reply - <a href="mailto:cma-l@commedia.org.uk" class="gmail_msg" target="_blank">cma-l@commedia.org.uk</a>
The cma-l mailing list is a members' service provided by the Community Media Association - <a href="http://www.commedia.org.uk" class="gmail_msg" target="_blank">http://www.commedia.org.uk</a>
Twitter: <a href="http://twitter.com/community_media" class="gmail_msg" target="_blank">http://twitter.com/community_media</a>
<a href="http://www.facebook.com/CommunityMediaAssociation" class="gmail_msg" target="_blank">http://www.facebook.com/CommunityMediaAssociation</a>
Canstream Internet Radio & Video: <a href="http://www.canstream.co.uk/" class="gmail_msg" target="_blank">http://www.canstream.co.uk/</a>
_______________________________________________
Mailing list guidelines: <a href="http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/" class="gmail_msg" target="_blank">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" class="gmail_msg" target="_blank">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a></pre>
<br class="gmail_msg">
<br class="gmail_msg">
<pre class="gmail_msg">--
Local Reports at <a href="http://www.ravensound.pilgrimsound.co.uk" class="gmail_msg" target="_blank">http://www.ravensound.pilgrimsound.co.uk</a></pre>
</blockquote></div><br class="gmail_msg"></div>_______________________________________________<br class="gmail_msg">
<br class="gmail_msg">
Reply - <a href="mailto:cma-l@commedia.org.uk" class="gmail_msg" target="_blank">cma-l@commedia.org.uk</a><br class="gmail_msg">
<br class="gmail_msg">
The cma-l mailing list is a members' service provided by the Community Media Association - <a href="http://www.commedia.org.uk" rel="noreferrer" class="gmail_msg" target="_blank">http://www.commedia.org.uk</a><br class="gmail_msg">
Twitter: <a href="http://twitter.com/community_media" rel="noreferrer" class="gmail_msg" target="_blank">http://twitter.com/community_media</a><br class="gmail_msg">
<a href="http://www.facebook.com/CommunityMediaAssociation" rel="noreferrer" class="gmail_msg" target="_blank">http://www.facebook.com/CommunityMediaAssociation</a><br class="gmail_msg">
Canstream Internet Radio & Video: <a href="http://www.canstream.co.uk/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.canstream.co.uk/</a><br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
<br class="gmail_msg">
Mailing list guidelines: <a href="http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.commedia.org.uk/about/cma-email-lists/email-list-guidelines/</a><br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
<br class="gmail_msg">
To unsubscribe or manage your CMA-L mailing list subscription please visit:<br class="gmail_msg">
<a href="http://mailman.commedia.org.uk/mailman/listinfo/cma-l" rel="noreferrer" class="gmail_msg" target="_blank">http://mailman.commedia.org.uk/mailman/listinfo/cma-l</a></blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr"><a href="http://james.crid.land">http://james.crid.land</a> - get my weekly newsletter<br>
<a href="https://media.info">https://media.info</a> - the media information website</p>
<p dir="ltr">Tel: +61 447 692 743 | UK: 020 7100 1811 ('till midday)<span class="inbox-inbox-Apple-converted-space" style="font-family:"helvetica neue",helvetica,arial,sans-serif"> </span><span style="font-family:"helvetica neue",helvetica,arial,sans-serif">|</span><span class="inbox-inbox-Apple-converted-space" style="font-family:"helvetica neue",helvetica,arial,sans-serif"> </span>@jamescridland</p>
</div></div>