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.
23
questions
0
votes
0
answers
21
views
ffmpeg - How do I convert audio while preserving its bitrate?
I want to convert audio downloaded from YouTube (in OPUS codec) to OGG, but when I do this using the basic ffmpeg -i -vn <file> command, there is a slight decrease in bitrate (as an example, ...
1
vote
0
answers
22
views
no audio when encoding 5.1 ch audio to opus
when i was encoding a dts 5.1 ch audio that had the layout of C L R Ls Rs LFE , file using ffmpeg via libopus , i found that the resulting
file did not play in vlc, due to the channel layout being ...
0
votes
1
answer
43
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
86
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
74
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
510
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
196
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
134
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
131
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
344
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
196
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
564
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
843
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 &...