We do this all the time, but using an external player called via Rivendell macro scheduled in the log. We've done it using both "mplayer" and "vlc" players installed in our Linux OS.

Typically we end up putting it in a small script to handle odd events like figuring out the audio routing of it or dealing with stream getting disconnected and such. We also are running Jack audio, so it simply shows up as a jack client and we route it to our broadcast output. If you aren't using Jack, then you can dedicate an output to an external audio switcher that you then command it from Rivendell to switch over and back when you need to.

Typically we start the player playing the stream a few seconds before it is needed then have a hard-timed macro put it on the air at the exact time we need. Note there is typically a delay caused by the buffering action of the player (that can often be adjusted), that you might have to deal with.

The service we usually receive also sends sub-audible (25/35hz tones) to trigger breaks and program end events that we also send through an external tone decoder because I haven't yet found a way to process these tones internally in software although I would think some tight filtering with a Jack client and the use of silence-jack might work. If you only need to stop the broadcast at a certain time, them another hard-timed macro that kills you player and re-routes the audio will do it.


On 5/4/2015 4:01 AM, rivendell-dev-requ...@lists.rivendellaudio.org wrote:
Date: Sun, 3 May 2015 17:26:55 +0000
From: Peter van Embden<twit...@moqua.nl>
To: User_discussion_about_the_Rivendell_Radio_Automation_System
        <rivendell-dev@lists.rivendellaudio.org>
Subject: [RDD] Play a live stream with Rivendell?
Message-ID:
        <mailman.163.1430733711.1663.rivendell-...@lists.rivendellaudio.org>
Content-Type: text/plain; charset="utf-8"

Hello,


I was wondering: is it possible to set up a cart which can play a stream? For 
example: I know there's a stream at stream.radio.com:9000 (or something like 
that), and I want to play that stream on my station. Can Rivendell handle this 
in some kind of way? The Operations Guide doesn't say anything about this, but 
I kinda need to know this. If it's not possible, I'll have to instruct someone 
to connect a laptop to the line-in of the mixer.


The reason (for if you're wondering): the major will be speaching somewhere and 
we'll be broadcasting that live. The location has a live-stream which we can 
pick up. If I can create a cart that will play this stream, things will be much 
easier. In the future we will have to do similar things more often. In the 
past, before we started using Rivendell, we also had a way to do this.


Sincerely


Peter van Embden

Radio Capelle

The Netherlands

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

Reply via email to