[RDD] good off the shelf computer for Rivendell

2016-02-17 Thread Jim Stewart
Since I don’t actually use the appliance (or any similar version of CentOS) on 
anything, I can’t say what hardware support the appliance would or would not 
have.  You might need to check this out yourself.  My gut feeling is that it 
would be fine once you figure out how to overwrite the “ChromeOS” that is 
currently(?) on it.  Watch out for any potential “secure boot” BIOS problems 
that could exist on this thing since it gets sold as a media player in mind.

Depending on what your usage requirements are, I would question long term 
reliability of such a thing.  Note that the Intel NUC has not proved to be a 
very long-lived device either and I generally trust ASUS products less!  If you 
don’t care that this thing could have a likelihood to failing in the next year 
or two of 24/7 usage, then go for it.

Note that in my case, I used a previously used PC to power our Rivendel at our 
radio station, which would normally be a very poor choice too!  However, this 
computer was taken from a pile of other identical units (think lots of spare 
parts), and contains a set of mirrored drives, redundant power supplies and a 
proven reliable Gigabyte motherboard, all in a filtered rack mount case with 
lots of [noisy] fans to keep things cool.  Furthermore I have another, 
partially current identical unit as a very “cold standby” could be made ready 
to replace a fully failed unit in a day or so, plus yet another computer (that 
wear other hats as well) that automatically gets daily rsyncs from the onair 
system, and can also “go on the air” in just a few minutes should the main fail 
(while allowing me to update the “cold standby” from it).  Not to mention, 
there is yet another set of redundant computers (from same batch) at the radio 
transmitter site that automatically take over with some simple “backup audio 
programming” if there is any loss of audio stream from the studio itself for 
any reason.  In short, I still sleep well at night even though I have a tired 
8-year old computer providing programming to this radio station!

PS: Actually, I’m a little surprised all this IS still running well at this 
point, which is why is shouted “STILL” in my previous post.  But oh well, the 
station owner has a “don’t fix it if it ain’t [yet] broke” attitude.

From: Seth Stevenson [mailto:rcflye...@gmail.com]
Sent: Wednesday, February 17, 2016 2:12 PM
To: Jim Stewart 
Cc: rivendell-dev@lists.rivendellaudio.org
Subject: Re: [RDD] good off the shelf computer for Rivendell

What about the Asus Chromebox-M004U? Any thoughts about running the Centos 
appliance on it?


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] r128gain - integration

2016-02-17 Thread Jim Stewart
Wow!  I never thought of using ffmpeg for this.  I especially like the way you 
can tweak parameters that compute the "average RMS" adjustment desired.  Does 
this always re-transcode the file (granted "re-transcoding" an uncompressed 
audio file should be close to lossless), or will it simply losslessly (and 
quickly, and reversibly) set a single "track gain" parameter to a file format 
that supports such a thing like the way "mp3gain" does?
 
Date: Wed, 17 Feb 2016 14:34:00 +
From: Wayne Merricks 
To: rivendell-dev@lists.rivendellaudio.org
Subject: Re: [RDD] r128gain - integration
Message-ID: <56c484d8.90...@thevoiceasia.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

I had to do some audio normalisation (loudness/RMS) on a batch of videos 
recently.  I used ffmpeg to automate the process but you have to be careful 
what you're doing as you can overcook it.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] good off the shelf computer for Rivendell

2016-02-17 Thread Seth Stevenson
What about the Asus Chromebox-M004U? Any thoughts about running the Centos
appliance on it?


On Wed, Feb 17, 2016 at 3:35 PM, Jim Stewart  wrote:

