The Stream

Listen to GB3OA world-wide

All of GB3OA’s output is being streamed through Shoutcast, the internet audio streamer. To listen from anywhere in the world you can go to http://shoutcast.com and search for GB3OA.

‘….are there other ways I can listen to the stream?’

One other way to listen in is from this web site,  by clicking on one of the players below:

Winamp – Winamp, iTunes
Windows Media Player or browser plug-in – Windows Media Player
Real Player or browser plug-in – Real Player
QuickTime – QuickTime

However, note that when the stream is taken down temporarily for maintenance some players handle the start of the new stream differently. The answer is to refresh the player.

Our recommendation to listen in from a PC, Android, iPad or iPhone…..

After substantial testing we recommend using VLC Media Player by VideoLAN or VideoLABS. Look for this logo:largeVLCIt handles the stream well and doesn’t need refreshing after the stream has been taken down for maintenance. The PC version has extra features too (go to AUDIO > VISUALISATIONS).

To connect VLC to the stream you need to find OPEN NETWORK STREAM in the menu of the player and enter the following:

      http://184.154.90.186:8350

By using this address along with VLC itself, you’ll find that the stream remains solid even with a flaky wifi, 3G or internet feed.

Note that in the PC version in TOOLS > PREFERENCES > ALL > INPUT CODECS, that TCP CONNECTION TIMEOUT should be set to 5000, and NETWORK CACHING should be 1000. The latter can be increased if you have a particularly bad connection.

How is the audio stream generated?

Technically, the constant audio stream is achieved by feeding the receiver output from a Baofeng UV-3R HT into a 50p-sized USB soundcard which is connected to a Raspberry Pi. Two programs are used in the Pi – ALSAMIXER sets the audio level and DARKICE converts this audio into 32kbps MP3 audio and sends it to the Shoutcast server as data. With all this going on the load on the Pi CPU is only 13%.

Also, DARKICE has been compiled with the MP3 LAME encoder which processes the audio. Sometimes the audio via Shoutcast may sound better than direct through your own rig!

Have any questions? Contact us at repeater5302 (at) gmail (dot) com

