• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Michele Neylon :: Pensieri

Michele Neylon :: Pensieri

Technology, Marketing, Domains, Thoughts

Configuring Icecast Streaming Server On Debian

August 24, 2013 by Michele Neylon 4 Comments

Conn and I did an experiment earlier this week with the technology.ie podcast. Instead of simply recording it and then publishing it we streamed the entire thing live using IceCast.We’d previously played around a bit with Google “hangouts’, but running our own streaming server was fun and also gave us more autonomy.

Media streaming always struck me as being incredibly complicated and I thought it would be too complicated for someone to setup and run without a lot of work and knowledge.

However I was pleasantly surprised to discover that it’s actually pretty easy if you have some basic knowledge of Linux and don’t mind getting “down and dirty” in vim.

To setup a public streaming server you’ll need to have a public server, which in my case wasn’t a challenge, as I have a cloud VM from Blacknight (doh!).

I like Debian and the package management system it uses (Apt) makes installation of a lot of commonly used software tools incredibly easy.

In the case of icecast2 there is a readily available package so you can install it quickly and easily by simply running:

apt-get install icecast2

You’ll be prompted to install Icecast and probably several other bits of software.

Configuring it isn’t that hard and Falko Timme has written a very nice and simple tutorial. The main thing to remember is to switch the server “on” by editing the file in /etc/default/icecast2 – the last line needs to be set to “true”.

Debian also comes with a functional init script so you can start the server off using (as root or sudo):

/etc/init.d/icecast2 start

It’ll automatically switch to running as the icecast2 user and group.

So with a running instance of IceCast the next obvious step was finding some way of broadcasting.

Conn uses Butt, but it’s a bit limited unless you have extra equipment.

I like simple. So I opted for Nicecast for my experiments. It’s a very simple, yet powerful, bit of software for OSX. A license costs $59, but you can use and abuse it for up to 60 minutes of audio streaming before you need to purchase a key.

What I really like about Nicecast is that you can use it to broadcast any audio source you like, so if you want to broadcast from iTunes, Spotify, Last.fm or even your browser, you can do so. (Bearing in mind that you will need a license to broadcast copyright works)

You simply choose the source you want from a dropdown menu:

Choosing an audio source with nicecast on the Mac
Choosing an audio source with nicecast on the Mac

Obviously not all of the apps it identifies would have audio, but it doesn’t try to second guess you. So if you had embedded audio into a Word document it’d let you set that as the source, which is very handy. I really hate it when software limits me!

Connecting to your remote server is pretty easy. You simply add the new server to the application:

Configuring a server in Nicecast on the Mac
Configuring a server in Nicecast on the Mac

 

When you’re happy that the settings are correct you can then start your broadcast:

nicecast-before-broadcast

And now it’s up and running:

nicecast-broadcasting-audio-via-itunesYour IceCast server’s status will show you what it can “see”:

icecast-broadcast-status

In my case I’m playing with the soundtrack from Elysium 🙂

So you should now be all set.

The total time to get it all up and running should be under an hour – the only gotchas I ran into was that the Debian setup was easier than I thought, so I ran into a couple of silly problems while looking for more complicated ways of starting the server. Also, if you use Nicecast don’t put a trailing slash either before or after the mount point. The software will automatically add its own, but if you try to set one it’ll break. So you’d end up with the odd scenario of having a stream that nobody can access, as the URL would be “empty” and the mount point wouldn’t be visible.

I’ve no idea what, if anything, I’ll do with the icecast server now that I’ve got it setup. Conn and I have been toying with doing a few other experiments, but we want to be sure that if we do anything beyond “talk radio” that the licensing is in order. The last thing I want to end up with is problems from IMRO / IRMA over copyright and licensing!

 

Related articles
  • Grok my BUTT [Podcast #68] (technology.ie)

Related Posts:

  • paramount-plus-screenshot
    Paramount+'s UI Makes me Sad
  • Photo of old hand written letters on a desk with some pencils and pens
    I Sometimes Yearn For Simpler Times
  • ACDC-Dublin-Ticketmaster-Q
    The "Joys" of Acquiring Concert Tickets
  • Instafest-mneylon-2023
    Another Year of Listening to Music Visualised (sort of)
  • 279919117_329624719311601_6456862721037656296_n
    Finally Some Decent Weather
  • computer-code-screens
    Dodgy WordPress Developer Tactics

Filed Under: apple, audio, Debian, Linux Tagged With: blacknight, Debian, iTunes, Linux, Operating system, Streaming media

Michele is founder and CEO of Irish hosting provider and domain name registrar Blacknight. Read More…

Reader Interactions

Comments

  1. Conn Ó Muíneacháin says

    August 25, 2013 at 12:13 am

    Hi Michele – great writeup! 🙂 Here are some further details on my experience with icecast.

    Installing on CentOS with yum was almost as easy, except that I first had to install a yum repository where icecast was listed:

    wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

    and:

    rpm -ivh epel-release-5-4.noarch.rpm

    Then:

    yum install icecast

  2. Michele Neylon says

    August 25, 2013 at 1:05 pm

    Conn
    So Icecast isn’t available in the default Centos repositories?

    Michele

  3. Conn Ó Muíneacháin says

    August 25, 2013 at 2:23 pm

    Oops! I said CentOS. I meant CloudLinux. 🙂 Icecast is not in the default repositories on my CloudLinux 5.7 installation.

  4. Michele Neylon says

    August 25, 2013 at 3:36 pm

    Conn

    Ah fair enough – CloudLinux is “similar” to Centos but its repos would be different

    Michele

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

dotblog founder

Mastodon

Archives

  • Bluesky
  • Instagram
  • Threads
  • Twitter

Pages

  • About Me
  • About This Site
  • Archives
  • Comments Policy
  • Contact Me
  • Newsletter
  • Privacy

Blogroll

  • Blacknight Blog
  • Grandad
  • Technology.ie Podcast
  • Gordon Hudson
  • Paul Savage – BlackDog SEO

Stalking Links

Subscribe to Michele Neylon :: Pensieri

Blogroll

  • Blacknight Blog
  • Damien Mulley
  • Gianni Ponzi
  • Gordon Hudson
  • Grandad
  • My Mastodon
  • Paul Savage – BlackDog SEO
  • Stewart Curry
  • Technology.ie Podcast
  • Tom Doyle

Sites

  • Business Travel Tips
  • Discount Coupon Codes
  • Domain News
  • Fat.ie – my diet blog
  • Film Posters
  • Film Reviews
  • Films
  • Free Desktop Wallpapers
  • Irish Blogger Discussion Forum
  • Irish Stamps
  • Movie Trailers and News
  • Paste.ie

Footer

Site hosted in Ireland by Blacknight - Content copyright Michele Neylon

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in