> I agree that the best piece-of-mind is usually obtained by just going with
> the "turnkey" system the software manufacturer recommends/sells/supports.
> This is commonly done with most other radio automation/playout systems out
> there too.  Then there is no "shouting match" potential between whether a
> problem is with the hardware vendor or the software vendor.
>
> Also note that last time I asked, Paravel only offers payed-for,
> continuing support on systems running their CentOS based turnkey
> software/OS install (I completely understand why they limit themselves to
> this!)
>
> That said, that isn't what I did.  Linux generally runs on just about
> anything.  Mostly you might need to avoid any very new hardware pieces such
> as exotic new video cards, hardware raid controllers, network interfaces,
> etc. that there might not be Linux support for yet, so do your own research
> on any hardware you are considering.  Generally systems running completely
> on true Intel based hardware is well supported.  I personally would avoid
> many nVidia video products because they insist on writing their own
> closed-source drivers, which at times could potentially "quit working"
> reliably with certain other OS upgrades.  Some other hardware manufacturers
> have gone down this road too at times (like VIA, Broadcom, & ATI).  Again,
> do your own research.
>
> The one station we have running Rivendell is STILL (after a few years now)
> happily running on a single old Pentium 4 "semi-server-class" system, while
> supporting a rather large amount of Jack audio clients/routing going on
> while functioning reliably as a file server, an icecast server with three
> stream encoders (but with very few clients attached at any one time), plus
> some remote access and backup related services running on it at the same
> time.  Oh and I think it only has 1-gig of memory, but I carefully manage
> it (I'd recommend a little more).
>
> Also if you are worried about getting hardware set up to run Linux, there
> are several companies that you can get Linux (including Ubuntu)
> preinstalled on and ready to go.  "System76" is one such company that you
> might not have heard of.
>
> Date: Tue, 16 Feb 2016 15:22:50 -0700
> From: "Lorne Tyndale" 
> To: "jorge soto" 
> Cc: Rivendell List 
> Subject: Re: [RDD] good off the shelf computer for rivendell
> Message-ID:
> <
> 20160216152250.3b45a8e840b89c853b94d34027fab3e4.36905ab2c5@email06.secureserver.net
> >
>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> Paravel sells some excellent systems built for Rivendell.  And they come
> with operating system and Rivendell installed and ready to go, plus
> technical support.
>
> http://paravelsystems.com/
>
> >
> > Just wondering what are some of you using to run rivendell on. I'm
> looking
> > for a good off the shelf machine to buy that can run Ubuntu 14 and
> > rivendell without any problems. Any and all comments are greatly
> > appreciated.___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>



-- 
Seth Stevenson
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] good off the shelf computer for Rivendell

2016-02-17 Thread Jim Stewart
I agree that the best piece-of-mind is usually obtained by just going with the 
"turnkey" system the software manufacturer recommends/sells/supports.  This is 
commonly done with most other radio automation/playout systems out there too.  
Then there is no "shouting match" potential between whether a problem is with 
the hardware vendor or the software vendor.

Also note that last time I asked, Paravel only offers payed-for, continuing 
support on systems running their CentOS based turnkey software/OS install (I 
completely understand why they limit themselves to this!) 

That said, that isn't what I did.  Linux generally runs on just about anything. 
 Mostly you might need to avoid any very new hardware pieces such as exotic new 
video cards, hardware raid controllers, network interfaces, etc. that there 
might not be Linux support for yet, so do your own research on any hardware you 
are considering.  Generally systems running completely on true Intel based 
hardware is well supported.  I personally would avoid many nVidia video 
products because they insist on writing their own closed-source drivers, which 
at times could potentially "quit working" reliably with certain other OS 
upgrades.  Some other hardware manufacturers have gone down this road too at 
times (like VIA, Broadcom, & ATI).  Again, do your own research. 

The one station we have running Rivendell is STILL (after a few years now) 
happily running on a single old Pentium 4 "semi-server-class" system, while 
supporting a rather large amount of Jack audio clients/routing going on while 
functioning reliably as a file server, an icecast server with three stream 
encoders (but with very few clients attached at any one time), plus some remote 
access and backup related services running on it at the same time.  Oh and I 
think it only has 1-gig of memory, but I carefully manage it (I'd recommend a 
little more).

Also if you are worried about getting hardware set up to run Linux, there are 
several companies that you can get Linux (including Ubuntu) preinstalled on and 
ready to go.  "System76" is one such company that you might not have heard of.

Date: Tue, 16 Feb 2016 15:22:50 -0700
From: "Lorne Tyndale" 
To: "jorge soto" 
Cc: Rivendell List 
Subject: Re: [RDD] good off the shelf computer for rivendell
Message-ID:

