<div dir="ltr"><div><div>Hi Jean<br><br>The problem is that for using this package I need to use all the libs like ogg, even Speex?, no, and also where i can find an easy example like opus_demo.c to create the .opus file<br>
<br></div>Greetings <br><br></div>Toni <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/28 Jean-Marc Valin <span dir="ltr">&lt;<a href="mailto:jmvalin@jmvalin.ca" target="_blank">jmvalin@jmvalin.ca</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Toni,<br>
<br>
The package you want is opus-tools. You can get it from the download<br>
section. For file distribution, always use opusenc (or equivalent),<br>
never opus_demo.<br>
<br>
Cheers,<br>
<br>
        Jean-Marc<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 10/28/2013 11:34 AM, Antonio Juan wrote:<br>
&gt; Hi all!<br>
&gt;<br>
&gt; Using the code in opus_demo.c I write a c program for encode and decode<br>
&gt; the audio from one microphone, I can encode and decode raw audio into<br>
&gt; .opus file, but really is not an opus file because i need to add the<br>
&gt; &quot;OpusHead&quot; and the &quot;OpusTags&quot;. In order that any opus player can play<br>
&gt; that file.<br>
&gt;<br>
&gt; So I only need in my c program how to add this streams to my file an how<br>
&gt; to create the complete opus file<br>
&gt;<br>
&gt; I do not find any information about creating the header and how to store<br>
&gt; the opus packets that i encode and decode<br>
&gt;<br>
&gt; Grettings<br>
&gt;<br>
&gt; Toni<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; opus mailing list<br>
&gt; <a href="mailto:opus@xiph.org">opus@xiph.org</a><br>
&gt; <a href="http://lists.xiph.org/mailman/listinfo/opus" target="_blank">http://lists.xiph.org/mailman/listinfo/opus</a><br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>