392 questions
Score of 0
0 answers
52 views
How to find out the byte offset of the first audio frame in an Ogg Vorbis stream
I'm hacking SoX to fix soxi's idea of the average bit-rate of an audio file; previously it did:
8 * file_size / length_in_seconds
but that makes very short files report huge bit rates, so it is to ...
Score of 1
0 answers
193 views
Cannot compile opus in rust for android platform
I am trying to build a rust library as a .so file output to run it on android.
This is my cargo.toml:
[package]
name = "my_project"
version = "0.1.0"
edition = "2021"
[...
Score of 2
1 answer
763 views
How to seamlessly concatenate multiple Opus files together without popping sound?
I have a large PCM file that I've split into N chunks (N being the # of threads), and I encode them in parallel into Opus files with FFmpeg.
Note: All PCM files are 16-bit Little Endian, 2 channels, ...
Score of 4
0 answers
170 views
How to convert Opus file to wav using C#?
How can I correctly convert an OPUS file to a WAV file in C#?
I attempted to use the Concentus.OggFile and NAudio.Core libraries to convert an OPUS file to WAV, but the resulting file contains only ...
Score of 1
0 answers
73 views
Can Nodejs fluent-ffmpeg process opus file stream in async way?
What I want to do:
load a large opus file
processing it using fluent-ffmpeg
output a stream for further use (realtime output is required)
Runnable codes(file path needs to be changed):
const fs = ...
Score of 0
1 answer
136 views
iOS 18 Opus Audio Decoding Issues with Audio Queue Services (Garbled Audio)
I'm encountering garbled audio playback when recording Opus audio from the microphone using Audio Queue services on a physical iPhone running iOS 18. The same code works flawlessly on iOS 16 and 17 ...
Score of 1
0 answers
345 views
Nodejs opus audio streaming transcode on the fly
I'm not used to working with audio/video streams, so I am not sure how many wrong things I'm doing right now.
The intention is to send opus-encoded audio (using 'audio/webm; codecs=opus' from Chrome) ...
Score of 0
1 answer
137 views
Why does building libOpus for Android fail?
When trying to compile a locally checked-out copy of Opus 1.3.1 for Android, I get this cryptic error message:
CCLD opus_demo
clang: error: no such file or directory: './.libs/libopus.so'
It ...
Score of 2
0 answers
49 views
Portaudio and Opus cant work with webview, Why?
I've been working on a voice chat software recently and I made the server the client code and everything as a CLI, using portaudio and opus for recording and compressing audio.
But when I decided to ...
Score of 0
1 answer
325 views
Enable RED on webrtcbin for audio
I construct a pipeline in C++, receive an SDP offer and respond to it. It works alright with 'just' OPUS but sometimes the audio's not great, so I was looking into using RED, but am having trouble ...
Score of 1
1 answer
1488 views
FFmpeg C demo generates "Could not update timestamps for skipped samples" warning
When I run my demo code I get these warnings when testing it on a webm video:
[opus @ 0x5ec0fc1b4580] Could not update timestamps for skipped samples.
[opus @ 0x5ec0fc1b4580] Could not update ...
Score of 1
0 answers
142 views
Initialize a frame of PCM audio data using AudioData for encoding into Opus format with AudioEncoder
I use WebAssembly to implement the libopus encode method in the browser, encoding PCM audio data into Opus format frame by frame in real-time, and it works very well. However, when I set the same ...
Score of 1
1 answer
170 views
Streaming opus to icecast server using libshout
I'm trying to send Opus encoded data to icecast server using libshout.
I record PCM data on Android encode it to Opus and send to icecast using libshout like this:
Encoding:
opus_encoder_create(...
Score of 1
1 answer
449 views
Golang PION/WebRTC: Issues with Audio Transmission via PortAudio and OPUS Encoding
I am encountering issues with a Go script for a WebRTC-based application using the GO/PION library. The application captures a video stream and makes it available over a WebRTC connection, while also ...
Score of 1
1 answer
222 views
Invalid Frame Size Error when Encoding Audio Stream to Opus on iOS
I'm writing logic to encode an audio stream to opus (to send over a web socket); I keep getting an Invalid frame size: 4800. Must be one of [120, 240, 480, 960, 1920, 2880] error:
//
// AudioManager....