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.

13 questions
16
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
  • 191
  • 1
  • 6
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
  • 1,573
  • 2
  • 19
  • 25
3
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…
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
  • 11,898
  • 35
  • 98
  • 166
1
vote
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
  • 511
  • 2
  • 9
  • 22
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
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
  • 372
  • 2
  • 14
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
1 answer

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 purpose? And secondly, if the answer is yes,…
d-b
  • 636
  • 1
  • 6
  • 24
0
votes
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
  • 213
  • 1
  • 2
  • 7
0
votes
1 answer

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 "$i" .before/ mv "$i" .error/ done echo zzz finished $TITLE |…
cregox
  • 5,804
  • 7
  • 49
  • 66
0
votes
1 answer

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 commands for installing and compiling the FFmpeg. Here…
Ali Lord
  • 3
  • 1
0
votes
0 answers

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, MPlayer behaves strangely and refuses to play…