Chapter 8. Source samples

Table of Contents

Source clients
Ices
OddCast
StreamTranscoder
Source servers
IceCast
Flumotion

Source clients

A source client can be used to create the Ogg stream broadcasted on the FreeCast network. You need to configure your root node with a shoutserver receiver (see the section called “Shoutserver receiver”) and configure the source client to send the stream to the port where the node waits for the connection.

Ices

ices2 is a very robust source client used commonly with the famous icecast.

Visit the ices2 website to know more about this tool: http://icecast.org/ices.php.

Example 8.1. Ices2 sample configuration

<ices>
    <loglevel>4</loglevel>
    <consolelog>1</consolelog>
  
    <stream>
      <metadata>
        <name>FreeCast Stream</name>
        <genre></genre>
        <description></description>
      </metadata>
  
      <input>
        <module>alsa</module>
        <param name="rate">44100</param>
        <param name="channels">2</param>
        <param name="device">default</param>
      </input>
  
      <instance>
        <hostname>127.0.0.1</hostname>
        <port>8000</port>
        <password>changeme</password>
        <mount>/stream.ogg</mount>
        <reconnectdelay>2</reconnectdelay>
        <reconnectattempts>5</reconnectattempts>
              
        <downmix>1</downmix>
          
        <encode>  
          <quality>0</quality>
          <samplerate>44100</samplerate>
          <channels>1</channels>
        </encode>
      </instance>
    </stream>
  </ices>

Jack support

A very powerful feature of ices2 is the jack support which allows to create a sound stream retrieved from a jack server. By this way, you can integrate a lot of sound tools from a simple player like Xmms to a complete radio broadcast automation solution like Rivendell.

This support is for the moment present into the ices-kh branch. You can know more about this ices branch on http://ices.reboot.fm/. Visit the jack website to know more about this technology.

OddCast

OddSock.org provides a lot of streaming tools for the Windows platforms. oddcast is a standalone application or a WinAmp™ plugin which creates a Ogg stream from the line input or from what WinAmp™ is playing.

Visit the oddcast website: http://www.oddsock.org/tools/oddcastv3/.

Watch FreeCast screencasts dedicated to the OddCast and FreeCast collaboration.

StreamTranscoder

streamtranscoder is a very useful tool to create a Ogg stream from an existing stream.

Visit the streamtranscoder website: http://www.oddsock.org/tools/streamTranscoder/