[Icecast] Metadata and bad player behaviour : cut sound for short time when receiving metadata (kh versions of ices/icecast)

Karl Heyes karl at xiph.org
Sun Dec 12 23:23:13 UTC 2004

On Sun, 2004-12-12 at 21:57, Iceuse - Kris wrote:
> Hello,
> I was trying to add metadata to my OGG stream (ices 2,0-kh59, icecast 
> 2.0-kh51).
> It works... but the players are doing a small sound cut at metadata 
> reception :
> - VLC (maybe 1/3sec cut)
> - JORBIS (java. maybe 1/10sec, because I can have set higher priority to 
> sound processing and not to comment handling)
> (player plateform: Mac OS X 1.3.6)
> With VLC... I can say comments are unusable, it's too bad... Maybe if 
> the comment change occurs between songs it not so noticeable, but that's 
> not very good...
> I didn't tried other players.

I'm having weird effects with sound in vlc 0.8.1, it keeps speeding up
and slowing down. Does ogg123 have a similar issue.  A possible cause is
that when new headers are received the player may very well reset the
audio interface to the settings in the new header and this could cause
the cut.

For a test, try downloading the stream to file then play the file back.

I haven't used JORBIS myself

> Before changing to latest icecast, I would like to know if there is a 
> similar trouble with it (I don't say it's an icecast issue, but maybe 
> with newer ogg headers are handled correctly by players. Anyway, VLC is 
> buggy regarding comments).

some players are known to have problems with chained bitstreams, my vlc
seems ok with the chaining but screws up on sound output.

There hasn't been much change in the way ogg is handled in the later
releases of icecast-kh, the headers are still handled the same way.


More information about the Icecast mailing list