<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Stream_under_Debian</id>
	<title>Stream under Debian - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Stream_under_Debian"/>
	<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Stream_under_Debian&amp;action=history"/>
	<updated>2026-04-23T15:47:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://rivendellaudio.wiki/index.php?title=Stream_under_Debian&amp;diff=28906&amp;oldid=prev</id>
		<title>imported&gt;WaybackImport: Imported via HTML fallback (before-primary)</title>
		<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Stream_under_Debian&amp;diff=28906&amp;oldid=prev"/>
		<updated>2020-07-02T12:49:27Z</updated>

		<summary type="html">&lt;p&gt;Imported via HTML fallback (before-primary)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;At first, this will cover streaming ogg vorbis streams using darkice and peercast.&lt;br /&gt;
&lt;br /&gt;
So, Rivendell will play to jack. Jack sits on alsa. Hook up the Rivendell outputs to the jack inputs. Jack encodes the stream and sends to peercast. People run peercast and tune in to your stream. Or, if you have the bandwidth, people can pull the stream direct from your peercast server like it was a shoutcast/icecast or icecast2 server.&lt;br /&gt;
&lt;br /&gt;
== Contents ==&lt;br /&gt;
&lt;br /&gt;
* [#Install_Under_Debian 1 Install Under Debian]&lt;br /&gt;
&lt;br /&gt;
* [#Install_a_stream_source 2 Install a stream source]&lt;br /&gt;
&lt;br /&gt;
[#DarkIce 2.1 DarkIce]&lt;br /&gt;
&lt;br /&gt;
[#Configure 2.1.1 Configure]&lt;br /&gt;
&lt;br /&gt;
* [#Ices2 2.2 Ices2]&lt;br /&gt;
&lt;br /&gt;
[#Configure_2 2.2.1 Configure]&lt;br /&gt;
&lt;br /&gt;
* [#Install_a_broadcast_server 3 Install a broadcast server]&lt;br /&gt;
&lt;br /&gt;
[#PeerCast 3.1 PeerCast]&lt;br /&gt;
&lt;br /&gt;
[#Configure_3 3.1.1 Configure]&lt;br /&gt;
&lt;br /&gt;
* [#FreeCast 3.2 FreeCast]&lt;br /&gt;
&lt;br /&gt;
* [#IceCast 3.3 IceCast]&lt;br /&gt;
&lt;br /&gt;
* [#Icecast2.2FShoutcast_Meta_Data_from_Rivendell 3.4 Icecast2/Shoutcast Meta Data from Rivendell]&lt;br /&gt;
&lt;br /&gt;
* [#Other_Useful_Wiki_pages 4 Other Useful Wiki pages]&lt;br /&gt;
&lt;br /&gt;
== Install Under Debian ==&lt;br /&gt;
&lt;br /&gt;
Follow the instructions for [[Install_under_Debian|installing under Debian.]]&lt;br /&gt;
&lt;br /&gt;
== Install a stream source ==&lt;br /&gt;
&lt;br /&gt;
You can select one of these stream sources. The stream source will take the sound stream from the jack server, encode and send it to the broadcast server.&lt;br /&gt;
&lt;br /&gt;
=== DarkIce ===&lt;br /&gt;
&lt;br /&gt;
NOTE: Many people have not been able to get DarkIce to work properly. I seems like it sets up correctly. You can see it in jack and patch to it. Never generates any errors but in the end never works. See [/index.php/Streaming_from_Rivendell#Install_a_stream_source this wiki page on streaming] for information on [http://www.oddsock.org/tools/edcast_jack/ edcast-jack] that does work.&lt;br /&gt;
&lt;br /&gt;
Install DarkIce. You will need at least darkice 0.15 for jack support.&lt;br /&gt;
&lt;br /&gt;
* [http://darkice.sourceforge.net/ DarkIce web site]&lt;br /&gt;
&lt;br /&gt;
==== Configure ====&lt;br /&gt;
&lt;br /&gt;
This is a config that I had working for darkice with jack: (darkice-public.cfg)&lt;br /&gt;
&lt;br /&gt;
# sample DarkIce configuration file, edit for your needs before using&lt;br /&gt;
# see the darkice.cfg man page for details&lt;br /&gt;
&lt;br /&gt;
# this section describes general aspects of the live streaming session&lt;br /&gt;
[general]&lt;br /&gt;
duration        = 60        # duration of encoding, in seconds. 0 means forever&lt;br /&gt;
bufferSecs      = 0         # size of internal slip buffer, in seconds&lt;br /&gt;
&lt;br /&gt;
# this section describes the audio input that will be streamed&lt;br /&gt;
[input]&lt;br /&gt;
device          = jack  # OSS DSP soundcard device for the audio input&lt;br /&gt;
sampleRate      = 48000     # sample rate in Hz. try 11025, 22050 or 44100&lt;br /&gt;
bitsPerSample   = 16        # bits per sample. try 16&lt;br /&gt;
channel         = 2         # channels. 1 = mono, 2 = stereo&lt;br /&gt;
&lt;br /&gt;
# this section describes a streaming connection to an IceCast server&lt;br /&gt;
# there may be up to 8 of these sections, named [icecast-0] ... [icecast-7]&lt;br /&gt;
# these can be mixed with [icecast2-x] and [shoutcast-x] sections&lt;br /&gt;
#[icecast-0]&lt;br /&gt;
#bitrateMode     = cbr       # constant bit rate&lt;br /&gt;
#bitrate         = 96        # bitrate of the mp3 stream sent to the server&lt;br /&gt;
#quality         = 0.8       # encoding quality&lt;br /&gt;
#server          = yp.yourserver.com&lt;br /&gt;
                            # host name of the server&lt;br /&gt;
#port            = 8000      # port of the IceCast server, usually 8000&lt;br /&gt;
#password        = hackme    # source password to the IceCast server&lt;br /&gt;
#mountPoint      = sample96  # mount point of this stream on the IceCast server&lt;br /&gt;
#name            = DarkIce trial&lt;br /&gt;
                            # name of the stream&lt;br /&gt;
#description     = This is only a trial&lt;br /&gt;
                            # description of the stream&lt;br /&gt;
#url             = http://www.yourserver.com&lt;br /&gt;
                            # URL related to the stream&lt;br /&gt;
#genre           = my own    # genre of the stream&lt;br /&gt;
#public          = yes       # advertise this stream?&lt;br /&gt;
&lt;br /&gt;
# this section describes a streaming connection to an IceCast2 server&lt;br /&gt;
# there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]&lt;br /&gt;
# these can be mixed with [icecast-x] and [shoutcast-x] sections&lt;br /&gt;
[icecast2-0]&lt;br /&gt;
bitrateMode     = abr       # average bit rate&lt;br /&gt;
format          = vorbis    # format of the stream: ogg vorbis&lt;br /&gt;
bitrate         = 32        # bitrate of the stream sent to the server&lt;br /&gt;
server          = localhost&lt;br /&gt;
                            # host name of the server&lt;br /&gt;
port            = 7144      # port of the IceCast2 server, usually 8000&lt;br /&gt;
password        = pass    # source password to the IceCast2 server&lt;br /&gt;
mountPoint      = /myradio1.ogg  # mount point of this stream on the IceCast2 server&lt;br /&gt;
name            = myRadio Radio&lt;br /&gt;
                            # name of the stream&lt;br /&gt;
description     = Mostly CC BY and BY-SA music&lt;br /&gt;
                            # description of the stream&lt;br /&gt;
url             = http://yp.peercast.org/?find=myRadio&amp;amp;Submit=Search&lt;br /&gt;
                            # URL related to the stream&lt;br /&gt;
genre           = myRadio music    # genre of the stream&lt;br /&gt;
public          = yes       # advertise this stream?&lt;br /&gt;
&lt;br /&gt;
# this section describes a streaming connection to a ShoutCast server&lt;br /&gt;
# there may be up to 8 of these sections, named [shoutcast-0] ... [shoutcast-7]&lt;br /&gt;
# these can be mixed with [icecast-x] and [icecast2-x] sections&lt;br /&gt;
#[shoutcast-0]&lt;br /&gt;
#bitrateMode     = vbr       # variable bit rate mode&lt;br /&gt;
#quality         = 0.5       # encoding quality&lt;br /&gt;
#server          = yp.yourserver.com&lt;br /&gt;
                            # host name of the server&lt;br /&gt;
#port            = 8001      # source port of the ShoutCast server, usually 8001&lt;br /&gt;
#password        = hackme    # source password to the ShoutCast server&lt;br /&gt;
#name            = DarkIce trial&lt;br /&gt;
                            # name of the stream&lt;br /&gt;
#url             = http://www.yourserver.com&lt;br /&gt;
                            # URL related to the stream&lt;br /&gt;
#genre           = my own    # genre of the stream&lt;br /&gt;
#public          = yes       # advertise this stream?&lt;br /&gt;
#irc             = irc.yourserver.com&lt;br /&gt;
                            # IRC info related to the stream&lt;br /&gt;
#aim             = aim here  # AIM info related to the stream&lt;br /&gt;
#icq             = I see you too&lt;br /&gt;
                            # ICQ info related to the stream&lt;br /&gt;
&lt;br /&gt;
=== Ices2 ===&lt;br /&gt;
&lt;br /&gt;
Install Ices2. You will need to use the [http://ices.reboot.fm/ ices-kh] release which provides the jack support.&lt;br /&gt;
&lt;br /&gt;
Note: ices-kh is very hard to find anywhere, if you can find it. See [/index.php/Streaming_from_Rivendell#Install_a_stream_source this wiki page on streaming] for information on [http://www.oddsock.org/tools/edcast_jack/ edcast-jack] that is available on the [http://www.oddsock.org/ oddsock.org] website.&lt;br /&gt;
&lt;br /&gt;
==== Configure ====&lt;br /&gt;
&lt;br /&gt;
Here is a config that I had working: (ices-jack-public.xml)&lt;br /&gt;
&lt;br /&gt;
    1  &lt;br /&gt;
    1      &lt;br /&gt;
    root           &lt;br /&gt;
    /var/log/ices     &lt;br /&gt;
    2048     &lt;br /&gt;
    ices.log&lt;br /&gt;
    4      &lt;br /&gt;
    0  &lt;br /&gt;
    /var/ices/ices.pid &lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
        &lt;br /&gt;
        myRadio Radio&lt;br /&gt;
        myRadio music (mostly)&lt;br /&gt;
        Mostly CC BY and BY-SA music&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
		&lt;br /&gt;
			jack&lt;br /&gt;
			2        &lt;br /&gt;
			ices   &lt;br /&gt;
			rivendell_0:playout_0L,rivendell_0:playout_0R,rivendell_0:playout_1L,rivendell_0:playout_1R &lt;br /&gt;
			/root/icesmeta&lt;br /&gt;
		&lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
            &lt;br /&gt;
            &lt;br /&gt;
            &lt;br /&gt;
            &lt;br /&gt;
                &lt;br /&gt;
                     &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                    localhost&lt;br /&gt;
                    7144&lt;br /&gt;
                    mypassword&lt;br /&gt;
                    /bysa1.ogg&lt;br /&gt;
                &lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
		&lt;br /&gt;
                    22040&lt;br /&gt;
                &lt;br /&gt;
		&lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
                1&lt;br /&gt;
                &lt;br /&gt;
                  &lt;br /&gt;
                    0.7&lt;br /&gt;
                    &lt;br /&gt;
                    &lt;br /&gt;
                &lt;br /&gt;
            &lt;br /&gt;
&lt;br /&gt;
            &lt;br /&gt;
                &lt;br /&gt;
                     &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
                    localhost&lt;br /&gt;
                    8000&lt;br /&gt;
                    mypassword&lt;br /&gt;
                    /bysa2.ogg&lt;br /&gt;
                &lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
                &lt;br /&gt;
		&lt;br /&gt;
                    22040&lt;br /&gt;
                &lt;br /&gt;
		&lt;br /&gt;
&lt;br /&gt;
                &lt;br /&gt;
                1&lt;br /&gt;
                &lt;br /&gt;
                  &lt;br /&gt;
                    0.7&lt;br /&gt;
                    &lt;br /&gt;
                    &lt;br /&gt;
                &lt;br /&gt;
            &lt;br /&gt;
&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
== Install a broadcast server ==&lt;br /&gt;
&lt;br /&gt;
You can select one of these broadcast servers. &lt;br /&gt;
It will receive the encoded stream from the source stream and provide it to the public listeners.&lt;br /&gt;
&lt;br /&gt;
You can choose classic broadcast servers (like Icecast2) or peer-to-peer broadcast solutions (like PeerCast or FreeCast).&lt;br /&gt;
&lt;br /&gt;
=== PeerCast ===&lt;br /&gt;
&lt;br /&gt;
Install PeerCast. Current version (as of May 18/2005) is PeerCast v0.1211&lt;br /&gt;
&lt;br /&gt;
* [http://www.peercast.org/ PeerCast web site]&lt;br /&gt;
&lt;br /&gt;
* [[Create_A_PeerCast_User|Create A PeerCast User]]&lt;br /&gt;
&lt;br /&gt;
* [http://www.peercast.org/guides/pc-linux.php PeerCasr linux install guide.]]&lt;br /&gt;
 I suggest you copy the html directory from the peercast archive to /home/peercast.&lt;br /&gt;
&lt;br /&gt;
* I suggest you copy the peercast executable from the peercast archive to /usr/bin.&lt;br /&gt;
&lt;br /&gt;
* See below for configuration instructions/suggestions.&lt;br /&gt;
&lt;br /&gt;
==== Configure ====&lt;br /&gt;
&lt;br /&gt;
=== FreeCast ===&lt;br /&gt;
&lt;br /&gt;
Install the FreeCast debian package available on the [http://debian.tryphon.org Tryphon Debian Archiver].&lt;br /&gt;
&lt;br /&gt;
* [http://www.freecast.org FreeCast website]&lt;br /&gt;
&lt;br /&gt;
=== IceCast ===&lt;br /&gt;
&lt;br /&gt;
Install the IceCast streaming server using the instructions and source code found at [http://www.icecast.org IceCast].&lt;br /&gt;
&lt;br /&gt;
=== Icecast2/Shoutcast Meta Data from Rivendell ===&lt;br /&gt;
&lt;br /&gt;
* RD Stream was written by J Hoff. (shoutcast version).&lt;br /&gt;
&lt;br /&gt;
* Modified for Debian &amp;amp; icecast2 by drew Roberts.&lt;br /&gt;
&lt;br /&gt;
* Also adapted from icecast2 as follows&lt;br /&gt;
&lt;br /&gt;
* Written by Miquel van Smoorenburg.&lt;br /&gt;
&lt;br /&gt;
* Modified for Debian by Ian Murdock.&lt;br /&gt;
&lt;br /&gt;
* Further modified by Keegan Quinn for use with Icecast 2&lt;br /&gt;
&lt;br /&gt;
The package rdstream-dR.tgz can be downloaded in two places for the Rivendell email list archive.&lt;br /&gt;
&lt;br /&gt;
[http://roborr.com/rivendelldev/msg01619.html Download site 1]&lt;br /&gt;
&lt;br /&gt;
[http://roborr.com/rivendelldev/msg05682.html Download site 2]&lt;br /&gt;
&lt;br /&gt;
[http://www.saskatoonchristianradio.com/rivendelldev/msg12084.html However please note the following about downloading.]&lt;br /&gt;
&lt;br /&gt;
At the bottom of the post you will see:&lt;br /&gt;
&lt;br /&gt;
Attachment: rdstream-dR.tgz&lt;br /&gt;
Description: application/tgz&lt;br /&gt;
&lt;br /&gt;
and if you click on it it will download a file&lt;br /&gt;
&lt;br /&gt;
binRgmAnEv4LJ.bin or binWcibLHuH4n.bin (depending on the link you choose above)&lt;br /&gt;
&lt;br /&gt;
download this and rename it to:&lt;br /&gt;
&lt;br /&gt;
rdstream-dR.tgz&lt;br /&gt;
&lt;br /&gt;
and you should be good to go with the package as intended.&lt;br /&gt;
&lt;br /&gt;
== Other Useful Wiki pages ==&lt;br /&gt;
&lt;br /&gt;
For other options on getting meta data (now &amp;amp; next playing) out of Rivendell to Icecast and Shoutcast and other systems see the wiki page [/index.php/Streaming_from_Rivendell#Icecast2.2FShoutcast_Meta_Data_from_Rivendell Streaming from Rivendell] and also [/index.php/Rivendell_Loadable_Module_(RLM)_SDK_-_For_Sending_Now_%26_Next_Data_to_external_systems Rivendell Loadable Modules SDK]&lt;br /&gt;
&lt;br /&gt;
Retrieved from &amp;quot;[[Stream_under_Debian|http://wiki.rivendellaudio.org/index.php?title=Stream_under_Debian&amp;amp;oldid=212]]&amp;quot;&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;WaybackImport</name></author>
	</entry>
</feed>