[vorbis] Seeking in a saved stream; or,Why isn't that sucker valid?

Stephen Commiskey scommiskey at pharmacology.umsmed.edu
Mon Feb 11 13:20:50 PST 2002



>> Running ogginfo on the stream data gives:
>> stream_integrity=fail

>This line in the ogginfo output concerns me.  It means that there are actually
>damaged Ogg packets in the stream.  How are you saving this stream to disk?

This particular one was obtained with wget on OpenBSD.  I've observed the same problem with files saved from Winamp.

>I think there is a problem here, but not with seeking, exactly.  If the file
>is saved on disk, then it should be seekable.  It is possible that vorbisfile
>is not acting correctly when given damaged streams of the sort you have.

That seems to be the problem, rather than libvorbis - it plays without problems, though it doesn't pass ogginfo.  I had assumed that there was a problem with the first and last bits of data that was preventing vorbisfile from properly parsing the file.

Can you save a live stream to disk and have it perform properly?  I've used http://ogg.bbc.co.uk:8001/radio1_high.ogg and http://ogg.bbc.co.uk:8001/radio1_low.ogg ; you might try those first.

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list