![]() I hope this article has been of use and look forward to reading your feedback in the comments. ![]() The meta data has been maintained and my in car audio system reads this information and plays the tracks back perfectly.įFMPEG can be downloaded from the FFMPEG website. The resulting MP3 files work perfectly and are using a variable bit rate of around 220. Be able to process a number of files at the same timeĬ:\source (The folder I put all my FLAC files into)Ĭ:\source\done (The folder the original FLAC is moved into after processing)Ĭ:\output (The folder that the complete MP3 files are written to)Ĭ:\ffmpeg\bin (The location that FFMPEG is installed in) Batch Fileįor %%a in (“c:\source\*.flac”) do ( c:\ffmpeg\bin\ffmpeg -i “%%a” -aq 1 -map_metadata 0 -id3v2_version 3 “c:\output\%%~na.mp3”įFMPEG supports a number of quality presets for MP3, in this example I use -aq 1 which gives a variable bitrate of 190-250.Achieve a variable bit rate of around 220.With this in mind, I wanted to achieve the following: My in car audio system does not recognise FLAC so I needed to convert to MP3. It will pick up any FLAC file in c:\source and write out the corresponding MP3 file in c:\output. The batch file is very similar to the video version I used in the article on how to Quickly Convert MKV to M4V. Using FFMPEG to convert FLAC to MP3Īfter some trial and error, I settled on the following batch file. I decided to take a look at FFMPEG to see if it could manage audio and not only can it manage audio, but it does a fantastic job of converting FLAC to MP3. FLAC accomplishes this by using an algorithm that compresses the file to approximately 50 to 70 percent of its original size. FLAC audio is lossless which means you’re getting the same quality from your digital music as you are from your CD but as we know, MP3 can sound terrible if the wrong settings are selected. What is a FLAC (Free Lossless Audio Codec) file Free Lossless Audio Codec (FLAC) is a file format that shrinks an audio file’s size, which, as the word lossless in the name implies, results in no loss in audio quality or original data. I wanted to maintain any meta data and achieve a decent level of audio quality without a huge file size. I’ve been using FLAC for my audio collection now for a while but recently needed to convert some of them into MP3 for the in car audio system. Converting FLAC to MP3 using FFMPEG doesn’t have to be difficult.
0 Comments
Leave a Reply. |