PSPRadio Forums Forum Index PSPRadio Forums
PSPRadio Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Joy of IceCast2 + OddCast Streaming to PSPRadio

 
Post new topic   Reply to topic    PSPRadio Forums Forum Index -> Success Stories
View previous topic :: View next topic  
Author Message
purify



Joined: 30 Dec 2005
Posts: 4

PostPosted: Fri Dec 30, 2005 9:10 pm    Post subject: Joy of IceCast2 + OddCast Streaming to PSPRadio Reply with quote

I am almost giddy after sucessfully setting up an Icecast2 Streaming MP3/Ogg server along with Oddcast to stream my audio library to PSPRadio.

RAf, this topic may be suitable for a topic of its own to provide community support for those who want to stream their own content to PSP.

I wish I had time to write a how-to, but for you early adopters, here is a list of free Windows software you will need to start streaming your own audio content. There are plenty of help files available to get started. Most everythig can be left at its default settings.

1.) Get Icecast from (http://www.icecast.org/), which performs the actual audio streaming to your PSP. Ice is shoutcast compatible and works with PSPRadio perfectly. If you just want to stream your collection of audio in your home, then this is all you need.

2.) Get Oddcast from (http://www.oddsock.org/tools/), which is used to provide live streaming content to your Icecast2 server. For example, if you want to real-time stream an audio CD in ogg format to your PSP, then you need this, or just about any other audio from your computer, such as mic-in, line-in, midi, wav, etc. Oddcast comes as a stand alone or Winamp plugin. I prefer the winamp plugin since you need a media player of some sort to initiate the playback of audio content. Oddcast will convert the live audio feed into either streaming Ogg or MP3 with various bitrate/quality settings. The beauty of this is that you can transcode any type of audio file winamp can play into ogg or mp3.

3.) To access your audio streams outside your home, you will need a static IP or dynamic ip service from such places like http://www.dyndns.com/ plus the know-how to configure your wireless router for port fowarding. Also, I think a decent upstream bandwidth would be required. My Icecast will only stream to one client and the server is not published for public use.

I have my Icecast setup to send two possible stream sources to PSPRadio. First, I have a PSPRadio playlist that connects directly to my collections of mp3 files stored on my PC. This is considered static content streaming. Second, I have a playlist that that connects to an Oddcast ogg stream. With this, I can stream live audio content to PSPRadio of anything that Winamp can play including CD audio. I like to stream some of my audio as ogg format as it apprears to be more stable than mp3. In my home network, I can have high quality audio streaming smoothly at a nice 320 bitrate.

I would like to hear what others are doing in terms of home streaming.

Cheers to PSPRadio![/url]
Back to top
View user's profile Send private message
HalfastII



Joined: 26 Sep 2005
Posts: 619
Location: Dublin Ca

PostPosted: Fri Dec 30, 2005 10:34 pm    Post subject: Reply with quote

Kick ass.. This is great news I have had the same idea but just havent tried

I agree that may be a good Side topic in the same manor as the 2.0 support..

I will talk with Raf and see what we can pull togetter..
_________________
Paul Viscovich Happy Owner of

Native US 1.50 PSP Up & Down
1Gb Scandisk : 1 - 512Mb, 1 64mb and 2 - 32Mb Sony MS
13 UMD Movies and 14 UMD Games PSPRadio Baby!!

My wife has a small fortune invested Smile
Back to top
View user's profile Send private message Visit poster's website AIM Address
purify



Joined: 30 Dec 2005
Posts: 4

PostPosted: Sun Jan 08, 2006 3:04 am    Post subject: IceCast Remote Reply with quote

