Questions tagged [opus]

Opus or Opus Audio Codec is a lossy audio compression format developed by the Internet Engineering Task Force (IETF) that is particularly suitable for interactive real-time applications over the Internet. As an open format standardized through RFC 6716, a reference implementation is provided under the 3-clause BSD license. All known software patents which cover Opus are licensed under royalty-free terms.

Opus incorporates technology from two codecs: the speech-oriented SILK and the low-latency CELT.[3] Opus can be adjusted seamlessly between high and low bitrates, and internally, it transitions between a linear prediction codec at lower bitrates and a transform codec at higher bitrates (as well as a hybrid for a short overlap).
Opus has a very low algorithmic delay (22.5 ms by default), which is a necessity for use as part of a low audio latency communication link, which can permit natural conversation, networked music performances, or lip sync at live events. Opus permits trading-off quality or bitrate to achieve an even smaller algorithmic delay, down to 5 ms. Its delay is very low compared to well over 100 ms for popular music formats such as MP3, Ogg Vorbis and HE-AAC; yet Opus performs very competitively with these codecs in terms of quality per bitrate.[5] Unlike Ogg Vorbis, Opus does not require the definition of large codebooks for each individual file, making it preferable to Vorbis for short clips of audio.

Further information and deeper analysis: Opus on wikipedia

374 questions
0
votes
1 answer

Webm (VP8 / Opus) file read and write back

I am trying to develop a webrtc simulator in C/C++. For media handling, I plan to use libav. I am thinking of below steps to realize media exchange between two webrtc simulator. Say I have two webrtc simulators A and B. Read media at A from a input…
Austin
  • 1,709
  • 20
  • 40
0
votes
1 answer

Mos score calculation of opus codec with E-Model algorithm

Now we want to use E-model algorithm to calculate opus Mos score, we need to feed some parameters to E-model, e.g. bpl, ie, currently I can't find the value of these params for opus in web, anyone can help? Or do you know any other widely used…
Programmer
  • 83
  • 5
0
votes
3 answers

How to save webRTC opus audio stream on server side using nodejs?

There are some solutions to save a raw usermedia audio stream on the server side but I want to save the webRTC encoded stream which has low channel bandwidth transmission. I think of a solution that I'm not sure about: Connect server and client…
0
votes
2 answers

Undefined Reference issues incorporating Opus as a shared library in an Android project

After many hours searching through similar problems, and trying many alternatives, with no resolution. I bring this question to the brilliant minds here at StackOverflow. I've been trying to incorporate Opus audio codec into my Android project, but…
Chris Howell
  • 29
  • 1
  • 4
0
votes
1 answer

Invalid opus configuration for gstreamer

I'm struggling to figure out how to install opus plugin for gstreamer. I have installed opus-tools & libopus0 by apt-get (everything happens on Ubuntu 14.04). I have also gstreamer-plugins-bad installed. After multiple trials, bugs, etc. gstreamer…
Buyuk
  • 1,094
  • 1
  • 8
  • 23
0
votes
1 answer

Using 4 KByte/sec Channel for Voice Transmission

Is it possible to transfer voice through a channel that allows not greater than 4KByte/sec speed? I am looking for the lowest quality transmission method. I considered Opus codec but looks like the lowest rate it supports is 6 kb/s. Please, refer me…
tmporaries
  • 1,523
  • 8
  • 25
  • 39
0
votes
1 answer

build opus codec with visual studio 2005

i've downloaded source code from http://www.opus-codec.org/downloads/ but in the tarball there is only one project for visual studio 2010, it builds well but if i use .lib on visual studio 2005 they won't work... Anyone knows how to compile with…
luca
  • 150
  • 1
  • 9
-1
votes
1 answer

Play an opus file with gstreamer and pulseaudio

I cannot figure out an gst-launch invocation to simply play an opus file to pulseaudio. Any help? Things I've tried 130 % file foo.opus foo.opus: Ogg data, Opus audio, version 0.1, stereo, 44100 Hz (Input Sample Rate) 0 % gst-launch-1.0 filesrc…
Todd Freed
  • 877
  • 6
  • 19
-1
votes
1 answer

ffmpeg Unrecognized option '--enable-libopus'

I'm running ffmpeg from a windows 10 machine. My goal is to trim silence from the beginning to the end of a track (this works just fine) and compress using opus. I am new in the "audio elaboration" world so maybe I'm not understanding this…
Irith
  • 93
  • 14
-1
votes
1 answer

Keep encountering these errors when trying to install discordjs/opus

I am trying to create a discord music bot using Node js, in which I need to install @discordjs/opus. Upon trying the command npm install @discordjs/opus I get the following error: https://pastebin.com/HDm5FZST
-1
votes
1 answer

reading .opus audio files in python

I'm trying to use librosa to read an .opus file but it runs forever and doesn't load anything (I've waited for around 30 minutes for a 51MB file and still nothing). Here is the code I am using path_to_opus = '/my/path/to/file.opus' y, sr =…
Ani
  • 53
  • 1
  • 8
-1
votes
1 answer

Looking for example: OGG+Opus Encoder

I looking for basic example how to encode pcm buffer(16kHz/16bit/fixed point) to Opus buffer and pack it OGG-container? I found only vorbis-based examples, not Opus. Thanks for any ideas!)
Natalia
  • 11
  • 2
-1
votes
2 answers

How to decode OggOpus file in C++?

I'm trying to decode this OpusOgg file using ./opus_demo -d 48000 1 b58ccbc2f7.ogg new.wav, but get Invalid payload length: 1332176723. Also, I tried to use code from this answer but got the same error. However, opusdec utility decodes this file…
0x1337
  • 1,074
  • 1
  • 14
  • 33
-1
votes
1 answer

Any guides on how to create custom ogg containers

I am trying to add both timestamped input and audio to an ogg file. I am having trouble understanding how to use the ogg format since the only guide seems to be a format specification. https://xiph.org/ogg/doc/libogg/general.html So basically, I…
user1462442
  • 7,672
  • 1
  • 24
  • 27
1 2 3
24
25