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. --
Ivo Emanuel Gonçalves
2006-Dec-05 13:44 UTC
[Vorbis-dev] encoding wave files into ogg vorbis?
Hello, I'm afraid that would be a complex task to do where the people in the know-how would not be available to write it down. The hacker philosophy isn't helping either, it's pretty much, "What manual? Go read the source code.", so try to prevail. My suggestion: get the source for oggenc and don't give up. And if you suceed and still think a tutorial would help others, maybe you can take some time to write your own. -Ivo On 11/27/06, Peter Laursen <vorbis@tdlsoftware.org> 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@xiph.org > http://lists.xiph.org/mailman/listinfo/vorbis-dev >
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@xiph.org > http://lists.xiph.org/mailman/listinfo/vorbis-dev >