The fun continues. I now have a winamp/icecast remote control plugin (song requester from http://www.oddsock.org/tools/gen_songrequester/). This plugin is a mini web server that lets me log in remotely to update, change or cue my playlists for my realtime PSPradio stream. Its nice now to only have one central location to manage my music files rather than having to configure and herd them around onto different devices. It is essentially location free audio for PSP v 1.5/2.0.

I have identified some issues with PSPradio (both in 0.36 and 0.37 releases) in the above environment. You cant have the audio stream miss a beat such as when you remotely stop a stream to change a song. This will cause PSPRadio lock up. You have to stop the stream in PSP, change the playlist order, the intiate the stream, then reconnect with PSPradio. Not a big issue if you have a large playlist to begin with. I would like to see PSPRadio be more stable when it does encounter a stream issue.

I will ad this to the wish list thread
(1) It would be great to be able to send http resquests from PSPradio. These commands dont have to return any thing just send a command argument to a web server that controld icecast/winamp. This will allow for remote playlist selection and queiing all within PSPradio. a sample command would look like:

http://www.myserver:8000/next-track.cgi

You could create a series of these commands that could be accessed from a server command list.
Back to top
View user's profile Send private message
youngjoonshi



Joined: 17 Jan 2006
Posts: 6

PostPosted: Fri Jan 20, 2006 1:35 pm    Post subject: Reply with quote

A know-how please...I don't know the hell how to stream it into my psp
Back to top
View user's profile Send private message MSN Messenger
sandberg



Joined: 29 Sep 2005
Posts: 186
Location: Denmark

PostPosted: Fri Jan 20, 2006 1:55 pm    Post subject: Reply with quote

youngjoonshi wrote:
A know-how please...I don't know the hell how to stream it into my psp


No need to swear Mad .. Purify wrote an excellent guide to setup streaming from your PC to your PSP. If you visit the sites that he links to, you would find the documentation there ..

Docs for icecast server can be found from the link below :

http://www.icecast.org/docs.php
_________________
Br, Sandberg ..
Back to top
View user's profile Send private message Visit poster's website
aerischan



Joined: 01 Oct 2005
Posts: 10

PostPosted: Sat Jan 28, 2006 1:27 pm    Post subject: Re: Joy of IceCast2 + OddCast Streaming to PSPRadio Reply with quote

purify wrote:
I have my Icecast setup to send two possible stream sources to PSPRadio. First, I have a PSPRadio playlist that connects directly to my collections of mp3 files stored on my PC. This is considered static content streaming.


Wait, PSPRadio now supports mp3-on-demand? Ehehe, haven't been to the forums for some time. Last time, I used it (v0.34), I just got some errors trying to play static mp3s. I was looking through the new features list but I didn't see mp3-on-demand as a new feature.

LoL, I had shoutcast server running on my PC a couple of hours after I downloaded PSPRadio. And yes, it was only because of the PSP that I installed it.

Edit: Scratch that. MP3 on demand still not supported. I checked the bug repository here. Hmm, this seems to be hard to implement. I seem to recall seeing a post requesting this functionality dated around September last year. Razz
Back to top
View user's profile Send private message
raf
Site Admin


Joined: 26 Sep 2005
Posts: 730
Location: NC

PostPosted: Sat Jan 28, 2006 8:07 pm    Post subject: Re: Joy of IceCast2 + OddCast Streaming to PSPRadio Reply with quote

aerischan wrote:
purify wrote:
I have my Icecast setup to send two possible stream sources to PSPRadio. First, I have a PSPRadio playlist that connects directly to my collections of mp3 files stored on my PC. This is considered static content streaming.


Wait, PSPRadio now supports mp3-on-demand? Ehehe, haven't been to the forums for some time. Last time, I used it (v0.34), I just got some errors trying to play static mp3s. I was looking through the new features list but I didn't see mp3-on-demand as a new feature.

LoL, I had shoutcast server running on my PC a couple of hours after I downloaded PSPRadio. And yes, it was only because of the PSP that I installed it.

Edit: Scratch that. MP3 on demand still not supported. I checked the bug repository here. Hmm, this seems to be hard to implement. I seem to recall seeing a post requesting this functionality dated around September last year. Razz


Don't know if it is hard to implement or not, just haven't had time to even think about it .. Sorry..

Raf.
Back to top
View user's profile Send private message Visit poster's website
purify



Joined: 30 Dec 2005
Posts: 4

PostPosted: Tue Jan 31, 2006 2:59 am    Post subject: Re: Joy of IceCast2 + OddCast Streaming to PSPRadio Reply with quote

Yes you can play individual mp3 files on-demand as opposed to a whole bunch in a large streaming que. I recommend using icecast & oddcast instead of shoutcast, its a bit more friendly. You can create a playlist for individual static mp3 files if you like. This way you pick the specific playlist and stream a specific mp3 on-demand.

aerischan wrote:
purify wrote:
I have my Icecast setup to send two possible stream sources to PSPRadio. First, I have a PSPRadio playlist that connects directly to my collections of mp3 files stored on my PC. This is considered static content streaming.


Wait, PSPRadio now supports mp3-on-demand? Ehehe, haven't been to the forums for some time. Last time, I used it (v0.34), I just got some errors trying to play static mp3s. I was looking through the new features list but I didn't see mp3-on-demand as a new feature.

LoL, I had shoutcast server running on my PC a couple of hours after I downloaded PSPRadio. And yes, it was only because of the PSP that I installed it.

Edit: Scratch that. MP3 on demand still not supported. I checked the bug repository here. Hmm, this seems to be hard to implement. I seem to recall seeing a post requesting this functionality dated around September last year. :P
Back to top
View user's profile Send private message
outofthisworld



Joined: 16 Oct 2005
Posts: 40

PostPosted: Tue Jan 31, 2006 7:57 am    Post subject: Reply with quote

Try Installing the Tara plugin in order to listen to bbc radio 1 streams

http://forums.winamp.com/showthread.php?s=&threadid=155680

along with ice cast and oddcast, i'm now listening to Radio1 on my PSP
Back to top
View user's profile Send private message
Loonix



Joined: 17 Nov 2005
Posts: 57

PostPosted: Thu Feb 16, 2006 9:02 am    Post subject: Reply with quote

*Waah* Sad
i dont get it. Sad

I first tried to setup a shoutcast config (shoutcast DNAS + winamp plugin),
-> sputtering audio on PSPradio (0.38.4)

so I set up the Icecast2 server, no problem here.
And set up the Oddcast plugin v3 for Winamp(5.13) with the error that it required BASS 2.0 installed... (the odcast2.0 plugin must have had installed another version) i handled that...
but still -> sputtering sound!
I think i tried alot, (reducing bitrate, using native bitrate, Ogg/Mp3 encoding, trminating all other tasks on my PC...) but still no sucess

is there a secret seting i am missing?

i have a small part of my loggfile, i hope it helps to help me Wink

Code:
13:33:20.223:PSPStream.cpp@75<20>: CPSPStream::SetURI(http://192.168.6.1:8000/stream.ogg) <URL> called
13:33:20.480:ScreenHandler/PlayListScreen.cpp@564<20>: Calling Play. URI set to 'http://192.168.6.1:8000/stream.ogg'
13:33:20.737:PSPSound.cpp@152<20>: Play('http://192.168.6.1:8000/stream.ogg'): m_CurrentState=STOP
13:33:20.997:PSPSound.cpp@343<50>: ThDecode:: Calling Open For 'http://192.168.6.1:8000/stream.ogg'
13:33:21.255:httpget.cpp@266<20>: http_open(http://192.168.6.1:8000/stream.ogg) called.
13:33:21.524:httpget.cpp@371<20>: url2hostport returns: host='192.168.6.1' ip='0x0' port='8000' sptr='/stream.ogg'
13:33:21.782:httpget.cpp@421<20>: Resolving host='192.168.6.1'
13:33:22.040:PSPApp_Network.cpp@48<20>: ResolveHostname: Calling aton.. (host='192.168.6.1')
13:33:22.298:httpget.cpp@428<20>: aton/ntoa succeeded, returned addr='0x106a8c0'
13:33:22.557:httpget.cpp@431<20>: http_connect(): Opening socket...
13:33:22.815:httpget.cpp@434<20>: http_connect(): Aquired socket fd=2130706444...
13:33:23.316:httpget.cpp@441<20>: http_connect(): Calling Setsockopt()
13:33:23.575:httpget.cpp@457<20>: Using port '8000'
13:33:23.839:httpget.cpp@467<20>: http_connect(): Calling Connect... with port='8000', sock=2130706444, addr='0x106a8c0'
13:33:25.101:httpget.cpp@476<20>: http_connect(): Back from Connect...
13:33:25.361:httpget.cpp@505<20>: http_connect(): Sending 'GET /stream.ogg HTTP/1.0
Icy-MetaData: 1
User-Agent: PSPRadio/0.38.04
Host: 192.168.6.1:8000
Accept: audio/mpeg, audio/x-mpegurl, */*

'
13:33:26.089:httpget.cpp@528<20>: http_connect(): Response: HTTP/1.0 200 OK
13:33:26.347:httpget.cpp@539<20>: Good.
13:33:26.608:httpget.cpp@560<20>: http_connect(): Response: Content-Type: audio/mpeg
13:33:26.866:httpget.cpp@580<50>: Content Type set to audio/mpeg
13:33:27.126:httpget.cpp@560<20>: http_connect(): Response: icy-br:256
13:33:27.388:httpget.cpp@560<20>: http_connect(): Response: ice-audio-info: ice-samplerate=44100;ice-bitrate=256;ice-channels=2
13:33:27.891:httpget.cpp@560<20>: http_connect(): Response: icy-br:256
13:33:28.152:httpget.cpp@560<20>: http_connect(): Response: icy-description:This is my server desription
13:33:28.410:httpget.cpp@560<20>: http_connect(): Response: icy-genre:Rock
13:33:28.669:httpget.cpp@560<20>: http_connect(): Response: icy-name:This is my server name
13:33:28.928:httpget.cpp@560<20>: http_connect(): Response: icy-private:1
13:33:29.187:httpget.cpp@560<20>: http_connect(): Response: icy-pub:0
13:33:29.458:httpget.cpp@560<20>: http_connect(): Response: icy-url:http://www.oddsock.org
13:33:29.718:httpget.cpp@560<20>: http_connect(): Response: Server: Icecast 2.3.1
13:33:29.978:httpget.cpp@560<20>: http_connect(): Response: icy-metaint:16000
13:33:30.237:httpget.cpp@568<50>: http_connect(): Metadata Interval received: 16000
13:33:30.497:httpget.cpp@560<20>: http_connect(): Response:
13:33:30.759:PSPStream.cpp@224<20>: Back from http_open(): socket=2130706444
13:33:31.018:PSPSound.cpp@358<50>: ThDecode:: MPEG Stream Opened Successfully.
13:33:31.520:PSPSoundDecoder_MAD.cpp@38<20>: CPSPSoundDecoder_MAD Initialize - Start
13:33:31.781:PSPSoundDecoder_MAD.cpp@59<20>: CPSPSoundDecoder_MAD Initialize - End
13:33:32.049:PSPStream.cpp@381<50>: MetaData='StreamTitle='';'
13:33:32.317:PSPSoundDecoder_MAD.cpp@145<50>: Recoverable frame level error. (Garbage in the stream).
13:33:32.578:PSPSoundDecoder_MAD.cpp@145<50>: Recoverable frame level error. (Garbage in the stream).
[b]EDIT by Raf:[/b] 13:33:42.032:PSPStream.cpp@381<50>: MetaData='(2 lines of garbage edited out as were making the rss stream invalid'
13:33:42.358:PSPSoundDecoder_MAD.cpp@145<50>: Recoverable frame level error. (Garbage in the stream).

from that point i get more garbage in the stream, then i am disconnected.

any ideas?
(i can listen to 'normal' shoutcast without greater problems)

Thanks alot, and sorry for the humongeous post
_________________
1.52 PSP 1004
Sucsessfull downgrade to 1.50 =D
Back to top
View user's profile Send private message
raf
Site Admin


Joined: 26 Sep 2005
Posts: 730
Location: NC

PostPosted: Thu Feb 16, 2006 1:34 pm    Post subject: Reply with quote

Loonix wrote:
*Waah* Sad
i dont get it. Sad

I first tried to setup a shoutcast config (shoutcast DNAS + winamp plugin),
-> sputtering audio on PSPradio (0.38.4)

so I set up the Icecast2 server, no problem here.
And set up the Oddcast plugin v3 for Winamp(5.13) with the error that it required BASS 2.0 installed... (the odcast2.0 plugin must have had installed another version) i handled that...
but still -> sputtering sound!
I think i tried alot, (reducing bitrate, using native bitrate, Ogg/Mp3 encoding, trminating all other tasks on my PC...) but still no sucess

is there a secret seting i am missing?

i have a small part of my loggfile, i hope it helps to help me Wink

Code:
13:33:20.223:PSPStream.cpp@75<20>: CPSPStream::SetURI(http://192.168.6.1:8000/stream.ogg) <URL> called
13:33:20.480:ScreenHandler/PlayListScreen.cpp@564<20>: Calling Play. URI set to 'http://192.168.6.1:8000/stream.ogg'
13:33:20.737:PSPSound.cpp@152<20>: Play('http://192.168.6.1:8000/stream.ogg'): m_CurrentState=STOP
13:33:20.997:PSPSound.cpp@343<50>: ThDecode:: Calling Open For 'http://192.168.6.1:8000/stream.ogg'
13:33:21.255:httpget.cpp@266<20>: http_open(http://192.168.6.1:8000/stream.ogg) called.
13:33:21.524:httpget.cpp@371<20>: url2hostport returns: host='192.168.6.1' ip='0x0' port='8000' sptr='/stream.ogg'
13:33:21.782:httpget.cpp@421<20>: Resolving host='192.168.6.1'
13:33:22.040:PSPApp_Network.cpp@48<20>: ResolveHostname: Calling aton.. (host='192.168.6.1')
13:33:22.298:httpget.cpp@428<20>: aton/ntoa succeeded, returned addr='0x106a8c0'
13:33:22.557:httpget.cpp@431<20>: http_connect(): Opening socket...
13:33:22.815:httpget.cpp@434<20>: http_connect(): Aquired socket fd=2130706444...
13:33:23.316:httpget.cpp@441<20>: http_connect(): Calling Setsockopt()
13:33:23.575:httpget.cpp@457<20>: Using port '8000'
13:33:23.839:httpget.cpp@467<20>: http_connect(): Calling Connect... with port='8000', sock=2130706444, addr='0x106a8c0'
13:33:25.101:httpget.cpp@476<20>: http_connect(): Back from Connect...
13:33:25.361:httpget.cpp@505<20>: http_connect(): Sending 'GET /stream.ogg HTTP/1.0
Icy-MetaData: 1
User-Agent: PSPRadio/0.38.04
Host: 192.168.6.1:8000
Accept: audio/mpeg, audio/x-mpegurl, */*

'
13:33:26.089:httpget.cpp@528<20>: http_connect(): Response: HTTP/1.0 200 OK
13:33:26.347:httpget.cpp@539<20>: Good.
13:33:26.608:httpget.cpp@560<20>: http_connect(): Response: Content-Type: audio/mpeg
13:33:26.866:httpget.cpp@580<50>: Content Type set to audio/mpeg
13:33:27.126:httpget.cpp@560<20>: http_connect(): Response: icy-br:256
13:33:27.388:httpget.cpp@560<20>: http_connect(): Response: ice-audio-info: ice-samplerate=44100;ice-bitrate=256;ice-channels=2
13:33:27.891:httpget.cpp@560<20>: http_connect(): Response: icy-br:256
13:33:28.152:httpget.cpp@560<20>: http_connect(): Response: icy-description:This is my server desription
13:33:28.410:httpget.cpp@560<20>: http_connect(): Response: icy-genre:Rock
13:33:28.669:httpget.cpp@560<20>: http_connect(): Response: icy-name:This is my server name
13:33:28.928:httpget.cpp@560<20>: http_connect(): Response: icy-private:1
13:33:29.187:httpget.cpp@560<20>: http_connect(): Response: icy-pub:0
13:33:29.458:httpget.cpp@560<20>: http_connect(): Response: icy-url:http://www.oddsock.org
13:33:29.718:httpget.cpp@560<20>: http_connect(): Response: Server: Icecast 2.3.1
13:33:29.978:httpget.cpp@560<20>: http_connect(): Response: icy-metaint:16000
13:33:30.237:httpget.cpp@568<50>: http_connect(): Metadata Interval received: 16000
13:33:30.497:httpget.cpp@560<20>: http_connect(): Response:
13:33:30.759:PSPStream.cpp@224<20>: Back from http_open(): socket=2130706444
13:33:31.018:PSPSound.cpp@358<50>: ThDecode:: MPEG Stream Opened Successfully.
13:33:31.520:PSPSoundDecoder_MAD.cpp@38<20>: CPSPSoundDecoder_MAD Initialize - Start
13:33:31.781:PSPSoundDecoder_MAD.cpp@59<20>: CPSPSoundDecoder_MAD Initialize - End
13:33:32.049:PSPStream.cpp@381<50>: MetaData='StreamTitle='';'
13:33:32.317:PSPSoundDecoder_MAD.cpp@145<50>: Recoverable frame level error. (Garbage in the stream).
13:33:32.578:PSPSoundDecoder_MAD.cpp@145<50>: Recoverable frame level error. (Garbage in the stream).
EDIT BY RAF: 13:33:42.032:PSPStream.cpp@381<50>: MetaData='(garbage removed to make rss stream valid)'
13:33:42.358:PSPSoundDecoder_MAD.cpp@145<50>: Recoverable frame level error. (Garbage in the stream).

from that point i get more garbage in the stream, then i am disconnected.

any ideas?
(i can listen to 'normal' shoutcast without greater problems)

Thanks alot, and sorry for the humongeous post


Looks like the server is not sending the metadata correctly.. Can you configure it?

Raf.


Last edited by raf on Fri Feb 17, 2006 10:34 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Loonix



Joined: 17 Nov 2005
Posts: 57

PostPosted: Fri Feb 17, 2006 8:37 am    Post subject: Reply with quote

Hmm,
very strange. Yesterday my PC must have ben **cked up.
back then i managed to get a 'stable' stream... only with OGG and at 50Kbps/22050 Hz

well, today i retried and i am slowly increasing the quality of my stream.
PSPRadio doesnt handle quality changes in the stream too well, neighter does my oddcast plugin (i think i may have some issues with that- Winamp often reaches 99%CPU usage)
and managed so far a quite reliable OGG stream of 128Kb/s at 44100 Hz
=)

i will retry wit a new installed winamp later and maybe then this wil be a complete Success story!

Thanks
Loonix
_________________
1.52 PSP 1004
Sucsessfull downgrade to 1.50 =D
Back to top
View user's profile Send private message
raf
Site Admin


Joined: 26 Sep 2005
Posts: 730
Location: NC

PostPosted: Fri Feb 17, 2006 10:39 am    Post subject: Reply with quote

Loonix wrote:
Hmm,
very strange. Yesterday my PC must have ben **cked up.
back then i managed to get a 'stable' stream... only with OGG and at 50Kbps/22050 Hz

well, today i retried and i am slowly increasing the quality of my stream.
PSPRadio doesnt handle quality changes in the stream too well, neighter does my oddcast plugin (i think i may have some issues with that- Winamp often reaches 99%CPU usage)
and managed so far a quite reliable OGG stream of 128Kb/s at 44100 Hz
=)

i will retry wit a new installed winamp later and maybe then this wil be a complete Success story!

Thanks
Loonix


Just to be clear, OGGs don't really use SHOUTcast metadata scheme, so they shouldn't be affected by this problem. This problem should only affect MP3s...

Raf.
Back to top
View user's profile Send private message Visit poster's website
Loonix



Joined: 17 Nov 2005
Posts: 57

PostPosted: Sat Feb 18, 2006 6:38 am    Post subject: Reply with quote

Well,
something is defenitly wrong with my icecast setup =(
and i cant figure out what.
i sorted another error out, where icecast claimed my lame dll was too old, but the newer doesnt work better. (i know thats only for mp3 streams)
each time my stream bandwithd exceds 60 Kb/s it seems the encoding cant keep up. (unlikely with a 3000+ Athlon...)

i installed winamp, odcast and icecast fresh and clean and had no improvements so i will have to live with external shoutcast streams ^^
_________________
1.52 PSP 1004
Sucsessfull downgrade to 1.50 =D
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PSPRadio Forums Forum Index -> Success Stories All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Powered By: SourceForge.net Logo