Hello Guest

Some problems around OggInputStream

  • 2 Replies
  • 10163 Views
Some problems around OggInputStream
« on: July 28, 2006, 14:12:20 »
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.

*

Offline tomb

  • ***
  • 148
Some problems around OggInputStream
« Reply #1 on: July 30, 2006, 00:32:19 »
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.

Some problems around OggInputStream
« Reply #2 on: July 30, 2006, 05:40:31 »
It works, thanks a lot!