<20160216152250.3b45a8e840b89c853b94d34027fab3e4.36905ab2c5@email06.secureserver.net>

Content-Type: text/plain; charset="utf-8"

Hi,

Paravel sells some excellent systems built for Rivendell.  And they come
with operating system and Rivendell installed and ready to go, plus
technical support.

http://paravelsystems.com/

> 
> Just wondering what are some of you using to run rivendell on. I'm looking
> for a good off the shelf machine to buy that can run Ubuntu 14 and
> rivendell without any problems. Any and all comments are greatly
> appreciated.___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] good off the shelf computer for rivendell

2016-02-17 Thread al davis
On Tue, 16 Feb 2016 13:58:59 -0800
jorge soto  wrote:
> Just wondering what are some of you using to run rivendell on. I'm looking
> for a good off the shelf machine to buy that can run Ubuntu 14 and
> rivendell without any problems. Any and all comments are greatly
> appreciated.

so many choices .. 

Look for a sound system with full surround ...  the extra jacks for
rear, subwoofer,    4 stereo outputs on one card, or even on the
motherboard.   Rivendell can use them as separate outputs, so you can
have one for live assist (rdairplay) one for rdcatch, one for cue, or
whatever way you set it up.

I like the Asus DX sound card .. 4 outputs, runs on 12 volts with an
extra cable so there is more headroom than usual, and a little higher
output.

Avoid "Intel Skylake" .. new chip set, at least for now ... driver
trouble.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] good off the shelf computer for rivendell

2016-02-17 Thread jorge soto
Thank you for all the replies.

2016-02-17 5:50 GMT-08:00 Al Peterson :

> Jorge, I would not recommend you follow my lead, but I have the
> Rivendell/Centos appliance version successfully running on a refurbished
> $89.00 64-bit PC from a used computer store.
>
> I'm only mentioning it here because 1) It is actually possible to run it
> on low-spec hardware should it become necessary to do so; 2) my situation
> involves an ultra-low power (Part 15) hobby AM signal that only goes 3
> blocks, so my needs are not mission-critical; and 3) I am one cheap bd.
>
> A lot of brand-new off-the-shelf machinery today has that dopey UEFI thing
> going on, which makes a Linux installation quite the ordeal -- another
> reason why I went with older iron. I would listen to other respondents here
> for advice on the best modern machinery you can get, but its nice to know
> it is possible to hit the air using a clunker if you absolutely had to.
>
> *Alan Peterson*
> *Rolling Valley Radio*
> *Springfield VA*
>
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Now and Next Data

2016-02-17 Thread Wayne Merricks
You need to make sure send now/next is turned on in rdadmin for the host 
you want in rd airplay settings.


The macro you're using will just export now playing to a text file line 
by line which I assume is all you want to do.


Regards,

Wayne

On 15/02/16 20:22, Ryan Kin wrote:

I'm trying to get rivendell to export my now &next data...
I'm using this code RN echo %t - %a > /home/rd/now_next/master.txt!
Do I need to add anything else?
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] r128gain - integration

2016-02-17 Thread Wayne Merricks

Hi,

I had to do some audio normalisation (loudness/RMS) on a batch of videos 
recently.  I used ffmpeg to automate the process but you have to be 
careful what you're doing as you can overcook it.


I have a batch script that loops through a directory of video files 
(changing it to apply to Rivendell wav files is just a case of adjusting 
options).


First you analyse the file to get the peak and mean volumes:

ffmpeg -i file.wav -af "volumedetect" -f null /dev/null > /tmp/vol.tmp 2>&1

Then you grep that to read the mean and max volume lines:

MEAN="$(grep -E mean_volume /tmp/vol.tmp)"
MAX="$(grep -E max_volume /tmp/vol.tmp)"

A bit of clean up later and you get MEAN and MAX as just the numbers 
(e.g. 7.7):


MEAN="$(echo ${MEAN##*:} | tr -d '[[:space:]]')"
MAX="$(echo ${MAX##*:} | tr -d '[[:space:]]')"

MEAN="$(echo ${MEAN:0:-2})" #Remove the db from the end e.g. 17db becomes 17

