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 

96k stream stutters when 128k stream does not
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PSPRadio Forums Forum Index -> Firmware 2.0+
View previous topic :: View next topic  
Author Message
Blackwolf



Joined: 15 Feb 2006
Posts: 8
Location: Georgia

PostPosted: Wed Feb 15, 2006 12:15 am    Post subject: 96k stream stutters when 128k stream does not Reply with quote

Hey guys, love the program, thanks for all the hard work on it.

I'm running 1.37final on 2.0 firmware with the 0.9 eboot loader. Yes, it works, no I'm not having troubles invoking it.

It even runs fine on a 128k 44100Hz Shoutcast stream. I've run it for hours without a problem, hooked up to my entertainment center. It's great.

However, the stream I REALLY want to play on it is a 96k 44100Hz Shoutcast stream. This will work fine - for about 5 minutes. Then, it drops, stutters, and has Parsing errors. I have set the CPU to 333, turned off all logging, and have never run the 3D GUI, to make sure I wasn't overstraining anything. I do NOT have this problem running this stream from Winamp on my PC. And I don't think it's a wifi problem, because the more intensive 128k stream runs flawlessly for hours, even directly after having lots of drops with the 96k stream.

Is this an issue with 2.0? I don't want to downgrade (I like the browser) but I also like the idea of having my PSP act as a Shoutcast client in my entertainment center, where I have no computers nearby.

Once again, thanks for a wonderful program. Any insight you can provide as to what may be causing it on my end would be great. Thanks.
Back to top
View user's profile Send private message
HalfastII



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

PostPosted: Wed Feb 15, 2006 1:33 am    Post subject: Reply with quote

Can you post the 96k stream so we can look at it.. Not sure if it is still a problem but at one time some streams on a newer server type that work well with winamp fail on the PSPradio

Posting the stream will help us define the problem..
_________________
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
Blackwolf



Joined: 15 Feb 2006
Posts: 8
Location: Georgia

PostPosted: Wed Feb 15, 2006 4:02 am    Post subject: Reply with quote

Oops, yes, sorry for not including it.

Right now it's our alpha stream of All Games Radio. (Hi, TigerClaw!) http://allgamesradio.serverroom.us:7980/

I help run it and essentially want to use PSPRadio to have the stream running from my entertainment center, which is why I'm just now seeing this issue when I didn't before.

Thanks for looking into it. I really appreciate it.
Back to top
View user's profile Send private message
raf
Site Admin


Joined: 26 Sep 2005
Posts: 730
Location: NC

PostPosted: Wed Feb 15, 2006 10:33 am    Post subject: Reply with quote

Blackwolf wrote:
Oops, yes, sorry for not including it.

Right now it's our alpha stream of All Games Radio. (Hi, TigerClaw!) http://allgamesradio.serverroom.us:7980/

I help run it and essentially want to use PSPRadio to have the stream running from my entertainment center, which is why I'm just now seeing this issue when I didn't before.

Thanks for looking into it. I really appreciate it.



Could be something to do with the metadata.. I can't test it here; but do you ever get parse errors where the title/etc would be?
Anything useful in the logs?

raf.
Back to top
View user's profile Send private message Visit poster's website
Blackwolf



Joined: 15 Feb 2006
Posts: 8
Location: Georgia

PostPosted: Wed Feb 15, 2006 11:46 am    Post subject: Reply with quote

Yes, I did get Parse Errors. Usually that's when the skipping would start. I'd also see the buffer sometimes jump from 100% to 90% and then back to 100%. However, when I stopped and restarted the stream, it would then work fine for another 5 minutes or so.

I am not home right now so I can't pull the logs off my PSP. I'll do that tonight after work and post them. Sorry for not including them earlier.
Back to top
View user's profile Send private message
Blackwolf



Joined: 15 Feb 2006
Posts: 8
Location: Georgia

PostPosted: Thu Feb 16, 2006 12:44 am    Post subject: Reply with quote

It looks like it has to do with the metadata, as you theorized.

I turned on verbose logging to catch everything. Here's the part you're probably most interested in:

