Archive Forums (lite version).  Gaming, Game Development, and Anime community!


PDA

View Full Version : Buffer Errors Solution


Sim9
02-22-2004, 05:55 PM
Guest suggests the following remedy to get rid of buffer errors:

to get rid of buffer errors, set the "set NSV tag ____ bytes" to 2048 while setting all the stream buffer sizes to 2000ms that should help just keep tweaking these settings. good luck.

Google
--

Zips
02-23-2004, 04:18 PM
Step by step... On Winamp v5, where does one change these settings?

Explanation with the aide of images showing where are prefered.

Sim9
02-24-2004, 01:00 AM
I can't make images right now, but choose preferences (CTRL+P), plugins, Input Plugins, Nullsoft NSV decoder, Configure.

I'll see about taking massive screenshots soon :)

Walrii
02-24-2004, 04:46 PM
I thought I'd share a few definitions:

Buffer - This is basically an area in memory where data (ie video / audio) is stored.

Prebuffer - Before the stream starts playing, Winamp will fill up its prebuffer. Increasing this will cause the stream to not play immediately (its loading into the prebuffer). It can be good to increase this because by forcing Winamp to load more of the stream into memory, it will take longer for it to run out of video / audio data (ie buffer underrun). Default is 1000 milliseconds (ie 1 second).

Rebuffer on underrun - Whenever your computer is playing more audio / video than the stream / your connection can provide, it will eventually run out of data to play, and so, must stop and load some more video / audio. Increasing this will force Winamp to load more data when it runs out. By increasing this, you give winamp more data to work with when it runs out, so that hopefully it won't run out of video / audio quite as soon. The disadvantage is that when Winamp DOES run out, you'll have to wait longer for the buffer to refill. Default is 1000 ms.

Buffer - The main area that Winamp stores its video / audio. Basically, I see no reason why this shouldn't be higher than it normally is (1000ms). By increasing this, you use up more memory, which isn't normally a problem. Also, by making this larger you give winamp more memory to work with, and this can help reduce lag. For instance, say you are viewing a stream, the stream isn't delivered at a constant rate. One moment you're getting say 300 kbps and another 100 kbps. If the stream is being delivered slower than the stream is being played, Winamp will run out of data to play. If the stream is being delivered too quickly, Winamp will first fill up its buffers, and once the buffers are full, I think it will stop requesting data until the buffers run out / the data is actually needed again. By increasing the buffer, you give Winamp the option of storing this excess data, so that later, when the stream is slow, you'll be able to continue playing, until hopefully the stream picks back up. (Default is 1000 ms)

My recommendations: I would increase prebuffer. If possible I would not increase the buffer on underrun setting, as when it does run out of data to play, it'll pause for a longer time as it reloads up the stream. Increase the buffer size to as high / long as you wish or can handle. Fiddle with the settings, and don't forget to change the "Stream" buffer settings and NOT the "Local File" buffer settings.

If anyone has any other tips / corrections please lemme know. :)

Sim9
02-25-2004, 01:01 AM
Excellent guide walrii :)

Any indications on what "nsv tag" is? :)

Walrii
02-25-2004, 08:45 PM
!/erm...
The only option I saw was "Pad NSV tags with ___ bytes" (and you'll type in a number. I dont know what that means :)

Here is my random out of the blue guess:
The client requests data packets from the server (EATV) and the server sends a header out (saying that its a Nullsoft Video stream / packet) and it then sends the actual data. Maybe it means, that it'll send 1024 bytes of data before the next header (or whatever # of bytes you type in). It sort of makes sense, though I don't know why that would really help reduce lag...

Sim, any insights?

Sim9
02-26-2004, 01:20 AM
hmm... it could

My only other guess is video keyframes. Though I'd think those are already encoded in the .nsv files....

Guest
02-26-2004, 05:34 PM
Still I tweaked the buffers but for some reason VP6 servers on 500 kbps quality run better... I don't want to seem to be just an annoying random leecher whining but just wanted to help make it a better stream...

xFyREBALLx
02-26-2004, 11:21 PM
NSV tag is the amount of bytes the tag uses to store titles and information, similar to the id v1 and idv2 tags you have for mp3s, having this higher prolly wont effect much save for use a bit more space holding the names of audio and videofiles.

Dictonary:

TAG: Stores information of a file including but not limited to Size,Location<title,artist,rrack #,location or encoder.

NSV: the codec used to push vids on winamp 5.

Sim9
02-27-2004, 12:37 AM
Ah, didn't know that about the tags; thanks :)

Walrii
02-28-2004, 09:17 AM
Well of course 500kbps will look better, its sending (close enough to) twice as much stream data. :)

