[Vorbis-dev] .wav to .ogg
nouiz at nouiz.org
Fri Feb 2 08:05:33 PST 2007
You can add the oggenc application in your application of make a
dependance on it. Then you can make an extern call to it with the
function 'system(string)' that will execute the command line 'str'.
As exemple on a linux platform, if oggenc is well installed(in the
path), you could call the function:
hope this help
Michael Smith wrote:
> On 2/2/07, Sebastian Olter <qduaty at gmail.com> wrote:
>> 2007/2/2, Aday Tejera <adayts6 at hotmail.com>:
>> > application that needs to convert a .wav audio file to a .ogg one.
>> What about encoder_example.c?
> The original poster was specifically asking about converting from a
> wav file to vorbis. The encoder example only converts from raw PCM at
> 44.1kHz, 16 bit little-endian, stereo (i.e. a raw, headerless,
> So yes, oggenc is an example, though it's designed to be useful, not
> just a minimal example, so it's not the simplest thing to show
> Vorbis-dev mailing list
> Vorbis-dev at xiph.org
More information about the Vorbis-dev