Some problems around OggInputStream

Started by fazekaim, July 28, 2006, 14:12:20

Previous topic - Next topic

fazekaim

Hello,

I have some problems using OggInputStream.
In general it is working very well, but there are some ogg files that can't extract. (I made it with the latest OggdropXP. Quality settings for approx 256Kbit)

The jorbis sample player playes it, the bsplayer plays it, the jlgui plays it, but the OggInputStream sample main method ends in neverending loop.

members.chello.hu/racz.arpad/meadowland_neutral_settlement_small.ogg

Has anybody met the problem before?

Thanks.

tomb

Found a bug and I've uploaded a fix on http://home.halden.net/tombr/ogg/ogg.html.

It plays your file now. I only hope it will not create bugs on other files.

The OggInputStream is a rewrite of the com.jcraft.jorbis.DecodeExample class, that is included with the jorbis download. I have no understanding of how the jorbis decoder works. I only changed it so that the data can be pulled out instead of pushed. It's a bit tricky to change the logic.

fazekaim