<div dir="ltr"><div><div><div><div><div><div>Thanks for the answer, Giles,finally it works and I get the point of the libOpus, and opusenc.<br><br></div>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:<br>
<br></div>raw audio -&gt; [opus audio] -&gt; [[Header][opus audio]].opus<br><br></div>but how can I add the header, I need the ogg lib,<br><br></div>I must programm this in c, it is possible to do it using only libopus or I also need some things from ogg library. <br>
<br></div>thamks in advacnce<br><br></div>Toni<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/21 Ralph Giles <span dir="ltr">&lt;<a href="mailto:giles@thaumas.net" target="_blank">giles@thaumas.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-10-21 5:08 AM, Antonio Juan wrote:<br>
<br>
&gt; I used opus_demo to clarify how opus works, I try this command:<br>
&gt;<br>
&gt; opus_demo -e&quot; audio 8000 1 8000 -cbr<br>
&gt; /somedirectory/pcm_mono_ochomil.raw /somedirectory/test.opus<br>
<br>
</div>opus_demo doesn&#39;t support .opus files. It uses a special raw format just<br>
for testing. You want opusenc and opusdec from the opus-tools package.<br>
<br>
 -r<br>
<br>
_______________________________________________<br>
opus mailing list<br>
<a href="mailto:opus@xiph.org">opus@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/opus" target="_blank">http://lists.xiph.org/mailman/listinfo/opus</a><br>
</blockquote></div><br></div>