<div dir="ltr"><div><div><div><div>Thanks for your help, I will follow that, so in order to sum up<br><br></div>I need: <br>- libopus 1.0.3 compiled as static or shared library<br></div>- libogg
1.3.1 compiled as static or shared library<br>- opus-tools
0.1.7<br><br></div>and then follow the example in opus-tools opusenc.c to get things ready, because if I try to compile opus-tools, this ask for me for the speex library, and other things<br><br></div><div>I think that that will we all.<br>
<br></div><div>Thanks<br><br></div><div>Toni<br></div> <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/28 Jean-Marc Valin <span dir="ltr"><<a href="mailto:jmvalin@jmvalin.ca" target="_blank">jmvalin@jmvalin.ca</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 10/28/2013 01:37 PM, Antonio Juan wrote:<br>
> The problem is that for using this package I need to use all the libs<br>
> like ogg, even Speex?,<br>
<br>
</div>You do not need Speex. You do need libogg because .opus files *are* Ogg<br>
files.<br>
<div class="im"><br>
> no, and also where i can find an easy example<br>
> like opus_demo.c to create the .opus file<br>
<br>
</div>There's an easy example called opusenc in the opus-tools package :-)<br>
<br>
Jean-Marc<br>
<br>
<br>
> Greetings<br>
><br>
> Toni<br>
><br>
><br>
> 2013/10/28 Jean-Marc Valin <<a href="mailto:jmvalin@jmvalin.ca">jmvalin@jmvalin.ca</a> <mailto:<a href="mailto:jmvalin@jmvalin.ca">jmvalin@jmvalin.ca</a>>><br>
<div class="im">><br>
> 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>
><br>
><br>
> On 10/28/2013 11:34 AM, Antonio Juan wrote:<br>
> > Hi all!<br>
> ><br>
> > Using the code in opus_demo.c I write a c program for encode and<br>
> decode<br>
> > the audio from one microphone, I can encode and decode raw audio into<br>
> > .opus file, but really is not an opus file because i need to add the<br>
> > "OpusHead" and the "OpusTags". In order that any opus player can play<br>
> > that file.<br>
> ><br>
> > So I only need in my c program how to add this streams to my file<br>
> an how<br>
> > to create the complete opus file<br>
> ><br>
> > I do not find any information about creating the header and how to<br>
> store<br>
> > the opus packets that i encode and decode<br>
> ><br>
> > Grettings<br>
> ><br>
> > Toni<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > opus mailing list<br>
</div>> > <a href="mailto:opus@xiph.org">opus@xiph.org</a> <mailto:<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>
<div class="HOEnZb"><div class="h5">> ><br>
><br>
><br>
><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>
><br>
<br>
</div></div></blockquote></div><br></div>