[Vorbis-dev] Java and ogg/vorbis

Charles radien at radien.plus.com
Thu Apr 7 19:31:44 PDT 2005


Tor-Einar Jarnbjo wrote:

> Charles wrote:
>
>> Also I want to encode short videos in Xvid and then encode the audio 
>> in vorbis. Then I want to stream this over the Internet using a Java 
>> applet. I will need to implement the vorbis and Xvid decoders in Java 
>> as part of my applet,  but where can ogg help me in this little ( or 
>> is the word confusing) project? 
>
>
> There are a few Java decoders for Vorbis. Conrad already mentioned 
> JOrbis, which is a more or less 1:1 rewrite of libvorbis and there is 
> my implementation (mostly written from scratch) with a more OO-ish API 
> available from http://www.j-ogg.de. I started implementing a Theora 
> decoder as well, but to be honest, Java and multimedia doesn't match 
> very well and seeing the lack of interest for my Vorbis decoder was 
> one of the reasons why I decided to not spend more time on the Theora 
> decoder.
>
> AFAIK, the best quality video codec with an available Java decoder is 
> On2's VP6 (Theora is based on VP3) and there is a working applet 
> directly on http://www.on2.com. Unfortunately, the sound support in 
> On2's applet is pretty mediocre, but I've already thought about trying 
> to integrate my Vorbis decoder, making it possible to stream VP6 video 
> and Vorbis audio. Available CPU power is however still a problem, as 
> the Java decoders are quite a lot slower than the native implementations.
>
> Tor
>
Tor

Your Applet rocks man, I can't believe there has been little use of it. 
I would love to use it. I am going to go through your J-ogg and the 
Jorbis APIs and see how I can use it. I wanted to use Xvid because I can 
use mencoder to encode in xvid format but not to theora.  Any 
suggestions on what to use will be welcomed.

Also mencoder doesn't seem to be able to encode audio with the vorbis 
codec. All I care about is that what I use is free, easy for me to 
integrate with my website and encoding is possible.

Thanks a lot everyone.

Charles


More information about the Vorbis-dev mailing list