Raspberry PI, SDR and ICECAST

Main forum to discuss RTL-SDR related topics.
Post Reply
psudhanshu
Posts: 1
Joined: Fri May 31, 2019 2:42 am

Raspberry PI, SDR and ICECAST

Post by psudhanshu » Fri May 31, 2019 2:49 am

Hello experts and enthusiasts,

I am trying to build a project like this ...

Devices -
Raspberry Pi 3
SDR dongle (Nooelec or standard RTL-SDR)
External antenna

Purpose
I need to capture regular FM signal through the dongle, over to the pi and be able to eventually stream it to ICECAST.

What I have managed to do?
I was able to install gqrx, capture the FM, pipe it to a virtual cable.
Used VLC to read the virtual cable and stream it to ICECAST.

What I want to do?
All the above steps had to be done manually through the raspberry UI. What I want to do is be able to create a script on this pi which executes at startup and
1. sets up the dongle to a set frequency (say 98.3) - not sure how to achieve it.
2. directs the output to an audio pipe - not sure how to achieve it.
3. invokes VLC, reads the pipe and streams to icecast - I am able to do this part already.

Can someone please guide me on step number 1 and 2? I want to avoid gqrx and the virtual cable software if possible.

Thanks a lot in advance for the help!!

Flexme
Posts: 12
Joined: Wed Jan 30, 2019 1:00 am

Re: Raspberry PI, SDR and ICECAST

Post by Flexme » Mon Jun 03, 2019 10:47 pm

What is it you are after in this:

First, what do you want to receive?

Second, is this a LOCAL IceCast server or a REMOTE ONE AT VPS server in a DC???

There are many ways to feed SDR to an IceCast stream depending on what you are after..

P25 Phase I & II are doable depending on your needs.. Right now if you need PII you are pretty much stuck with OP25.

I use rtl_fm and feed it to ezstream to send to my IceCast Server.

I've got more Pi's doing OP25 to IceCast

I've got another Pi doing Darkice taking LINE AUDIO IN from Wolfson card... and in the past used a Pi with an cheapo USB donlge to take analog audio in, and send to darkice to IceCast.. The SDR/ezstream setup replaced that.

Outline what you want to do, and I will advise further.

Flexme
Posts: 12
Joined: Wed Jan 30, 2019 1:00 am

Re: Raspberry PI, SDR and ICECAST

Post by Flexme » Mon Jun 03, 2019 10:50 pm

What is it you are after in this:

First, what do you want to receive?

Second, is this a LOCAL IceCast server or a REMOTE ONE AT VPS server in a DC???

There are many ways to feed SDR to an IceCast stream depending on what you are after..

P25 Phase I & II are doable depending on your needs.. Right now if you need PII you are pretty much stuck with OP25.

I use rtl_fm and feed it to ezstream to send to my IceCast Server.

I've got more Pi's doing OP25 to IceCast

I've got another Pi doing Darkice taking LINE AUDIO IN from Wolfson card... and in the past used a Pi with an cheapo USB donlge to take analog audio in, and send to darkice to IceCast.. The SDR/ezstream setup replaced that.

Outline what you want to do, and I will advise further.

montyny
Posts: 1
Joined: Thu Jun 20, 2019 1:23 pm

Re: Raspberry PI, SDR and ICECAST

Post by montyny » Thu Jun 20, 2019 1:29 pm

It sounds like you are trying to do the same thing I have recently done. It took me a while to find the right components, and to put it all together.

I'm not using a gui on my pi, but if you want to try my steps, I actually wrote a post on my experiences.

Post Reply