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

Gstreamer: encode a mp4 video to opus (audio track) and vp8 (video track)

I want to launch a opus/vp8 stream using gstreamer. I'm starting from the following snippet: #!/bin/sh gst-launch-1.0 \ audiotestsrc ! \ audioresample ! audio/x-raw,channels=1,rate=16000 ! \ opusenc bitrate=20000 ! \ rtpopuspay !…
pier92
  • 397
  • 1
  • 11
  • 26
0
votes
1 answer

using opus in linphone

i would like to use opus codec in my linphone application but i have a few questions , if someone with opus codec knowledge could help me out would appreciate OPUS. Does this codec compress as well as package the data? What is the output data…
d3m0n
  • 3
  • 2
0
votes
0 answers

OPUS decode raw PCM data

I am trying to compress and decompress raw PCM (16-Bit) audio, using OPUS. Here below is my code for opus_encoder.c. If I remove my decoder.c, the buffer works just fine as in the microphone is able to take in raw PCM data. However, once I have…
omg99123
  • 1
  • 2
0
votes
1 answer

Which codec is used for online video Streaming?

I am using WebRTC with kurento media server, as far as i came to know WebRTC supports VP8 for video Streaming and using opus for audio Streaming, So my question is if i want to compress the stream which includes both audio and video, so do i need to…
user2243471
  • 21
  • 2
  • 9
0
votes
1 answer

How can I find the correct buffer size for decompressing an Opus file with Concentus

I'm trying to write an Android App (using Xamarin) in which I can record and then play back .opus files. I've never used Opus before, so please bear with me... I am using the Concentus NuGet package to compress/decompress the audio. The sample code…
Frauke
  • 1,552
  • 2
  • 12
  • 22
0
votes
1 answer

how to use opus DTX from opensource OPUS demo binary

i want help in OPUS DTX 1.how OPUS DTX is working. 2.how opus encoder and decoder works for dtx 3.Is there any bit representation for DTX in OPUS From rfc When DTX is enabled, only one frame is encoded every 400 milliseconds it didnt works for me…
0
votes
0 answers

Android Voice Activity Detection (VAD) Using Opus Codec

It's my understanding that Android supports the Audio Codec Opus since 5.0. (https://developer.android.com/guide/appendix/media-formats.html) This codec should store VAD data, which can be parsed. Has anyone managed to achieve this in Android, and…
Jonty800
  • 482
  • 7
  • 20
0
votes
1 answer

Changing default (outgoing) codec to OPUS in Freeswitch

I am new to Freeswitch. I want to change the default codec to OPUS. I made changes to vars.xml,dingaling.xml as per https://freeswitch.org/confluence/display/FREESWITCH/Codecs+and+Media. I have loaded the mod_opus module as well. But still I am…
Harsha
  • 323
  • 1
  • 17
0
votes
1 answer

Cross-compile OPUS codec for blackfin

I have succesfully worked with it on linux setting up a stream between 2 linux pc's. That is straigt forward following the README file for OPUS. Now I need to cross-compile the OPUS-codec for a Blackfin ADSP-BF707 on windows. I have tried to compile…
Baztion
  • 1
  • 1
0
votes
1 answer

Integrating any codec within an android VOIP application

I am working on an android voip application that need not work on PSTN. I am completely novice to this field and any little help will be appreciated. I started by researching how whatsapp voice call works and found out that it is using PJSIP which…
0
votes
0 answers

IllegalStateException thrown when recording with vorbis AudioEncoder

i'm trying to record audio capture useing ogg vorbis format, but i get an IllegalStateException when calling start() when useing mp3 format all is fine my MediaRecorder code snnipet: if there is an option to use MediaRecorder with Opus encoder thats…
Daniel Givoni
  • 665
  • 6
  • 12
0
votes
1 answer

Opus ID Header, what is that?

Looking at the documentation of OggOpus I can't figure out what this table means: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0…
hungrxyz
  • 745
  • 11
  • 20
0
votes
1 answer

Get Opus Headers for Ogg

I have this example of getting the initial header information from Vorbis for Ogg Stream: ogg_packet header; ogg_packet header_comm; ogg_packet header_code; vorbis_analysis_headerout(&vd,&vc,&header,&header_comm,&header_code); How can I get this…
hungrxyz
  • 745
  • 11
  • 20
0
votes
1 answer

Linking Opus codec with VS 2010

Having problems with Opus codec on VS 2010 even after linking .lib(libopusfile-0.lib and opus.lib) file ? Getting same errors: 1>main.obj : error LNK2019: unresolved external symbol _opus_decoder_destroy referenced in function _main 1>main.obj :…
0
votes
0 answers

Minimize buffering when using audio element

I'm sending Opus audio to a browser and I need it to play almost instantly. I am using an audio element like this:
Marcus Johansson
  • 2,626
  • 2
  • 24
  • 44
1 2 3
24
25