[Vorbis-dev] encoding wave files into ogg vorbis?

David M. Cotter me at davecotter.com
Sat Dec 2 11:11:13 PST 2006


go here:
http://downloads.xiph.org/releases/vorbis/

and download
libvorbis-1.1.2.zip

direct link:
http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.zip

in that archive, you'll find the file /examples/encoder_example.c

using only that file i was able to create an ogg/vorbis file from a  
pcm file (eg: wav or aif)
it took me less than a day and worked the first time

if you need any help please feel free to write

-dave

On Nov 27, 2006, at 7:24 AM, Peter Laursen wrote:

> Hi everyone,
>
> I am a newbe with the Ogg Vorbis libraries.
>
> I am trying to create a program in C++ that will allow me to take a 16
> bit, stereo wave file at 44.1 khz and encode it into ogg vorbis. I
> have looked at the encoder example in the vorbis SDK, but I did not
> quite understand it.
>
> My question, therefore, is how to encode such a stream into vorbis? A
> simple tutorial would be very much appreciated (or, better yet, some
> step-by-step instructions and a simple, easy-to-understand example).
>
> Any help is very much appreciated.
>
> Yours sincerely,
>
> Peter.
> -- 
>
> _______________________________________________
> Vorbis-dev mailing list
> Vorbis-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/vorbis-dev
>



More information about the Vorbis-dev mailing list