Displaying 20 results from an estimated 1000 matches similar to: "How to identify packets to input to opus_decode()"
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:
2018 Mar 07
1
[PATCH] Support for Ambisonics and Projection API.
Excellent, thanks Tim for writing back so quickly!
Cheers,
Drew
On Tue, Mar 6, 2018 at 6:25 PM, Timothy B. Terriberry <tterribe at xiph.org>
wrote:
> Drew Allen wrote:
>
>> Please feel free to ask any questions or give any feedback you might
>> have. :)
>>
>
> A few comments from a quick glance through the opusfile patch:
>
> You unconditionally
2015 Feb 23
2
library for creating Opus files?
On 23/02/15 10:30 AM, Tony wrote:
> I __think__ opus-tools' opusenc has code which can be used as a
> template/sample for how to create an .Ogg file with Opus content. As
> expected, it makes use of libopus and libogg.
Sadly that's the best option currently. As you say it's a bit
complicated, although oggenc has a lot of extra support for controlling
encoder options you
2015 Feb 23
3
library for creating Opus files?
Which one of the various libraries on xiph.org allow me to create an Opus
file? The 3 or so libraries on the Opus download page all seem to be for
reading files, converting and/or encode/decode streams. I have device that
outputs a stream of Opus 'frames' and I need to save them into an Opus file.
--
Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Apr 06
2
Decoding Opus File in Chunks
I would like to decode an Opus file in chunks (e.g. 16K byte array). Is
this possible with the Opusfile library or would I need to interface
directly with libogg and libopus? It seems like the Opusfile decoder
functions maintain an internal pointer/state for OggOpusFile during
multiple calls to op_read(OggOpusFile *_op ...) and a complete byte array
of the entire Opus file would be needed.
Any
2017 Jul 26
1
Building opusfile as a shared library
Dear Opus community,
I'm trying to build opusfile as a shared (.dll) library on Windows 10 using
Visual Studio 2017.
I know there are prebuilt libraries, but those are depending on a whole
bunch of other libraries and x86 (32 bit) only.
Whenever I try to build opusfile, it generates opusfile.dll, which is
basically empty (no functions), which makes it unuseable.
This is most likely because
2014 Jun 03
1
Question about FEC and ogg/opus
Hello,
We have a use case where we want to record an opus RTP stream to a .opus
file. We want to fill in any gaps in the stream, and we also want to
take advantage of inband FEC whenever possible.
The ogg/opus draft describes[1] how to fill in gaps by generating
zero-byte frames, but I do not understand how (and if) FEC can be used.
Is this possible, and if so, what is the recommended way of
2013 Dec 15
1
48kHz
I have been challenged by someone that opusfile's 48kHz most of the time
forced resampling but I didn't have good arguments to counter.
I've checked the opus-codec.org pages and Monty's pages without finding
good arguments.
If you encode files to .opus with opusenc and decode with opusfile's api
the sampling rate is constantly 48kHz ignoring output hardware isn't it?
Is
2015 Oct 14
2
How to wrap Opus data in an Ogg stream?
Hi.
I am trying to understand how to package opus-encoded data in an ogg stream to make a standards-compilant ogg/opus file. Most things are clear, but there is one thing I simply do not understand.
What I do understand is that Ogg is based on pages, that each come with a fairly sizeable header (>=27 bytes). Now, I encode with a fairly low bitrate, so my opus packages are <100 bytes long.
2013 Aug 21
1
opusfile 0.4 release
On 20/08/13 08:38 PM, alpha thinktink wrote:
> However, if I try to load the new libopusurl-0.dll from the same folder
> as I have always done as with the other libraries, I get a NULL HMODULE
> handle from LoadLibraryW and GetLastError() return error code 126 - "The
> specified module could not be found."
In addition to what Tim said, do you get the same error loading
2018 Nov 15
2
Question about libopusfile downloading the last 64K when duration is not needed
I am writing a program that retrieves and plays .opus files over the
network.
I am using the C# PInvoke wrapper OpusFileSharp, which calls into
libopusfile and passes callbacks for read, seek, and tell.
I want to enable seeking via the seek callback by not returning -1, but
I find that as soon as I do libopusfile requests the last 64K of the
.opus file, probably so it can calculate the
2018 Nov 15
2
Question about libopusfile downloading the last 64K when duration is not needed
Thanks for the quick response.
That makes sense. I just wanted to make sure it wasn't an easy fix, or
that I wasn't overlooking something.
My scenario calls for very low latency playback with a user being able
to jump between many files quickly, or seek quickly.
This means I am priming the pump by downloading the first chunk of many
files that are likely to be started soon.
I was
2018 Mar 19
3
[PATCH] Support for Ambisonics
Hello all,
Sorry for the delay (got really sick last week).
Attached are updated patches for libopus, libopusenc, opusfile and
opus-tools.
Note that the patches for libopusenc, opusfile and opus-tools are dependent
on the patch for libopus.
Please let me know if you have any additional followup comments or
questions.
Cheers,
Drew
-------------- next part --------------
An HTML attachment was
2013 Aug 20
4
opusfile 0.4 release
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm pleased to announce the availability of opusfile v0.4.
The opusfile and opusurl libraries provide a high-level API for
decoding and seeking within .opus files on disk or over http(s).
* https://ftp.mozilla.org/pub/mozilla.org/opus/opusfile-0.4.tar.gz
* https://ftp.mozilla.org/pub/mozilla.org/opus/opusfile-0.4.zip
*
2015 Feb 23
1
library for creating Opus files?
Hello Tony,
opusenc from opus-tools works for me.. Just tried it successfully on
my x86_64 Ubuntu Trusty 14.04 box.
I was just able to do
$ sudo apt-get install opus-tools
$ opusenc music_48kbps.wav music_48kbps.opus
I remember also being able to compile opus-tools
(git://git.xiph.org/opus-tools.git) some time ago.
Regards,
Vish
On 23 February 2015 at 12:30, Tony <yellowjacketlite at
2018 Mar 19
3
[PATCH] Support for Ambisonics
Hi Drew,
I think the libopusenc patch is better, but there's still a few issues left:
1) The static MAX_PACKET_BUFFER_SIZE value is still problematic because
if you link libopusenc with a new version of libopus that supports
higher order projection or just more projection channels for order 3,
then you will overflow the buffer. I think what you'd want is a
_ope_opus_header_get_size() call
2015 Apr 21
3
Availability of the 1.1.1 stable version
Red Hat Enterprise Linux Server release 6.4 (Santiago)
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
We see the issue in all our Intel based Linux servers.
Thanks
Suresh
On 21 April 2015 at 12:41, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Still can't reproduce. What OS and compiler version?
>
> Jean-Marc
>
> On 21/04/15 02:48 AM, Suresh Thiriveedi
2015 Apr 21
2
Availability of the 1.1.1 stable version
Hi,
There is no change in the compiler flags. I'm using as it is from the
original code. No change in the Makefile and I believe it is using the
floating point only by default.
We are using 8k samples and mono so the commands is as follows.
[root at MEDIA opus-1.1]# ./opus_demo -d 8000 1 opus_encoded_crash.opus
opus_encoded_crash.pcm
*And segmentation is as below..*.
............
Calling
2018 Mar 26
3
[PATCH] Support for Ambisonics
Apologies! That patch will not work correctly with Opus 1.2. Will send an
updated patch shortly!!
On Mon, Mar 26, 2018 at 11:56 AM Drew Allen <bitllama at google.com> wrote:
> Hello all!
>
> I've attached an updated patch for opusfile, based on formatting
> suggestions I got for the opus and libopusenc patches.
>
> Cheers!
> Drew
>
> On Thu, Mar 22, 2018 at
2018 Mar 22
2
[PATCH] Support for Ambisonics
Thanks! 2 down, 2 to go. :D :D :D
On Wed, Mar 21, 2018 at 11:19 PM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> Thanks, the libopus and the libopusenc patches are now merged.
>
> Cheers,
>
> Jean-Marc
>
> On 03/20/2018 12:36 PM, Drew Allen wrote:
> > Attached is an updated patch based on Jean-Marc and Mark's comments. :)
> >
> >