Jump to content

Issues with streaming to local host


Recommended Posts

Also, Keep in mind that if your streaming locally to a server, you have allready verified that everything is static, no Router resets (dont forget to check the router logs) and modem resets (Im guessing that the modem is connected to the router unless you designated a 127.x.x.x address)
KNSJ.org / 89.1 FM San Diego
Link to comment
Share on other sites

  • Replies 56
  • Created
  • Last Reply
It is a Win XP OS. The stream is http://localhost:8000 which would resolve to the 127.0.0.1 address. If you are talking about the verbosity of the logs, I think there is just one global setting in V1, possibly more in V2. I am not sure if Winamp has error logs, I have had a look around with no joy. I think it is a client side issue, which is why I wish I could get a better look at the Winamp errors. The Direct Sound output has the least amount of stutter.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

Ok. So you are streaming locally. I kinda figured it was over a WAN given the streaming bit. Dropping the buffer would definitely be a good try.

 

Stupid question: Have you tried a different client? VLC, Foobar, etc.. Just a thought. I haven't touched Winamp in about a year or two but if memory serves the streaming code was practically the same for many years with not much changes. Unless there is a very specific reason Winamp is needed? Mention those reasons, might be able to find a workaround.

 

Just more thoughts to throw at the wall here. :)

 

RE: logs; VLC would be extremely handy for this client side as it has a nice built in logging window. Regardless of the necessity of Winamp you could run them side by side with VLC just for testing and leave Winamp feeding the transmitter.

Link to comment
Share on other sites

Yes. I have installed it and am trialling the VLC option. I will have to familiarise myself with the interface and logging options. I was using the Winamp Plug-in for Stereo Tool, but I have a stand alone version of it as well. I guess the biggest reason for using Winamp is that it has been my core audio player for 15 years now.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

*NOPE* That was a horrible disaster. The VLC was buffering within a few seconds, no matter how much pre-buffer I gave it. Lots of "main debug: audio output is too slow" errors. I can live with the occasional audio drop out every hour or so with Winamp. I haven't had much luck with VLC in the past honestly.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

Sorry. Thanks for your efforts though. I think I am at the mercy of the technology that a non-profit station has to contend with, that in turn is prone to such issues. My experience in troubleshooting the issue has given me the option to making the problem as infrequent enough as possible.

 

I appreciate the suggestions and advice guys. :thumbup:

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

For what it's worth, I am going to use your logic Brutish and turn the output buffer way down, just as I did the input buffer.

 

Thanks again.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

Hmmm.... Logic says, something is running that is congesting traffic, or the processing is getting eaten up somehow on the client side.

 

Humor me and see if you have any processes running for the winamp computer. Virus scans, defrags, ect.

 

also take a look for any malware. I know you probably have done this, but everythings a variable at this point.

KNSJ.org / 89.1 FM San Diego
Link to comment
Share on other sites

Another thing to also check along those lines is the 'streaming' machine on the other end. I've had it happen before where if the CPU is getting hammered for whatever reason or somehow causing the audio stream from that end to under-run, it would clearly act like buffering at the client end. This with the server being on a good machine with minimal cpu and good, clean bandwidth.
Link to comment
Share on other sites

If its getting choked on the client though, something should show up in the router logs. I think its the machine running it as well, rather its malware, or some $(#*ed up microsoft autoscript for update checks/defrags/hard drive backups/ but because its happening all the time? malware. Certain malware has been known to screw with winamp.
KNSJ.org / 89.1 FM San Diego
Link to comment
Share on other sites

Personally, I don't think that the technology was ever designed to do what I am doing with it. It is streaming from a local machine from SC to a Winamp instance on the same machine. Their default settings were designed for streaming over a LAN or WAN to clients. I think that Brutish's thinking of eliminating the buffer, that is actually designed for WAN & LAN performance and not the local machine, on the input & output plug-ins would make sense. So that is my next plan of attack.

 

Yes, the AV solution is configured with exceptions in all of the locations that were related to this problem. Their are no processes running from logon script nor any from malware or unexpected services.

 

Incidentally, I have noticed that tweaking the output buffer to its lowest settings has actually improved the issue a fair bit.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

My thinking on eliminating the buffer is this:

 

If your streaming locally, You shouldn't have the interference of anything to delay and need a buffer.

 

The idea that your running winamp on the same machine changes things a little bit. I cant remember what address you said you had winamp tuned into, BUT.

 

If its a "listen" address off of selecting the DNAS, your not pulling the audio off that machine. Your actually looping your stream out the port (8000 prob) and then it goes through the router, and back to connect to port 8001 on the same machine.

 

I never found out if you checked your router logs.

 

I mean, there is a few variables to try. like changing ports: I cant remember if SC lets you seg listen ports from connection ports by a few numbers.

 

but the way you have it, your router has to "loop back" unless your player has a specific address arguement to listen to localhost. I could see this causing problems.

KNSJ.org / 89.1 FM San Diego
Link to comment
Share on other sites

Found a Winamp OpenGL plug in that allows for direct hardware output to the sound card and bypasses the MS Sound Mapper and that the other default plug-ins didn't seem to have any hardware acceleration supported.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

It was working fine, but the stream stops at 68:40 each time. So back to playing with the direct sound outputs again. =(

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

  • 2 weeks later...
Funny enough, if I bypass the local SC server and connect directly to our stream host from the FM transmitter, I am not getting the buffering! Now I am really confused.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

It is actually an issue between the input encoder and the output to the sound card in Winamp. I have gotten the input decoder issue sorted and it is no longer buffering from the SC server. Now working on the output skipping after a period of time.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

I actually have two. One is the on-board card, the other is a USB card on the transmitter. I am using that one now since it supports kernel streaming, but the kernel stream output crashes Winamp so giving the WaveOut a go. The DirectSound had the same results, even after I have updated the DirectX and ran the DxDiag tests with no issues. All with various tweaks of the buffers. Still testing.

 

The input buffer was a tricky one, but removing all of the streaming pre-buffer and then setting the underrun buffer to about a 1/3 and then putting a huge buffer on the skip protection eliminated all of the input buffering and skipping.

Reverend Aquaman | Station Manager | andHow.FM

Where it's *ALL* about the music!

A world-class, always eclectic, commercial-free, alternative, modern, retro, indie rock radio station.

Jamming the free world, one person at a time since 1998. Got Indie?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...