Skip to content

(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

2 Trackbacks/Pingbacks

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

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