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.

Opus is a lossy audio coding format developed by the Xiph.Org Foundation and standardized by the Internet Engineering Task Force, 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.

22 questions
19
votes
0 answers

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 loss/change in the data. I'm not sure if the…
alexitx
  • 359
8
votes
3 answers

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 : $ ffmpeg -i myMP3File.opus -i Back_Cover-SMALLER.jpg…
SebMa
  • 2,035
5
votes
2 answers

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 OPUS. They all drop the album art... except MP3. I've…
3
votes
1 answer

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 …
Human
  • 623
2
votes
1 answer

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 slightly smaller in size, instead of being the exact…
goldnick7
  • 440
  • 1
  • 5
  • 14
2
votes
1 answer

Why do audio files converted from OPUS to M4A have a much higher bitrate?

When doing: youtube-dl -xf bestaudio/best ...I get a lot of OPUS files at relatively "normal" bitrates like 130kbps. However, when I run the same command with the additional stage of transcoding the downloaded OPUS files to…
Hashim Aziz
  • 13,835
1
vote
1 answer

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 rewritten to L R C Lb Rb LFE. however if downmixed…
1
vote
0 answers

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 source identifier" and that how you can filter by an audio…
Tono Nam
  • 889
1
vote
3 answers

How to edit Opus metadata 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't support duplicate fields. All existing…
Matthew
  • 308
1
vote
1 answer

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. My MP4 input file (a music video) is encoded…
peppy
  • 13
1
vote
0 answers

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 problem is that "Stream #0:0: Audio" is getting copied…
gom
  • 233
1
vote
0 answers

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 with multiple command parameters but so far i…
1
vote
0 answers

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
0
votes
0 answers

ffprobe returns "n/a" for bitrate in ffmpeg encoded opus audio file

I used ffmpeg to transcode an MP3 audio file to opus (using libopus option) at 32kbps and 24kHz sample rate. Then I called ffprobe to retrieve the bitrate (stream=bit_rate option). The result I got was N/A. If I use opusinfo.exe to retrieve the…
0
votes
0 answers

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 command, there is a slight decrease in bitrate (as an example, 131kb/s to 115 kb/s). Is there a way to prevent this…
1
2