Convert FLAC to MP3

From BakaBT Wiki
Jump to: navigation, search

The benefits to this are obvious, the files are smaller and have better support among software and hardware players (also use less power when playing on supporting MP3 players). This article shows how to turn Free Lossless Audio Codec (FLAC) files into MP3 files. The drawbacks also exist too; MP3 is a lossy format. FLAC is lossless, which means it loses no audio information from it's original source, it is just compressed and can be returned to its original state at any time.

Contents

How to convert using Windows

Requirements

 LAME MP3 Encoder (alternate link) ---> You need this software for the conversion to MP3. 

Foobar 2000 ---> A popular audio player with a wide range of support for playing audio files
and converting them to other formats.

Converting from FLAC to MP3 should not take too long and won't take up too much hard drive space.

Step 01 - Installation

The steps involved are self explanatory and don't need to be explained in detail here. The installation should be very quick and you will have the option to run Foobar 2000 for the first time at the end of the process. Run the Foobar 2000 installation.

You must also install the LAME MP3 encoder software onto the computer, which is not so straight forward but still easy. If it is in .zip form, extract it to a folder. If it comes in the form of a .exe file, just install it like any other application.

Step 02 - Adding files

The files will be displayed in the playlist panel. You can play the file now if you wish as FLAC is natively supported by Foobar 2000. Open FLAC files in Foobar 2000, either use the Open Files option in the file menu or simply drag and drop FLAC music files onto the program window.

Step 03 - Converting

Now click Convert to... and Foobar 2000's conversion options will pop-up on the screen. Move the mouse down to the Convert sub-menu as shown in the picture above. Select a FLAC file (if you want to select many then just hold down the CTRL or SHIFT key and click them) and right click on it.

Converter Setup

Foobar 2000 is a very powerful application on its own, but for some of the conversions it will need outside software (might even need a plug-in simply to support the source audio, APE for instance). From the Encoding Preset drop-down menu, select MP3 (LAME). The Converter Setup program allows you to select different audio formats to convert source audio files to.

Now click the button labelled "..." beside the Output format drop-down box. This will allow you to select a bitrate and determine the output quality of the resulting MP3 file(s).

Bitrate Settings

Recommended setting for upload to BakaBT is "Best quality, V0". Move the slidebar to the left for lower quality but smaller files, and to the right for higher quality and larger files. The default setting is V2. Make your bitrate selection and click OK. This is a variable bitrate option which means the bitrate does not stay constant, so the indicated bitrate is only an estimate.

  • Note: As MP3 is a lossy audio format, there will be audio information discarded in the FLAC --> MP3 conversion. This discarded information will not be automagically re-added back to the file if you convert it back from MP3 to FLAC. So you should never convert an MP3 file to a FLAC file just to make it seem like a higher-quality file.

You will now be back at the Converter Setup. Click OK and Foobar 2000 should now attempt to locate the LAME.EXE file.

Conversion Process

Please remember to always check the output MP3 files before you delete the FLAC files. If you selected multiple files then it will go through them one by one. In most cases, this conversion will happen very quickly.

Hopefully you will have successfully converted FLAC audio to MP3 audio for your personal use. If you need to repeat this process again, you won't need to point out LAME.EXE anymore to Foobar 2000, just right click and select Convert to.


Without locating the lame.exe file, Foobar 2000 won't be able to convert the FLAC audio to MP3. Navigate to the folder where the LAME encoder files were extracted/installed to, select lame.exe and click Open.

How to convert using OS X

Step 1 - Installation

First, we need to get Max. Scroll down to the Download section, and either download the stable (first link, old but works) or the unstable (third link, has some improvements not in the stable version, but may not work.) version. When it's downloaded, double click it if necessary to extract it, open the resulting folder and drag Max.app to your applications directory. If you're not sure, get the stable.


Step 2 - Configuring Output

Now, open Max. Click Formats. It does not have a window by default, so don't worry if nothing appears. (Check your menu bar/dock.) With Max in the foreground, hit Cmd+, (that's a comma) to bring up preferences. The default settings will work for most people. In the bottom list there, click MP3. (Or another format, if you prefer.) Click +.

NOTE: If you care about the quality of your audio, you should select Custom in Encoder Quality, set the Encoder Target to Bitrate, move the Bitrate slider to the hard right, and make sure Restrict encoder to constant bitrate is unchecked. (Constant bitrates are silly and wasteful.)

Close the preferences window. Then, click the checkbox beside the newly created MP3 row in the table. (If you create another format like you just did with MP3 and select it, your FLACs will be converted into one of every format you configured.) You may wish to configure stuff in Output, but the defaults spit the MP3's out in your music folder, which is a sane default. Click OK.

Step 3 - Converting Files

Note: The tea is optional. Make a cup of tea. Click open. A file selector comes up, use it to find all the FLACs you wish to convert. Once you're satisfied, click convert. Click File, then Convert Files. If you want, select some files and modify metadata or album art using the toolbar buttons.

In the future, to convert more files in the same way, simple open Max, File > Convert Files, Select files, Convert. Done.