Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45

Thread: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

  1. #1
    Join Date
    Jun 2005
    Beans
    155

    HOWTO: Set up SHOUTcast-server at home and Internet DJ Console on Kubuntu Feisty

    For Kubuntu Feisty. Might work on Ubuntu as well.

    I always wanted to set up a shout cast to be able to share my music, and have the possibility to change the song I broadcast whenever I want. As I understand, most of the applications available only let you share a play-list. I googled some, and found Internet DJ Console that would let you stream music to a simple SHOUTcast. It also let you change songs whenever I wanted. I was surprised how easy it was to set up, both the SHOUTcast-server and Internet DJ Console. Thought I share how I did it even if it's easy to figure out by yourself. I don't think I will be able to help much if this don't work for you as I am a noob even after 2 years of using linux (guess I'm slow).

    SHOUTcast-server:
    Download it here decompress it to a location of your choice and move to that location. You might want to make a folder to decompress them to. Now we need to change some settings in the sc_serv.conf. Every settings here is well explained, but the settings I changed is these:
    Code:
    ; ***************************
    ; Required stuff
    ; ***************************
    Password: *****   	I don't tell you mine ;)
    
    MaxUser=20  		Set as high as your connection can handle
    
    PortBase=8000	I did not changed this, but you need to open this port in your router/firewall.
    
    ; ***************************
    ; Network configuration
    ; ***************************
    
    SrcIP=127.0.0.1
    This is all I changed. Save and close. Now lets test if it works. Open a console an cd to the directory where you decompressed the server files and run ./sc_serv Hopefully it will start nicely. You might want to make a short cut to the server to make it more easy to start it.

    Internet DJ Console:
    This you will find in the repository. Open a console and do (or install it from Synaptic):
    Code:
    sudo apt-get install idjc libxine-extracodecs
    After it is installed, in a console do:
    Code:
    echo "/usr/bin/jackd -d alsa -r 44100" >~/.jackdrc
    it will start jackd when Internet DJ console starts. Start it (you will probably find it in KDE/Gnome menu) and Click on Server (Radio Server).

    Under "Connection" set this:
    In "Type:" select Shoutcast
    In "Host:" localhost
    In "Port:" 8000
    in "pass" the password you picked in sc_serv.conf

    Under Encoding:
    in "Format" I have mp3 (ogg will work too I guess)
    in "Bitrate" I have 192 (the higher you set this, the delay to the clients will be less, but also hog more bandwidth.)
    I ticked the box Stereo.

    Under "Stream Info" it is your choice. I only have "DJ Name: Eazy" Rest I have blank.

    Connect to your SHOUTcast-server by clicking on the "Server Connect"-button, then close "Radio Server"-window. Only thing left is to add some music to the play lists, start a song, and lastly click on "Stream"-button.

    The address ppl will need to be able to connect to your SHOUTcast is: http://your.external.IP:8000/listen.pls


    Alternative to Internet DJ Console

    The few ppl that have tested my howto reports they have problems with the sound (probably jack that is acting up), so I tried to find a different solution and I found LiveIce. It is a plugin to Xmms which I have tried before, but I could never make it work until now. Here is what I did:
    Code:
    sudo apt-get install xmms-liveice
    Start xmms and press Ctrl + P.
    Click on the second tab from the left. Select "LiveIce 1.0.0" and click on configure.
    The settings I have there:

    In the tab Audio Format

    Audio Format:

    Sample Rate (Hz): 44100
    Number Of Channels: Stereo
    Stream Bitrate (bps): 64000

    Encoder:
    Encoder Type: Lame (3.21 and above)
    Executable name: /usr/bin/lame

    Description tab:
    Its your choice I guess.

    In the tab Server

    Server Location:
    Server Address: localhost
    Server Port: 8001 (yes needs to be 8001 even though your server is set to 8000, its a bug.)
    Encoder Password: pass to the shoutcast server

    Extra Icecast Only Features:
    Unselect Use X-Audiocast Headers
    Unselect Enable Icecast Title Data
    Stream Mountpoint: listen.pls (don't know if this is needed to be this, but there probably has to be something here)
    Remote Dumpfile I have unselected.

    Now click ok (twice) and close Xmms. Start your shoutcast-server and then start Xmms. Now you should be ready to shout.
    The address ppl need to connect is http://IP:8000

    Happy Shouting!!

    If you got suggestions to this howto, please tell them so I can improve it.
    Last edited by EazyŠ; August 15th, 2007 at 10:12 PM. Reason: Added LiveIce-plugin for Xmms to the howto as an alternativ to idjc.

  2. #2
    Join Date
    May 2006
    Beans
    29
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    what libs does it need to stream and play mp3? cause mine isn't working, it connects to the server but when i click on stream the idjc stop workin, i tried it without streaming ... and it doesn't even play the mp3.

  3. #3
    Join Date
    Jun 2005
    Beans
    155

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    try in console:
    Code:
    sudo apt-get install libmad0 lame
    Please respond to this if it works so I can add it to my howto. Guess I had mp3-support working before I installed idjc.

    Edit:
    Here are a dependency list: http://www.onlymeok.nildram.co.uk/download.html both optional and required. Also, here are a howto to get multimedia support: http://ubuntuforums.org/showthread.php?t=413626
    Last edited by EazyŠ; July 14th, 2007 at 10:02 PM.

  4. #4
    Join Date
    May 2006
    Beans
    29
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    still dunno what's wrong with it, i already had lame and libmad installed the first time, i installed now the gstreamer-lame .. but still not working. when i press play it jumps from one song to another until it finishes the playlist but doesn't play any of them. any other ideas?

  5. #5
    Join Date
    Jun 2005
    Beans
    155

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    Are you running Ubuntu or Kubuntu? If you run Kubuntu you can try with:
    Code:
    sudo apt-get install libxine-extracodecs

  6. #6
    Join Date
    May 2006
    Beans
    29
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    ubuntu 7.04

  7. #7
    Join Date
    Jun 2005
    Beans
    155

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    Can you even play mp3's in xmms or some other player?

    I edited post #3...forgot to put the link to the dependency list. You might want to try to install some of the recommended/optional.

    As I said in the howto, I'm not very good at linux, so If you don't get this working I'm hoping some other might have a solution for you.
    Last edited by EazyŠ; July 14th, 2007 at 10:08 PM.

  8. #8
    Join Date
    May 2006
    Beans
    29
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    yeah mp3 works in xmms, but xmms uses the alsa plugin for output, idjc uses jackd, maybe that's the problem. Anyway thanks for the suggestions.

  9. #9
    Join Date
    Jun 2005
    Beans
    155

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    I have libjack0.100.0-0 and libjack0.100.0-dev installed. Try to install them if you don't got them.

    Code:
    sudo apt-get install libjack0.100.0-0 libjack0.100.0-dev

  10. #10
    Join Date
    May 2006
    Beans
    29
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Set up SHOUTcast-server at home and Internet DJ Console

    it works now, i mean i can hear sound but the sound isn't smooth like normal playback , it interrupts very often. what could it be now ?

    The problem before were the xine extracodecs, idjc uses xine as the encoder. So , include that in the how-to.

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •