Vlc stops on incoming streams

12.1 64bit KDE. I think the problem is my ISP which does not deliver a steady stream.

When I play

vlc -vvv http://stream-1.ssatr.ch:80/rsj/mp3

or any other stream, it works for a few minutes but then it stops and the error is

[0xb6e100] main audio output debug: audio output is starving (23226), playing silence
[0xb6e100] main audio output debug: audio output is starving (23245), playing silence
[0xb6e100] alsa audio output debug: recovered from buffer underrun
[0xacb560] access_http access debug: New Title=Ann Hampton Callaway feat. Sherrie Maricle And The Diva Orchestra - The Glory of Love
[0xb6e100] main audio output debug: audio output is starving (23222), playing silence
[0xb6e100] main audio output debug: audio output is starving (23224), playing silence

followed later by

[0xb6e100] main audio output warning: output date isn't PTS date, requesting resampling (153585)                                                                                    
[0xb6e100] main audio output warning: audio drift is too big (259236), dropping buffer
[0xb6e100] main audio output warning: audio drift is too big (233113), dropping buffer

I thought that by adding “–file-caching=20000” there would be sufficient buffering to avoid the problem, but I was wrong. Does anyone have any suggestions?

Thanks.

This seems to be a vlc problem. When I switched to mplayer I had no dropouts. Strange, because the reason I have been using vlc is that two years ago mplayer was giving me problems. Well I have a solution, but it’s not particularly satisfying. I like to understand why things go wrong.