|
Using RISC OS to listen to radio |
|
geraldholdsworth (19:30 29/10/2013) davidb (22:17 29/10/2013) geraldholdsworth (17:49 22/11/2013) Tin Hat (20:14 22/11/2013) davidb (13:57 23/11/2013) Tin Hat (20:14 23/11/2013) Tin Hat (10:55 24/11/2013) Tin Hat (11:05 24/11/2013) davidb (18:59 24/11/2013) Tin Hat (01:42 25/11/2013)
|
|
Gerald Holdsworth |
Message #122740, posted by geraldholdsworth at 19:30, 29/10/2013 |
Member
Posts: 12
|
Hi all, As the engineer, as Vice Chairman, of a hospital radio station, I'm looking into transmitting our output to other hospitals in the area using the NHS's own network. I've got a PeeCee setup with Windoze and MS Expression to encode the audio stream for VoIP on the network. The next thing is to receive this and decode it back into audio. It has been suggested, as space is a premium at the other hospitals, to use a Raspberry Pi for this. I then realised the opportunity to use RISC OS…with the only issue is, is there any software that can decode a Windows Media stream on RISC OS? Cheers, Gerald. |
|
[ Log in to reply ] |
|
David Boddie |
Message #122741, posted by davidb at 22:17, 29/10/2013, in reply to message #122740 |
Member
Posts: 147
|
I doubt it very much. Do you have to use Windows Media for this? |
|
[ Log in to reply ] |
|
Gerald Holdsworth |
Message #122838, posted by geraldholdsworth at 17:49, 22/11/2013, in reply to message #122741 |
Member
Posts: 12
|
Mickey$oft Expression Encoder 4 will only output a digital stream as WMV format, so yes - unless I find another bit of (free) software that will do the same job and runs on Windows XP. |
|
[ Log in to reply ] |
|
Patric Aristide |
Message #122839, posted by Tin Hat at 20:14, 22/11/2013, in reply to message #122838 |
Member
Posts: 56
|
I have no problems listening to mp3 live streams (recognised as "M3UFile") from radio stations on my Pi running RISC OS. Pretty sure there's some free encoding s/w that'll do that. OGG Vorbis works too and is said to give better quality than mp3 streams. Not that I'd notice with my tinny Lapdock speakers
OGG is open source and thre are at least free command line tools for encoding under Windows.
[Edited by Tin Hat at 20:23, 22/11/2013] |
|
[ Log in to reply ] |
|
David Boddie |
Message #122841, posted by davidb at 13:57, 23/11/2013, in reply to message #122839 |
Member
Posts: 147
|
I agree with Patric on this. If you limit yourself to encoding to WMV then it'll restrict the choice of client platform. (Isn't WMV a video streaming format?)
Patric, do you have links for the OGG encoding tools for Windows? |
|
[ Log in to reply ] |
|
Patric Aristide |
Message #122843, posted by Tin Hat at 20:14, 23/11/2013, in reply to message #122841 |
Member
Posts: 56
|
For more in depth info on how ogg works see here: http://www.xiph.org/ogg/doc/oggstream.html
I don't have Windows here atm but oggdrop seems to be your best bet when it comes to encoding: http://www.rarewares.org/ogg-oggdropxpd.php (there's also a separate download manual).
Unfortunately that won't help you a bit though as you actually want to broadcast stuff and this is where things get slightly technical First you need Icecast a media streaming server. For some reason there's currently no Win version AIU. You'll either have to go through old releases or wait. Then you need a client. There's a command line utility which is okay-ish and there's BUTT. The win download is slightly hidden on sourceforge but not too difficult to find.
http://www.icecast.org/download.php http://sourceforge.net/projects/butt/files/butt/butt-0.1.12/
If you don't like reading and who's to blame you for that, try youtube:
http://www.youtube.com/watch?v=LJNyJMcjgy8
[Edited by Tin Hat at 20:59, 23/11/2013] |
|
[ Log in to reply ] |
|
Patric Aristide |
Message #122845, posted by Tin Hat at 10:55, 24/11/2013, in reply to message #122843 |
Member
Posts: 56
|
Of course you can also stream mp3 if you consider ogg too esoteric. BUTT and Icecast are really quite flexible. The other heavyweight would be Winamp with Shoutcast but since AOL just announced killing off both I'd rather go for a open source solution. |
|
[ Log in to reply ] |
|
Patric Aristide |
Message #122846, posted by Tin Hat at 11:05, 24/11/2013, in reply to message #122845 |
Member
Posts: 56
|
To see how well DigitalCD copes have a look at this list of wma, aac, mp3 and ogg vorbis streams: http://www.listenlive.eu/uk.html |
|
[ Log in to reply ] |
|
David Boddie |
Message #122852, posted by davidb at 18:59, 24/11/2013, in reply to message #122845 |
Member
Posts: 147
|
Another solution might be to use VLC (http://www.videolan.org/) to perform the streaming on Windows.
It should be possible to set up streaming by selecting the Media menu's Stream entry. This lets you select a source (File, Disk, Network, Capture Device) then you click the Stream button to start configuring the streaming options.
From there you need to choose a Destination (streaming method) that the client will support and maybe also a transcoding method to send the data in a format that the client understands.
At that point, clicking Stream should set it off and you just need to point the clients at the relevant URL. |
|
[ Log in to reply ] |
|
Patric Aristide |
Message #122854, posted by Tin Hat at 01:42, 25/11/2013, in reply to message #122852 |
Member
Posts: 56
|
Ok, this came as a surprise to me. If you feel strongly about wma then yes: it can be done! Thanks to Chris Gransden there's a port of mplayer for RISC OS and it actually does run on the Pi. It uses a lot of RAM though and it's command line only. Open a taskwindow, type *mplayer location_of_stream -options and there you go. It's not a very elegant solution however and streaming mp3 or ogg vorbis would make things much easier on the RISC OS side. Your choice. Mplayer can be found via PacMan or on Chris Gransden's website. |
|
[ Log in to reply ] |
|
|