Not all users however, are able to stream that very well (not that everyone here can even stream 200kbps...).

Guest
04-08-2004, 10:36 PM
thanks for the advice. before i changed it it was buffering every 10 seconds.. now it hardly ever buffers..

thanks again!!

Christopher
04-10-2004, 09:14 PM
i tried all that stuff, but no worky, i have had problems with eatv channle last two days, so um whats wrong, all the other channles work fine so its not me. :unsure:

Sim9
04-11-2004, 12:27 AM
We've been having some problems with lag. It comes and goes. Donate. :P

DangerousDan
04-11-2004, 01:16 AM
Where?? I already asked!!

jackbassv
04-11-2004, 06:26 AM
Love the channel :lol:
Love Anime :YES:
Hate the lag i've had in the last two days :angry:
Why not get someone like Amazon to sponsor you?
I've bought my last two series after watching them on internet TV, and I'm about to add Saikano to that list ;)
Living in the UK is a pain, as we get little in the way of Anime or Manga, so I import most of mine via the internet.

Christopher
04-11-2004, 08:30 PM
yep money solves all your problems, well i wont have any cash to slice from my income till college so umm a few months i can donate, but for now im broke

Sim9
04-11-2004, 11:58 PM
Ok, donation system is coming. It should be up soonish (a few weeks). It will have all sorts of neat features for those who donate :D

Also, welcome to the forums jackbassv :D

Christopher
04-12-2004, 11:37 PM
ok, boss, just make sure you use the money to help your followers, not some kinda crazy thing ie horse races, womans, or fancy cars :lol:

Sim9
04-13-2004, 12:35 AM
:lol: after server bills, I don't think there will be much left over :P

Christopher
04-13-2004, 01:03 AM
ya, if there is any left over treat yourself to a good ketchup packet :lol:

KawaiiDraogn
05-14-2004, 05:52 PM
I cant get on to the server. it just sits with the buffer at 0%. any ideas?

jackbassv
05-14-2004, 06:55 PM
It gernerally kicks into life after a minute or so. It's still annoying though :(
What's happening sim? Summat to do with the relays?

Sim9
05-15-2004, 02:59 AM
No idea

I think it's related to an encoding problem with full metal alchemist. That's coming down soon, so we'll find out whether my hunch is right or not...

Sim9
03-24-2005, 12:06 PM
Albrtd3: I have split this into a new thread since it is not related to the old one. In future, feel free to make new threads if your have new questions :)

Albrtd3
03-24-2005, 05:29 PM
ok... srry.

Sim9
03-25-2005, 01:21 AM
Not a problem! :)

knight of light
04-20-2005, 03:15 AM
im dence so i dont uderstand how to fix the buffer error soz:blush:

Albrtd3
04-20-2005, 07:08 AM
hey I AM THE "THREAD REVIVER" dont steal my job. and go back to the first page and say what u dont understand and i shall hel;p u

Sim9
04-20-2005, 02:40 PM
Infinite buffering is probably a sign that you are waiting to connect to the server. If you donate (http://www.editingarchive.com/donate/), you get instant access :smile:

Welcome to the community knight! :smile:

Albrtd3
04-21-2005, 07:13 AM
when do i get my instant access?

Sim9
04-21-2005, 02:29 PM
Once I process your registration. I usually do those on Sundays :)