search for: opushead

Displaying 20 results from an estimated 20 matches for "opushead".

2017 May 18
4
Strange behavior with OGG packets?
...riting the stream mapping char array with the Q15 col-wise matrix vals described in the above document. I'm able to write/read matrices of 4x4 and 9x9 and encode->decode first and second order just fine, but writing larger matrices causes what seems to be some sort of packet corruption. The OpusHead packet is never found, but in it's place we have a packet at b_o_s=256 (which is where OpusHead usually lives), but the byte size is reported to be 0 and e_o_s=0 as well. (This is generated by parsing the packets via ogg's *ogg_stream_packetout* function. It appears a matrix larger than 7x1...
2016 May 09
3
Ogg Format
Hello Tim I am referring to the following file https://en.wikipedia.org/wiki/File:Sample_of_%22Another_Day_in_Paradise%22.ogg I opened the file in a HEX editor. I do not see the string OpusHead in the packet. It starts with Oggs. Also checking the occurrence of Oggs, I see that the first packet has BOS, the next all (except last) have 00 (which is not defined in the RFC as continuation) and last one has EOS. The first packet in this ogg file makes sense. The second packet (I am taking a...
2013 Oct 28
2
how to Build .opus file
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 a...
2013 Oct 28
2
how to Build .opus file
...io 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 th...
2017 May 18
0
Strange behavior with OGG packets?
...g char array > with the Q15 col-wise matrix vals described in the above document. > > I'm able to write/read matrices of 4x4 and 9x9 and encode->decode first > and second order just fine, but writing larger matrices causes what seems > to be some sort of packet corruption. The OpusHead packet is never found, > but in it's place we have a packet at b_o_s=256 (which is where OpusHead > usually lives), but the byte size is reported to be 0 and e_o_s=0 as well. > (This is generated by parsing the packets via ogg's *ogg_stream_packetout* function. > It appears a ma...
2017 May 18
0
Strange behavior with OGG packets?
...char array > with the Q15 col-wise matrix vals described in the above document. > > I'm able to write/read matrices of 4x4 and 9x9 and encode->decode first > and second order just fine, but writing larger matrices causes what > seems to be some sort of packet corruption. The OpusHead packet is never > found, but in it's place we have a packet at b_o_s=256 (which is where > OpusHead usually lives), but the byte size is reported to be 0 and > e_o_s=0 as well. (This is generated by parsing the packets via > ogg's *ogg_stream_packetout* function. It appears a ma...
2016 May 09
3
Ogg Format
Hello All, When going through the Ogg format, I have a basic question. As per the RFC the Ogg format encapsulates the logical stream. Now consider the scenario where a raw mono stream is being encoded with Opus Codec. The stream is 48KHz and the length of the stream being encoded is worth 20ms of data. This makes it 960 half words (considering 16 bit format). Now if the final output is say 100
2016 May 09
2
Ogg Format
...s not Opus at all. > > The file at < > https://people.xiph.org/~giles/2012/opus/ehren-paper_lights-96.opus> > linked from <https://www.opus-codec.org/examples/> would be an example of > an Ogg Opus file. > > I opened the file in a HEX editor. I do not see the string OpusHead in >> the packet. It starts with Oggs. Also checking the occurrence of Oggs, I >> see that the first packet has BOS, the next all (except last) have 00 >> (which is not defined in the RFC as continuation) and last one has EOS. >> > > The header_type byte is a set of bi...
2016 May 13
2
Antw: Re: Ogg Format
>>> Amit Ashara <ashara.amit at gmail.com> schrieb am 12.05.2016 um 17:47 in Nachricht <CAEyg9sgjbsxQY-=VnhQrKiGeTcFSRr1wxOPUhNyCQF8Piuahow at mail.gmail.com>: > Hello Jean-Marc, > > Assuming that a 48KHz, 20ms 8-bit linear PCM data which is 960 bytes is > compressed to 64 bytes (for assumption). The with the Oggs header (4 byte) Actually what I don't
2018 Mar 07
1
[PATCH] Support for Ambisonics and Projection API.
...additions (hopefully we can avoid things like that here). > I think this is relatively easy to add to libopus so I'll wrap the function calls and the #include around this #define. This will also allow us to not have to explicitly enable ambisonics. :) > > The addition of fields to the OpusHead struct is a breaking ABI change > (specifically, all callers of opus_head_parse() would need to be rebuilt > from source). > > Is OPUS_DEMIXING_MATRIX_SIZE_MAX future-proof? I seem to recall much > larger matrices being allowed according to the spec. You'll note that > OPUS_C...
2018 Mar 06
3
[PATCH] Support for Ambisonics and Projection API.
Hello all, Attached are patches for libopusenc, opusfile and opus-tools in order to provide support for Ambisonics and the Projection API for encoding/decoding channel mapping 253 and 254. Please feel free to ask any questions or give any feedback you might have. :) Cheers, Drew -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Oct 28
0
how to Build .opus file
...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 &g...
2013 Oct 28
0
how to Build .opus file
...ll! > > > > 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...
2016 May 09
0
Ogg Format
...one segment will > be available and the Segment Table will have the value 100 indicating > that the next 100 bytes are belonging to the same stream and is one > encoded frame > > Is this correct? No. You are required to have at least three pages: one for the identification header (OpusHead), which must contain only that packet, one (or more) for the metadata header (OpusTags), which must terminate the page it ends on, and then one more for your 20 ms audio data packet. In the description, you also said that the final output was 100 halfwords (200 bytes). The value in the page seg...
2016 May 09
0
Ogg Format
...Ogg *Vorbis* file. It's not Opus at all. The file at <https://people.xiph.org/~giles/2012/opus/ehren-paper_lights-96.opus> linked from <https://www.opus-codec.org/examples/> would be an example of an Ogg Opus file. > I opened the file in a HEX editor. I do not see the string OpusHead in > the packet. It starts with Oggs. Also checking the occurrence of Oggs, I > see that the first packet has BOS, the next all (except last) have 00 > (which is not defined in the RFC as continuation) and last one has EOS. The header_type byte is a set of bit flags. 00 means none of them...
2016 May 09
0
Ogg Format
...>> The file at < >> https://people.xiph.org/~giles/2012/opus/ehren-paper_lights-96.opus> >> linked from <https://www.opus-codec.org/examples/> would be an example >> of an Ogg Opus file. >> >> I opened the file in a HEX editor. I do not see the string OpusHead in >>> the packet. It starts with Oggs. Also checking the occurrence of Oggs, I >>> see that the first packet has BOS, the next all (except last) have 00 >>> (which is not defined in the RFC as continuation) and last one has EOS. >>> >> >> The header_...
2018 Mar 07
0
[PATCH] Support for Ambisonics and Projection API.
...users could check at compile time to see if the projection API was available. See the definition of OP_SOFT_CLIP in opusfile's src/internal.h for the hacks I've had to do to detect other libopus API additions (hopefully we can avoid things like that here). The addition of fields to the OpusHead struct is a breaking ABI change (specifically, all callers of opus_head_parse() would need to be rebuilt from source). Is OPUS_DEMIXING_MATRIX_SIZE_MAX future-proof? I seem to recall much larger matrices being allowed according to the spec. You'll note that OPUS_CHANNEL_COUNT_MAX is 255, e...
2013 Oct 28
2
how to Build .opus file
...; 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 > >...
2018 Apr 10
2
[PATCH] opus-tools/opusfile: Support for Ambisonics
Friendly ping for supporting ambisonics in opus-tools & opusfile Please LMK any ?s you might have. Cheers, Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20180410/fd4a3709/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name:
2018 May 25
0
[PATCH] opus-tools/opusfile: Support for Ambisonics
...n an error (OP_EIMPL?) to let the application know that there is missing data they're not getting by using the old API (i.e., so they know they won't be able to decode that stream correctly)? If we do continue to return success, we should probably fill in the existing mapping[] array in OpusHead with something meaningful (e.g., 255 for all silence). Right now it is just copying a number of bytes out of the demixing matrix equal to the channel count, which doesn't make much sense. There are a few errors in the opus_head_projection_parse() implementation. For mapping family 253 you...