Thanks for the answer, Giles,finally it works and I get the point of the
libOpus, and opusenc.
The problem now is that I have the raw audio from a microphone, and i want
to compress it to an opus file. How I need to proceed:
raw audio -> [opus audio] -> [[Header][opus audio]].opus
but how can I add the header, I need the ogg lib,
I must programm this in c, it is possible to do it using only libopus or I
also need some things from ogg library.
thamks in advacnce
Toni
2013/10/21 Ralph Giles <giles at thaumas.net>
> On 2013-10-21 5:08 AM, Antonio Juan wrote:
>
> > I used opus_demo to clarify how opus works, I try this command:
> >
> > opus_demo -e" audio 8000 1 8000 -cbr
> > /somedirectory/pcm_mono_ochomil.raw /somedirectory/test.opus
>
> opus_demo doesn't support .opus files. It uses a special raw format
just
> for testing. You want opusenc and opusdec from the opus-tools package.
>
> -r
>
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xiph.org/pipermail/opus/attachments/20131022/8c0b6db3/attachment.htm