Quantcast
Channel: DEADBEAT GUITARIST
Viewing all articles
Browse latest Browse all 9

Butt + IceCast on Linux ftw

$
0
0
So I have been wondering if I would play more music if I had a regular obligation to play - say a weekly streaming show of me just playing music - voice and guitar.I am not quite sure if I am going to go through with that, but it did get me curious as to how to setup the infrastructure to do that. What did I find? Well, it's surprisingly easy to do.

The helpful links that I pieced things together from:
IceCast setup
butt homepage
download butt

When I make reference to editing a file or issuing a command, this is usually suggested to be done from a terminal window.

Step 1: Skim through the above links - note the icecast tutorial is for windows but don't run away because of that.

Step 2: Yum install or aptitude install icecast.

Step 3: Edit the /etc/icecast.xml file - your distro may put it somewhere else - all I changed was the source,admin,relay passwords. Save it.

Step 4: Ideally you will have a user called icecast and can su to it and issue: icecast -c /etc/icecast.xml -b

Step 3: Download butt from http://sourceforge.net/projects/butt/files/

Step 4: Untar/bzip the downloaded file into a folder... you can install it or do as I did from cmd line and issue: ./butt

Step 5: Configure butt from the GUI.

Click Settings to expand the settings - in the Main tab, Choose your audio device, for Server - click Add, Choose IceCast radio button, Name:localhost, Address:localhost, Port: 8000, password - note: this is the Source password you assigned in the icecast.xml file. Mountpoint: /stream.ogg, Click Save.

Click Add for Scream info, fill in whatever you want here, this is info that shows up, Click Save.

Go to Stream tab, Assign bit rate and sample rate etc, codec should match your mountpoint extension - in my case it was OGG.

Go to Rec tab and configure - the really neat thing about Butt is that you can have a lower bit rate for the stream so less bandwidth is eaten up, but a higher bit rate for the recording. When finished in the Rec tab, go back to Main tab and click Save Settings.

Step 6: Test locally OK, so you are very close to being a hero. Not so fast cowboy, just a few more steps. Click the Play icon in butt - we are not going to bother recording because this is just a test. As long as that is all good, go into a terminal window or music app that can connect to an icecast server and point it to: localhost:8000/stream.ogg.

Note: If you don't get a connection then I probably skipped a step and you should email stevegbaer (at) gmail.com to let me know about it. If it seems to connect to the stream, then speak into your mic - what am I listening for you ask?? If this is successful, you will hear your initial speaking, then about 8 to 15 seconds later, you will hear it again - that will be the stream part.

Step 7: Win - OK, so you got your local stream going... I want to open this bad boy out to the world so they can hear me rant or sing or go about housework at a regular scheduled time. You are going to need to open up TCP port 8000 on your router to this streaming PC so that peeps can go to your external IP (whatsmyip.org) :8000/stream.ogg and hear your stuff.

Hope that helped out - let me know if I left something out that tripped you up that you managed to resolve at the email listed in Step 6.

Cheers,
Steve


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images