PDA

View Full Version : NetRadio: .asf & .ra



elite
2005-07-16, 11:47 AM
I know Sub only supports shoutcast for mvp compatability but would it be possible to have the option to play other streams on non-mvp clients?

Alternatively, is there a work around to relay/convert an asf/realaudio stream to shoutcast - icecast maybe? - I know this would take some cpu and ram... - Any pointers on this greatly appreciated!

bgowland
2005-07-16, 03:22 PM
Alternatively, is there a work around to relay/convert an asf/realaudio stream to shoutcast - icecast maybe? - I know this would take some cpu and ram... - Any pointers on this greatly appreciated!Try this link...http://groups.yahoo.com/group/NetgearMP101Group/files/Manuals%2CGuides%2C%20and%20How-To%27s/ (You will probably need a Yahoo Groups login to get to it). Alternatively if a number of people are interested, I can ask the authors of the 'How To' files if I can reproduce them here.

How it works (in condensed form)...

The components are WinAmp, Tara RA plug-in for WinAmp, Shoutcast DSP plug-in for WinAmp, Shoucast server. You also need the basic RealPlayer because Tara needs some of the components.

Tara and WinAmp can receive/play RA streams. The Shoutcast DSP intercepts what is being sent to the speakers and streams it to localhost port 8001. The Shoutcast server listens on localhost:8001 and re-broadcasts to localhost port 8000. All you then need to do is point your client box at http://yourmachine:8000/ - et voila!

Its a bit fiddly to setup but the guides on the link I posted above are step-by-step details of how a couple of people have got it working. I've used this to stream BBC RA to a Netgear MP101.

Cheers,
Brian

bgowland
2005-07-16, 03:27 PM
I haven't yet got this to work with GB-PVR and my MVP but its low on my priorities and I haven't had much time to experiment recently.

bgowland
2005-07-16, 11:54 PM
Got it to work with GB-PVR and my MVP now. :)

Dave72
2005-07-17, 01:19 AM
Excellent, bgowland.

Im really looking forward to getting my hands on a MVP now !

I wonder what else we can stream-redirect.

sub
2005-07-17, 01:22 AM
Yeah, thats a great idea. Well spotted...

bgowland
2005-07-17, 05:04 AM
I wonder what else we can stream-redirect.I did hope it would work for anything that WinAmp could play but I just tried it with an asx playlist / wma stream and although WinAmp is playing the station through my speakers, the ShoutCast DSP isn't sending anything to the Shoutcast server. Odd.

Need sleep now, will try again tomorrow.

Cheers,
Brian

elite
2005-07-17, 12:11 PM
This looks good - Am I right in thinking that I'll need to have a separate instance of WinAmp etc running for each stream? - I assume there is no way for Winamp to know if a different stream as been selected in GBPVR? - I'm thinking bandwidth, cpu... of course having a separate instance for each stream means if you have multiple mvps each can listen to different steam...

Thanks for the help

Nick

bgowland
2005-07-17, 05:00 PM
This looks good - Am I right in thinking that I'll need to have a separate instance of WinAmp etc running for each stream? - I assume there is no way for Winamp to know if a different stream as been selected in GBPVR?I've written a small VB6 utility which I've set as a 'Custom Task' in GB-PVR. I can select it from my MVP, it runs, starts WinAmp and then passes it the URL for a ra stream (BBC Radio 2 for test purposes). I've also added a test.pls file to the GB-BVP NetRadio folder which points at the URL for my localhost Shoutcast server - once I've run my custom task I just go to Net Radio and select that station. I might extend it this afternoon to step through a list of URLs each time the custom task is run. Then again, if only the Net Radio plug-in was open source I might have another go at learning C#. :)


I'm thinking bandwidth, cpu... of course having a separate instance for each stream means if you have multiple mvps each can listen to different steam...One of the guys on the MP101 form link I posted above mentioned having tried several instances with good results. Looking at my CPU usage with one instance shows negligible activity. I don't think bandwidth would be a problem as you are only talking audio bit-rate streams.

Cheers,
Brian

bgowland
2005-07-17, 07:41 PM
I did hope it would work for anything that WinAmp could play but I just tried it with an asx playlist / wma stream and although WinAmp is playing the station through my speakers, the ShoutCast DSP isn't sending anything to the Shoutcast server. Odd.OK with a little help from the Winamp tech. discussion forum, it appears that wma streams by-pass the Winamp DSP section - the impression I got was that there was nothing that could be done about this.

In order to get it to work you have to switch the DSP's input to 'Soundcard Input' and loop a jack-jack cable from the speaker out jack to the line-in jack. This is working for me now with asx/mss/wma streams but I'm getting an 'echo' so I need to adjust buffer settings I think.

I don't know how practical this will be for some users' setups if their GB-PVR setup is also the home computer - the loopback cable obviously means having to disconnect the speakers. It's not a problem for me as my mediaserver is dedicated and I just happen to have a 20-channel rack-mount mixing desk bolted into the flight case above it. :D

Cheers,
Brian

PS sub if you feel that discussions on this Winamp/Shoutcast approach are better suited to 'General Discussion' then let us know

elite
2005-07-17, 09:10 PM
OK with a little help from the Winamp tech. discussion forum, it appears that wma streams by-pass the Winamp DSP section - the impression I got was that there was nothing that could be done about this.

Excellent work you're doing here - I've run into the same problem with wma etc...

So maybe this is more of an issue with Winamp? - Anyone know of a plugin for MS Windows Media Player (or any other player) equivelent to the Shoutcast DSP output for Winamp? (back to google :) )

Any chance of posting the VB utility?

Nick

bgowland
2005-07-17, 09:29 PM
Anyone know of a plugin for MS Windows Media Player (or any other player) equivelent to the Shoutcast DSP output for Winamp?From what I've seen of it this is what Windows Media Connect is supposed to be aiming for but you're getting into UPnP territory there and it isn't mature enough yet IMO.


Any chance of posting the VB utility?I'll try to do that in a little while - I was going to give it a couple of more tweaks.

Cheers,
Brian

Dave72
2005-07-17, 09:48 PM
In order to get it to work you have to switch the DSP's input to 'Soundcard Input' and loop a jack-jack cable from the speaker out jack to the line-in jack. This is working for me now with asx/mss/wma streams but I'm getting an 'echo' so I need to adjust buffer settings I think.


Been a while since I fiddled with Shoutcast, but I thought at the time I saw an option for "Soundcard Output" (as opposed to Soundcard LineIn)... ie, it takes whatever is heading to your output and casts it. Might save you a loopback cable anyhow..

Still doesnt solve the problem of tieing up the pc audio tho..

bgowland
2005-07-18, 04:53 AM
Been a while since I fiddled with Shoutcast, but I thought at the time I saw an option for "Soundcard Output"I seem to remember that too - the last time I tried it was probably last autumn with my MP101. The current version only seems to have Souncard Input hence me needing to loopback out/in.


Still doesnt solve the problem of tieing up the pc audio tho..The only way you could do that would be with a second sound card I guess (messy).

Cheers,
Brian