Next you do a quick calculation to figure out how much "gain" you need 
to apply to adjust the average RMS volume.  This is not the same as 
adding +6 gain to everything like you would in peak normalisation.


ADJUSTMENT=$(echo "-13 - $MEAN" | bc)  #-13dB RMS in this case is the 
base line


In order for ffmpeg to work you need to format the adjustment like this:

FFMPEGVOL="volume=$ADJUSTMENT"
FFMPEGVOL="$FFMPEGVOL"dB

So it will read: volume=7dB (or whatever the calculation turned out to be)

ffmpeg -i file.wav -af "volume=$FFMPEGVOL" file.wav

FFMPEG should choose the same codec and settings from the original file 
but you can always put them in manually to be safe.


Put all of this in a loop and you're done.  You can run the output file 
through the volume detect again to confirm the results.


This gave me a good baseline to work from but it might be too brash a 
method if you're a particularly high end audio shop.


Regards,

Wayne


On 17/02/16 12:43, Cowboy wrote:

On Wednesday 17 February 2016 07:16:26 am ermina wrote:

either use peak normalization as before, or the
brand new loudness alignement. This way everyone is happy :)
On a practical basis i think it should work similar to the current peak
normalization on import : analyse file level and adjust to a default
global value (-23 LUFS) (either by destructively changing the level of
the file, or by adjusting cut gain).

I have no idea how technically it could be integrated

  As previously, I can promise there will be a discussion.
  Not today, probably not this week, but relatively soon.



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] r128gain - integration

2016-02-17 Thread Cowboy
On Wednesday 17 February 2016 07:16:26 am ermina wrote:
> either use peak normalization as before, or the 
> brand new loudness alignement. This way everyone is happy :)
> On a practical basis i think it should work similar to the current peak 
> normalization on import : analyse file level and adjust to a default 
> global value (-23 LUFS) (either by destructively changing the level of 
> the file, or by adjusting cut gain).
> 
> I have no idea how technically it could be integrated 

 As previously, I can promise there will be a discussion.
 Not today, probably not this week, but relatively soon.

-- 
Cowboy

http://cowboy.cwf1.com

You could get a new lease on life -- if only you didn't need the first
and last month in advance.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] r128gain - integration

2016-02-17 Thread ermina

Hi,

On 02/16/2016 08:58 PM, Robert Jeffares wrote:

there is no reliable automated library leveliser. There may be one but
it may not produce a consistent result across varied source material.
Yes there is. It is called EBU R128, which precise goal is to get levels 
consistent between wildly different programs (think feature movie vs 
commercial spot and no more jumping on the remote).
This document will be more effective than i am at describing why and how 
it works : https://tech.ebu.ch/docs/tech/tech3343.pdf
This is a paradigm shift but it makes so much sense once you go with it, 
that one wonders why no one thought of this before.


As for integrating in Rivendell, my humble opinion is that it should be 
a per-host (or maybe system wide) option, so as to not disrupt 
everyone's workflow : either use peak normalization as before, or the 
brand new loudness alignement. This way everyone is happy :)
On a practical basis i think it should work similar to the current peak 
normalization on import : analyse file level and adjust to a default 
global value (-23 LUFS) (either by destructively changing the level of 
the file, or by adjusting cut gain).


I have no idea how technically it could be integrated (if i were a 
programmer i would have tried to) but there is at least one open source 
linux library for loudness scanning, and the algorithm is publicly 
described (see here: https://tech.ebu.ch/docs/tech/tech3342.pdf)



. e

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Rdcatch does not record or play out

2016-02-17 Thread Kocsis Vilmos

Hi,

i've installed the latest Rivendell image form Paravell's website. I'm  
trying to use rdcatch to record the show for later use. Set one  
recording deck under rdadmin's rdcatch config, connect the same input  
what i use for rdlibrary and recording with that tool is perfect. When  
i start rdcatch, i can see the recording deck, can toggle the monitor  
switch, but no audio signal can be seen on deck's meter. Define a  
recording task - following the relevant rog, using time base mode as  
no GPIO devices exist - nothing happens  in given time. Tried macro  
command RS, not works. Log shows that macro command was sent, nothing  
more.


How can i make work rdcatch?

cheers,

Korte




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev