Stream buffering
Brought to you by:
sobukus
I'm using mpg123 to play internet radio streams. However, in contrast to VLC, with mpg123 the radio streams begin to stutter (I already tried -b 2048, 4196, etc). I think this might be solved if mpg123 would (instead of creating an audio output buffer) would buffer the input stream as to resolve the hickups. So I'd like to request this feature: to have the same behaviour with radio/audio streams (from the internet, using http) as VLC.
Can you provide an example URL of a stream that stutters much? I am aware of this possibly depending on you location / internet connection, but there might be something odd witht the radio. I don't see how input buffer would differ from output buffer except for the neeed buffer size.
Also, you could try to fake the effect of an internal input buffer by fetching the stream via 'wget -O -' and giving it to mpg123 via a pipe (that pipe could contain, additionally to the kernel pipe buffer, an explicit buffering step using tools like 'bfr').
The URL I was listening to was http://shoutcast.omroep.nl:8102/ Normally it works pretty well, however, every year around 31/12, it begins to stutter with mpg123, but not with vlc.
It may also be a problem with the server. http://www.onemorething.nl/community/topic/hakkelend-geluid-bij-radio2-shoutcast-in-itunes