(FFmpeg) How to convert ogg to mp3?

ogg is an open container format by the xiph.org foundation with no restrictions of software patents. ogg does have a higher quality of audio at smaller file sizes but not commonly supported on physical devices natively (MP3 players, iPhone, etc). 

Fortunately, ogg to mp3 is a standard and easy conversion. With audio to audio conversions setting -acodec maybe redundant as seen below:

$ ffmpeg -i input.ogg output.mp3  

Note: if an mp3 codec is required add -acodec libmp3lame

Love FFmpeg? Grab a copy of FFmpeg For Beginners on Kindle or Paperback to learn over 120 ways to master FFmpeg!

buy now on amazon

Trackbacks & Pingbacks 2

  1. From (FFMPEG) How to convert FLAC to mp3? - John Riselvato on 02 Apr 2020 at 12:44 pm

    […] Looking to convert an OGG to MP3? Check out this article. […]

  2. From (FFMPEG) How to convert wav to mp3? - John Riselvato on 03 Apr 2020 at 12:11 pm

    […] How to convert OGG to MP3? […]