<div dir="ltr"><div>It does work, I was just surprised at how involved creation of a simple ogg/opus file was as defined in the openenc code.<br><br></div>I just discovered liboggz, which (on its surface) appears to allow easier creation of ogg/opus files. I'm still in the process of trying to understand how I would make use of its interfaces. When/if I do, I'll share what I develop.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 23, 2015 at 2:47 PM, Viswanath Puttagunta <span dir="ltr"><<a href="mailto:viswanath.puttagunta@linaro.org" target="_blank">viswanath.puttagunta@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Tony,<br>
<br>
opusenc from opus-tools works for me.. Just tried it successfully on<br>
my x86_64 Ubuntu Trusty 14.04 box.<br>
I was just able to do<br>
$ sudo apt-get install opus-tools<br>
$ opusenc music_48kbps.wav music_48kbps.opus<br>
<br>
I remember also being able to compile opus-tools<br>
(git://<a href="http://git.xiph.org/opus-tools.git" target="_blank">git.xiph.org/opus-tools.git</a>) some time ago.<br>
<br>
Regards,<br>
Vish<br>
<div><div class="h5"><br>
<br>
On 23 February 2015 at 12:30, Tony <<a href="mailto:yellowjacketlite@gmail.com">yellowjacketlite@gmail.com</a>> wrote:<br>
> I __think__ opus-tools' opusenc has code which can be used as a<br>
> template/sample for how to create an .Ogg file with Opus content. As<br>
> expected, it makes use of libopus and libogg.<br>
><br>
> There appears to be quite a few steps involved (several more than I'd<br>
> expect), but I __think__ this is the only library, or sample code, that<br>
> shows how to create audio file containing Opus. Too bad there isn't a<br>
> simplified wrapper for file CREATION like libopusfile does reading.<br>
><br>
> If anyone knows of one, I'd appreciate the information.<br>
><br>
><br>
> On Mon, Feb 23, 2015 at 7:38 AM, Tony <<a href="mailto:yellowjacketlite@gmail.com">yellowjacketlite@gmail.com</a>> wrote:<br>
>><br>
>> Which one of the various libraries on <a href="http://xiph.org" target="_blank">xiph.org</a> allow me to create an Opus<br>
>> file? The 3 or so libraries on the Opus download page all seem to be for<br>
>> reading files, converting and/or encode/decode streams. I have device that<br>
>> outputs a stream of Opus 'frames' and I need to save them into an Opus file.<br>
>><br>
>> --<br>
>> Tony<br>
><br>
><br>
><br>
><br>
> --<br>
> Tony<br>
><br>
</div></div>> _______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Tony</div>
</div>