Ben Cohee
2007-Aug-14 15:36 UTC
[Vorbis-dev] Java Vorbis Encoder - vorbis-java-1.0.0-beta release
Beta release of a limited* native Java Vorbis encoder is now available on the Xiph website. This limited version of the encoder has been ported to Java based on libogg-1.1.3, libvorbis-1.1.2 and a very infant port of libshout-2.2.2 for streaming. *The encoder itself is currently limited to 44100 hz, 2 channel input, and can only encode at Variable Bit Rate.* The release package with binary and source files is available for download at http://downloads.xiph.org/releases/vorbis-java/ The working subversion source code directory is http://svn.xiph.org/trunk/vorbis-java/ This release is functional on the few platforms I had available for testing (GNU/Linux, Darwin/MacOSX and Win32), but is still very much a work in progress. Java Documentation and more example tools will be forth coming, but for those interested in running the command line encoding example it can be executed from the /bin directory of the release package as: java -cp VorbisEncoder <input file.wav> <output file.ogg> Note as can be seen from the examples/VorbisEncoder.java source file, it is much the same as the encoder_example.c. I also have put a more advanced applet example with streaming client functionality at http://www.bencohee.com This applet does have some bugs in it not related to the vorbis-java encoder, so don't attempt to record your next top 40 hit with it. As with the Vorbis libraries, the vorbis-java port is open source available under a BSD-style license. Enjoy =D Ben Cohee http://www.bencohee.com