Questions tagged [opus]
Opus is a lossy audio coding format designed to efficiently code speech and general audio in a single format, while remaining low-latency enough for real-time interactive communication and low-complexity enough for low-end embedded processors.
21
questions
0
votes
0
answers
22
views
ffmpeg convert container format without re-encoding
This works:
ffmpeg -i test.caf recoded.opus
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 15.0.0 (clang-1500.0.40.1)
configuration: --prefix=/...
1
vote
0
answers
57
views
How to build Opus or playable audio from wireshark capture?
I was able to create a wav file from a wireshark capture. Here is how I do it.
1. I use tcpdump to capture all the packets and filter for RTP packets. Each RTP packet has a "Synchornization ...
0
votes
0
answers
56
views
How to edit Opus comments?
Is there any tool that can edit Opus comments? In particular, I want to add multiple METADATA_BLOCK_PICTUREs to an Ogg/Opus file.
opusenc can't edit comments.
EasyTag corrupts Ogg files.
ffmpeg doesn'...
1
vote
1
answer
428
views
Want to understand encoding with Opus for maximum audio quality in FFmpeg. Bitrate stuck at 96kbps?
I'm sort of new to FFmpeg, but I got much of the basics down. I am trying to understand how to encode audio with Opus. My knowledge is a bit weak when it comes to audio, bitrates, sample rate and Hz.
...
0
votes
0
answers
154
views
FFmpeg conversion of audio to Opus produces larger than expected file
I have lots of 16-bit 8KHz wav files that I'm trying to convert into Opus format.
Using a sample file, ffmpeg converts it in under a second:
ffmpeg.exe -i file.wav -b:a 24k -c:a libopus FileFromFFmpeg....
0
votes
0
answers
130
views
Opus codec bitrate scalability
On the website of the Opus code, there is an example demonstrating bitrate scalability. This example is intended to "demonstrates what happens when gradually varying the bitrate".
This ...
0
votes
0
answers
116
views
Cross compiling ffmpeg: error while adding libopus: undefined reference to `__memcpy_chk'
I have set in the cmake file the following:
set(STACK_PROTECTOR_SUPPORTED 0)
set(FORTIFY_SOURCE_SUPPORTED 0)
However ffmpeg configure fails at this point: (from config log)
...
...
rnx/...
0
votes
0
answers
334
views
Change sample rate in OggOpus metadata (48 kHz to 44.1 kHz) without re-encoding
I have many Opus encoded files that play high pitched in any player because somewhere in the metadata they are marked as 48 kHz (or unmarked but assumed to be 48 kHz) but are in fact 44.1 kHz. If I ...
0
votes
1
answer
185
views
Is it possible to add text (e.g. a transcription or lyrics) to AMR or OPUS sound files?
Is it possible to add text (e.g. a transcription or lyrics) to AMR or OPUS sound files? Googling for this mostly returns transcription services, not whether there are defined meta data fields for this ...
0
votes
0
answers
549
views
Keep album art with ffmpeg while cutting an opus file
ffmpeg -ss 4.6 -i 1.opus -c copy 2.opus
Cuts the file as required but it also removes the album art. Same command works for mp3 files, the album art doesn't get removed for mp3.
Edit:
I see the ...
3
votes
1
answer
5k
views
How can I convert an Opus audio to a format usable by iOS?
How can I convert an Opus audio file with the distributed ffmpeg binaries to a format usable by iOS?
Is there a way to do it without compiling FFmpeg?
FFmpeg details:
ffmpeg --version ...
1
vote
0
answers
2k
views
Add cover art to opus file using ffmpeg
I'm trying to embed a cover art to an .opus (ogg container) audio file. I'm aware ffmpeg recently added support for that function according to this ticket:
https://trac.ffmpeg.org/ticket/4448
Tried ...
0
votes
1
answer
826
views
reduce my 90gb collection of mp3 to about 10gb
got an insanely simple and working script already:
#!/bin/bash -x
mkdir .before
mkdir .error
for i in *.m??; do
ffmpeg -n -i "$i" -b:a 16k "${i%.*}.opus" && mv &...
0
votes
1
answer
1k
views
ffmpeg Unknown encoder 'libopus' centos7
I am new to centos7. I installed the FFmpeg for converting mp3 files to opus (Telegram Bot). However, I tried many ways to install it, every time I got the same errors!
For example, I used these ...
2
votes
1
answer
2k
views
Convert WebM to Opus without encoding?
Tried all various commands with ffmpeg and also tried using mkvconvert and while they both instantly convert or extract the .opus from the .webm file.. the problem is the output file is always ...
0
votes
0
answers
540
views
MPlayer doesn't play libopus in TCP MPEG-TS stream by ffmpeg
I'm trying to setup ultra-low p2p streaming using FFMPEG and MPlayer with MPEG-TS stream over TCP. As aac codec introduces notable additional latency, I'd like to use libopus instead. When I do so, ...
19
votes
0
answers
9k
views
Extracting Opus from WebM losslessly with FFmpeg or MKVToolNix
I have come across a strange problem when remuxing Opus audio stream from WebM to another container like ogg or opus.
Running the output files through a spectrum analyzer clearly shows that there is ...
1
vote
0
answers
1k
views
ffmpeg encoding using ogg with opus container
I am wanting to send whatsapp voice notes and we are needing to convert sample.mp3 to sample.ogg (with opus codec) is this command correct?
ffmpeg -i sample.mp3 c:a libopus sample.ogg
4
votes
2
answers
5k
views
FFmpeg drops the Album Art
Everytime I encode my songs to lossy formats, the output file keeps the tags (title, artist, album, etc...), but drops the album art.
I tried to encode to any lossy format, including AAC, OGG and ...
2
votes
1
answer
7k
views
Why do audio files converted from OPUS to M4A have a much higher bitrate?
When doing:
youtube-dl -xf bestaudio/best <link to playlist>
...I get a lot of OPUS files at relatively "normal" bitrates like 130kbps.
However, when I run the same command with the ...
8
votes
3
answers
6k
views
Add album art cover to an OGG/opus file from the command line
I managed to add an album art cover to an OGG/opus file with Kid3 - Audio Tagger but I'd like to do it via the command line on all the files of an album.
I tried with ffmpeg but it did not work :
$ ...