Arts >> Music >> Digital Music

How to Convert OGG to MP3 Using the Command Line

OGG Vorbis is an open source audio format, developed as an alternative to the proprietary MP3. While OGG audio is superior to MP3 in many ways, it is not supported by all media players and applications, so you may have to convert your OGG audio to MP3. If you have a large audio library, converting these files can take a long time, so you'll need to speed up the process. Command line conversions are among the fastest methods of converting audio.

Instructions

    • 1

      Download and install a command-line audio conversion program that handles both OGG and MP3 formats. One of the best is SoX, a free, open-source program for Linux, Mac and Windows. Other conversion programs are available, including dBpoweramp and Media Monkey, though most of these work with a specific operating system and may cost money.

    • 2

      Open your operating system's command line interface. In Windows, this is Command Prompt, found under Accessories in the Start menu. Mac calls it Terminal, found under the Utilities folder. Linux distributions may call it a terminal or shell; it's usually found under the Accessories tab in most graphical interfaces.

    • 3

      Type the command to convert the file and press "Enter." The command is usually the name of the program, followed by the OGG filename, then the MP3 filename. Consult your program's documentation if unsure. In SoX, the command looks like this:

      sox file.ogg file.mp3

      If your import and export files will be in different directories, enter the complete path.

Digital Music

Related Categories