Hi all! Using the code in opus_demo.c I write a c program for encode and decode the audio from one microphone, I can encode and decode raw audio into .opus file, but really is not an opus file because i need to add the "OpusHead" and the "OpusTags". In order that any opus player can play that file. So I only need in my c program how to add this streams to my file an how to create the complete opus file I do not find any information about creating the header and how to store the opus packets that i encode and decode Grettings Toni -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20131028/284e7843/attachment.htm
Hi Toni, The package you want is opus-tools. You can get it from the download section. For file distribution, always use opusenc (or equivalent), never opus_demo. Cheers, Jean-Marc On 10/28/2013 11:34 AM, Antonio Juan wrote:> Hi all! > > Using the code in opus_demo.c I write a c program for encode and decode > the audio from one microphone, I can encode and decode raw audio into > .opus file, but really is not an opus file because i need to add the > "OpusHead" and the "OpusTags". In order that any opus player can play > that file. > > So I only need in my c program how to add this streams to my file an how > to create the complete opus file > > I do not find any information about creating the header and how to store > the opus packets that i encode and decode > > Grettings > > Toni > > > > > > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >
Hi Jean 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 Greetings Toni 2013/10/28 Jean-Marc Valin <jmvalin at jmvalin.ca>> Hi Toni, > > The package you want is opus-tools. You can get it from the download > section. For file distribution, always use opusenc (or equivalent), > never opus_demo. > > Cheers, > > Jean-Marc > > > On 10/28/2013 11:34 AM, Antonio Juan wrote: > > Hi all! > > > > Using the code in opus_demo.c I write a c program for encode and decode > > the audio from one microphone, I can encode and decode raw audio into > > .opus file, but really is not an opus file because i need to add the > > "OpusHead" and the "OpusTags". In order that any opus player can play > > that file. > > > > So I only need in my c program how to add this streams to my file an how > > to create the complete opus file > > > > I do not find any information about creating the header and how to store > > the opus packets that i encode and decode > > > > Grettings > > > > Toni > > > > > > > > > > > > > > _______________________________________________ > > 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/20131028/64398ece/attachment.htm