Code:
23:35:32.567:httpget.cpp@528<20>: http_connect(): Response: ICY 200 OK
23:35:32.581:httpget.cpp@539<20>: Good.
23:35:32.718:httpget.cpp@560<20>: http_connect(): Response: icy-notice1:<BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR>
23:35:32.857:httpget.cpp@560<20>: http_connect(): Response: icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.5<BR>
23:35:32.868:httpget.cpp@560<20>: http_connect(): Response: icy-name:All Games Radio
23:35:33.001:httpget.cpp@560<20>: http_connect(): Response: icy-genre:Video Games
23:35:33.140:httpget.cpp@560<20>: http_connect(): Response: icy-url:http://www.allgames.com
23:35:33.151:httpget.cpp@560<20>: http_connect(): Response: content-type:audio/mpeg
23:35:33.283:httpget.cpp@576<10>: Parsing content:audio/mpeg
23:35:33.434:httpget.cpp@580<50>: Content Type set to audio/mpeg
23:35:33.445:httpget.cpp@560<20>: http_connect(): Response: icy-pub:0
23:35:33.577:httpget.cpp@560<20>: http_connect(): Response: icy-metaint:32768
23:35:33.714:httpget.cpp@568<50>: http_connect(): Metadata Interval received: 32768
23:35:33.725:httpget.cpp@560<20>: http_connect(): Response: icy-br:96
23:35:33.856:httpget.cpp@560<20>: http_connect(): Response:
23:35:33.992:PSPStream.cpp@216<20>: Back from http_open(): socket=2130706452
23:35:34.002:PSPSound.cpp@337<50>: ThDecode:: MPEG Stream Opened Successfully.
23:35:34.133:PSPRadio.cpp@459<10>: ProcessEvents: Unhandled event: MID=0x80 SID=0x11000000
23:35:34.270:PSPSoundDecoder_MAD.cpp@34<20>: CPSPSoundDecoder_MAD Initialize - Start
23:35:34.280:PSPSoundDecoder_MAD.cpp@53<20>: CPSPSoundDecoder_MAD Initialize - End
23:35:34.411:PSPRadio.cpp@383<10>: MID_THDECODE_DECODING/MID_SOUND_STARTED(0x40) received, calling OnPlayStateChange(PLAY)
23:35:34.548:PSPSoundDecoder_MAD.cpp@139<50>: Recoverable frame level error. (Garbage in the stream).
23:35:34.558:ScreenHandler/PlayListScreen.cpp@346<10>: OnPlayStateChange(0) called. (this=0x8b98930)
23:35:34.690:PSPSoundDecoder_MAD.cpp@139<50>: Recoverable frame level error. (Garbage in the stream).
23:35:34.826:ScreenHandler/PlayListScreen.cpp@365<10>: OnPlayStateChange() Right before the switch
23:35:34.835:PSPSoundDecoder_MAD.cpp@139<50>: Recoverable frame level error. (Garbage in the stream).
23:35:34.966:ScreenHandler/PlayListScreen.cpp@369<10>: OnPlayStateChange() Case PLAYSTATE_PLAY
23:35:35.109:ScreenHandler/PlayListScreen.cpp@380<10>: OnPlayStateChange() Case PLAYSTATE_PLAY Done.
23:35:36.893:PSPStream.cpp@363<50>: MetaData='StreamTitle='Metal Gear Ac!d 2 - PSP - Hiroshi Tanabe, Akihiro Honda - Opening Title -Remix-';StreamUrl='http://www.allgames.com';'
23:36:53.462:PSPStream.cpp@363<50>: MetaData='StreamTitle='Phoenix Wright: Ace Attorney - DS - Akemi Kimura - Recollection ~ Grade School Trial';StreamUrl='http://www.allgames.com';'
23:37:53.613:PSPStream.cpp@363<50>: MetaData='StreamTitle='King's Quest V - PC - Mark Seibert - King's Quest V Theme';StreamUrl='http://www.allgames.com';'
23:38:56.902:PSPSoundDecoder_MAD.cpp@139<50>: Recoverable frame level error. (Garbage in the stream).
[b]EDIT:[/b] 23:38:56.911:PSPStream.cpp@363<50>: MetaData='(3 lines of garbage edited out as were making the rss feed invalid)'
23:38:57.052:PSPSoundDecoder_MAD.cpp@139<50>: Recoverable frame level error. (Garbage in the stream).
23:38:57.064:PSPSoundDecoder_MAD.cpp@139<50>: Recoverable frame level error. (Garbage in the stream).


And then that last error gets repeated about 4 times a second until I shut it off.

So it looks like it might be something coming from our server. Since I'm also in charge of our server, is there any place you can point me to where I can start poking around and figuring out what's wrong? This doesn't happen on my PC, however my PC is wired - the only things that use my wifi are my PSP and DS, so I haven't tried that yet.

