[FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

Robert Keir robertk at smithpower.co.za
Thu Jul 18 16:23:32 EEST 2019

Thank you. I'm new and still learning. :-)

I need to convert with the following settings:

Bitrate of 19.1kbps
1 channel
Sample rate of 16.0khz

How would that look in:

ffmpeg -i audio.mp3 -c:a libopus newfilename.ogg

Is the Writing library " Lavf58.28.102" the same as "WhatsApp"?

Thanks for all your help.

-----Original Message-----
From: ffmpeg-user [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Ted Park
Sent: Thursday, July 18, 2019 3:09 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] ffmpeg convert mp3 to opus codec (contained in ogg format)?

> Except for the dash you forgot ( -c:a libopus) this is indeed a very basic conversion to opus.

Good catch, it probably tried to write a file named “c:a” and asked for an explicit format

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list