-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Okay, here's how it fits together in theory:
 
* Rivendell talks to JACK, obviously
* Darkice accepts JACK input (configured in /etc/darkice.cfg usually)
and converts that audio to a stream of MPEG-3 data (or ogg, or whatnot)
* Icecast accepts that stream, and broadcasts it by retransmission
(effectively) to any clients who want to listen
 
So, all you need to do is connect darkice to Rivendell, point darkice at
an Icecast server (yours or a hosted one - will need appropriate
bandwidth) and point Live365 at your Icecast server.
 
The best way to set this up is probably using a small shell script - you
can connect ports with jack_connect. So if you configure darkice to
provide two ports named darkice:left and darkice:right, and want the
main RD output patched to that:
 
#!/bin/bash
# Run darkice in a screen session, detatched from this window (check my
options- doing this off memory so they may be wrong)
screen -DmS darkice darkice
# wait a bit
sleep 5
# patch it in
jack_connect rivendell:outport_left darkice:left
jack_connect rivendell:outport_right darkice:right
 
That should do the trick. If you want to just patch what you hear to
darkice you should check JACK's monitor mode - you can set up software
monitor ports so anything going out gets duplicated to an input you can
then patch to darkice.
 
Darkice is very much the way to go if you ask me but Liquidsoap is
another popular tool, if a little more complex to configure. It does
have the advantage of giving you more flexibility, and potentially some
processing of audio prior to TX, but I prefer to do that processing with
Jamin (a JACK audio mastering program, which can do you a multiband
compressor, lots of EQ and a lookahead limiter). You can patch in that
or JACK-Rack or anything else like that (LinuxDSP has a multiband
compressor with JACK support for instance) in the same way as described
above. The jack_lsp (and jack_lsp -c) commands are helpful for
debugging, and check out Patchage (available in the Ubuntu repos) for a
nice simple GUI to help you play around with things.
 
Hope that helps!
 
Cheers,
James Harrison
 
 
On 04/11/2011 22:35, Joseph Matthews wrote:
> I'm hoping that someone can perhaps provide me with a good starting
point for streaming from Rivendell. I am using Rivendell 2.0.2 and JACK
under Unbuntu 10.04 LTS. I want to stream directly from JACK to Live365.
I have Googled and searched the Rivendell list, but really can't figure
out where to start. I've read about dark ice, darksnow, icecast,
edcast-jack…. But can't even begin to figure out how to configure
anything or make connections to JACK.
>
> Your help is greatly appreciated!
>
> Joseph Matthews
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAk60blQACgkQmJV2s0zjsDi6PgCeJ1XMRdKanJiQAdEP2cPtv4KC
8KAAn01g+emYjeJ4wBZ+90c7fEBNskFL
=LTkX
-----END PGP SIGNATURE-----

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to