I'll continue poking around on this end. Any advice on where to look is appreciated. Thanks for taking the time out to look at it, though!
Back to top
View user's profile Send private message
TigerClaw



Joined: 25 Dec 2005
Posts: 67

PostPosted: Thu Feb 16, 2006 1:13 am    Post subject: Reply with quote

Have you tried the new Beta versions that came out, The newest one is PSPRadio 0.38.04 and you can get that here. Don't know if it will fix your problem, I will test that stream on my PSP since I'm using a beta version of the program to see if it skips or something.
Back to top
View user's profile Send private message
TigerClaw



Joined: 25 Dec 2005
Posts: 67

PostPosted: Thu Feb 16, 2006 1:27 am    Post subject: Reply with quote

Ok, Heres an update, I loaded that stream on my PSP and all seems fine at the moment, Though keep in mind I'm using PSPRadio 0.38.04, Can you describe the conditions you have?, Is your wifi signal at 100% strength? Being that my wireless router is in my room and my PSP right in front of it, My stream apears to be working fine here.
Back to top
View user's profile Send private message
Blackwolf



Joined: 15 Feb 2006
Posts: 8
Location: Georgia

PostPosted: Thu Feb 16, 2006 1:35 am    Post subject: Reply with quote

Yeah, the skipping happens when my PSP is literally about one foot away from my access point.

I'll try the beta and get back to y'all.
Back to top
View user's profile Send private message
TigerClaw



Joined: 25 Dec 2005
Posts: 67

PostPosted: Thu Feb 16, 2006 1:42 am    Post subject: Reply with quote

Be sure to get releasing 0.38.04wip instead of the one you see on the link I gave you, You can download this updated version right here.
Back to top
View user's profile Send private message
Blackwolf



Joined: 15 Feb 2006
Posts: 8
Location: Georgia

PostPosted: Thu Feb 16, 2006 1:57 am    Post subject: Reply with quote

Just tried it with 0.38.04wip, and the same symptoms occur after about 5 and a half minutes. Parse errors, skipping, etc. Usually starts with a single buffer and then it all just goes to hell from there.

It still really bugs me that it happens on our 96k stream but on a 128k stream (I use GamingFM) it runs flawlessly for hours.

We're using SAM Broadcaster 3 to stream to the Shoutcast dedicated server, BTW - just in case there's any type of setting we have wrong there that I can tweak...
Back to top
View user's profile Send private message
TigerClaw



Joined: 25 Dec 2005
Posts: 67

PostPosted: Thu Feb 16, 2006 2:05 am    Post subject: Reply with quote

I never had problems with 96k streams on my PSP before, Most of the streams on my PSP are from DI.FM and they all run at 96k.
Back to top
View user's profile Send private message
HalfastII



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

PostPosted: Thu Feb 16, 2006 2:18 am    Post subject: Reply with quote

It is not the version of PSPRadio that is causing the errors.

It may be in the way PSPradio can handel or recover from trashed frames.. or from data it does not understand

There are a few diffrent engines for streaming out there so inject stream data the is not handled well by some players winamp not being one of them..

If you have a way to turn off your meta data being sent with the stream you may find it does not trash.

That is only the first step in trouble shooting from your side..

Im sure Raf will have a few other questions after he looks at the log file..

I get the same kind of malformed data when i point the PSPradio to a mp3 file stored on my web server (not streamed) it has a problem decoding the bad packes or what it percives as bad packets.. (data it does not understand)
_________________
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
Blackwolf



Joined: 15 Feb 2006
Posts: 8
Location: Georgia

PostPosted: Thu Feb 16, 2006 2:55 am    Post subject: Reply with quote

Well one thing that seems like it's working is that I changed the channel that my WAP was on from 6 to 11. I wonder if maybe there was some interference that was causing the bad packets to get misinterpreted by PSPRadio.

So far my stream's been almost flawless for about 30 minutes straight - yeah, there's been some buffering, but none of the Parse Errors I was getting before. I bet the buffering is because of the guy who actually hosts the computer that we're broadcasting from torrenting something. :>

EDIT: Nope, started doing it again after about 40 minutes...Beats the hell out of 5, but now it's not as easy to recreate.
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:42 pm    Post subject: Reply with quote

Like Halfast said, this is a known issue with PSPRadio and SHOUTcast metadata.
If the stream has metadata, and there is a glitch on the communication, then this will happen.
There is no fix at the moment, other than disabling metadata..
Maybe I'll come up with some work-around in the future..

Sorry,

Raf.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    PSPRadio Forums Forum Index -> Firmware 2.0+ All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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