6 Responses to The Stream

  1. Pingback: GB3OA available via Internet streaming. | GB3OA Southport

  2. binauralhead says:

    Hey guys, just a quick question about the streaming config please.
    I’m experimenting using the raspberry pi to use it as an audio streamer via the 3G mobile network to stream binaural audio as a portable device.

    This works, but only by also having another PC on a separate WAN connection, I am using winamp on my main PC to connect to the Pi, then using the winamp plugin to send that stream to a shoutcast server. Ideal would be to have the PC removed from the setup so that from a script at the command line, the Pi joins the 3G network (done) starts Icecast and darkice (done) then tries to connect to my shoutcast hosting server (banging head against wall).
    I’ve tried the darkic.cfg to point to the shoutcast server, but I get connection errors and darkice falls over, tried talking to the help desk but every reply is by someone else, and they don’t read the previous messages (terrible!) It’s the [shoutcast] section in the darkice config that I think is causing troubles, think that it maybe the config file isn’t quite formatted correctly. Could any of you perhaps point me in the right direction.

    2E0GYO

    • revengant says:

      Hi. First of all I used the following help page:
      http://www.t3node.com/blog/live-streaming-mp3-audio-with-darkice-and-icecast2-on-raspberry-pi/

      We’re using a 3rd party intermediary which we pay for between the Pi and Shoutcast. This is good as it has a fairly sophisticated menu system. However, the script should be the same. I’m not sure you can stream directly to Shoutcast, but they’ve changed things a bit recently and I think if you accept ads you can now stream direct.

      In the Darkice script I commented out Icecast completely:
      —————-
      # DarkIce configuration file
      # see the darkice.cfg man page for details

      # this section describes general aspects of the live streaming session
      [general]
      duration = 0 # duration of encoding, in seconds. 0 means forever
      bufferSecs = 10 # size of internal slip buffer, in seconds
      reconnect = yes # reconnect to the server(s) if disconnected

      # this section describes the audio input that will be streamed
      [input]
      device = plughw:1,0 # Alsa DSP soundcard device used for audio input
      # see man darkice.cfg for other types of input
      sampleRate = 22050 # sample rate in Hz. try 11025, 22050 or 44100
      bitsPerSample = 16 # bits per sample. try 16 or 8
      channel = 1 # channels. 1 = mono, 2 = stereo

      # ShoutCast server
      # there may be up to 8 of these sections, named [shoutcast-0] … [shoutcast-7]
      # these can be mixed with [icecast-x] and [icecast2-x] sections
      [shoutcast-0]
      bitrateMode = cbr # variable bit rate, avg or constant – hashout bitrate if v
      #format = vorbis # vorbis, or comment out for mp3
      bitrate = 32 # bit rate of mp3 stream sent to the server
      quality = 0.4 # encoding quality
      #lowpass = 5000 # lame lowpass filter in Hz
      highpass = 300 # lame highpass filter in Hz
      tt = GB3OA Southport Amateur Radio repeater
      ta = Radio Amateurs from around the World
      tl = Communicate with the World!
      server = 184.xxx.xxx.xxx
      # host name of the server
      port = 8081 # source port of the ShoutCast server, usually 8001
      password = xxxx # source password to the ShoutCast server
      name = GB3OA Southport Amateur Radio Repeater and Node 5302
      # name of the stream
      url = http://gb3oa.org.uk
      # URL related to the stream

      One other point is that I stream form the Pi to the internet router via a wifi dongle – there is no cable connection to the router, so if you could do this to your 3G smartphone then there should be no problem. You would obviously have to allow the Pi’s IP Address into your smartphone.

      Hope this helps, otherwise I would try asking on the Pi forum.

      • binauralhead says:

        Many thanks for the fast reply.
        I will check the darkice.cfg to match your tags, I may have omitted something there perhaps.
        Yes I used the same link to setup a streamer, though as an after thought tried plugging in a 3G dongle rather than a wifi dongle. So switch on and it starts icecast, darkice, the the sakis3g, which then connects the pi to the network, but to start the stream I have to login to the hosting streamer, click the start radio, then use winamp on my pc to play the url, then I can forward that through the shoutcast app within winamp.

        I am hoping to try a paid service if this is reliable, as by then I would hope that as long as the hosting server is switched on, that the darkice config file will connect to the host server without user intervention, the dynamic IP would not be an issue then.

        Streaming right now, not sure how long the battery will last out for as it’s been doing very well for the last few hours, over at: http://myradiostream.com/3dsound
        If you have headphones, please wear them and expect the unexpected experience.

        Thank you very much for the info. I will try looking at the cfg later.

        Regards
        Alan
        2E0GYO

  3. binauralhead says:

    Thought I would pop by let you know that I have been successful in streaming from the Pi with just using Darkice, it streams to an Icecast server in France (it is a part of the world wide microphone network project), which has caused a flurry of interest, and has given many a very big surprise when listening.

    True binaural “3D” audio, so headphones are a must else its like watching a 3D film without the glasses.

    http://locus.creacast.com:9001/liverpool_ormskirk

    This has been streaming 24/7 since February 2015 – .ogg -48000KHz – 16bit – 256kbps without user intervention. Though only just testing MP3 format at 320 bitrate and 0.9 quality, I can’t tell the difference tbh. Using the Cirrus Logic audio card –

    Tested Darkice recently to see how well it handles 96KHz, Pi B+ tops out with a few dropouts, so I guess Pi2 could do it, maybe I will try it sometime.

    The issue before hand was a compatibility issue with the server I was trying to connect to.
    The ears project is on my blog too.

    I ended up in Elsetree Studios in London, at the end of November last year, just after commenting on your blog, with both my home made binaural mics, in a Foley studio with actress Freya Berry, an awesome experience it was too.

    http://www.invisiblecinema.co.uk/

    I’ve also got a Raspberry Pi in a tube, which is also streaming, complete with ears, this is a portable streaming microphone that can be streamed from the 3G/4G or wired LAN, and soon wifi too.

    Could be an interesting thing to have at a meeting if people can’t attend in person :o)

    Regards

  4. Pingback: The Stream now back up and running | GB3OA Southport

Leave a comment