Using the Java port of Theora

I am fiddling around with the Java port of Theora and haven’t had any luck with documentation or examples using it (other than the example code for the cortado player and the performance tests).

At the moment, I have some code written, but it doesn’t actually decode anything…

Has anybody found other examples or some form of documentation?

Hi,

here’s some links:

http://fmj-sf.net/
http://www.jcraft.com/jorbis

Thanks for the links, but I’m looking for a pure java implementation of theora decoding, and the only one with that was VorbisJava which only supports the metadata.

I can’t recall any info about pure Java solution…

the links you probably aware of:

http://www.xuggle.com/downloads

I’m just in the middle of writing a pure java decode as we speak!!

The cortado decoder that is written by the xiph team is pure java, it uses the jcraft ogg vorbis decoder for both the ogg decoder decoding and the vorbis container decoding.

The code is quite confusing to use, it really is a complete port of the c version and written is a very c style (very functionally). If you have any specific questions either reply here or send me a pm as I am using this implementation to help test that what I am doing is right so I have used it to debug the theroa ogg container code I have (I have already written a working ogg and vorbis decoder)

Wait!

I’ve managed to solve all this and got video working in pure Java with the Theora/Vorbis codecs (though I actually render it with OpenGL). I will attempt to dig up some code and some bright young thing can figure out how to put it on Github.

Cas :slight_smile: