The Convert to FLAC script converts audio files compressed with alternative lossless codecs (Monkey's Audio, Shorten, etc.) to the FLAC format.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHANGELOG.txt
LICENSE.txt
README.md
convtoflac.sh

README.md

Introduction

FLAC is a free, open source lossless compression audio codec. The Convert to FLAC script converts audio files compressed with alternative lossless codecs (Monkey's Audio, Shorten, etc.) to the FLAC format. FLAC is my preferred audio format for archiving music, so I wanted an easy way to convert other formats to FLAC. In addition to simply transcoding the file to the FLAC format, Convert to FLAC also preserves any existing tags from the original file.

Convert to FLAC is a BASH shell script, and was originally written for use under Linux. It should, however, run under any OS that supports BASH (please let me know if you find any bugs in cross-platform support).

Convert to FLAC currently supports the following input formats:

Note: As of version 2.1, Convert to FLAC supports ffmpeg as an optional decoder, which can be used to convert files if you do not have the required binaries as listed above (eg., for converting APE files, since mac can be difficult to find and install). Please be aware that using ffmpeg as an alternative also has its drawbacks:

  • ffmpeg cannot read metadata, so any existing tags will not be copied to the new FLAC file
  • not all fomats are supported; ffmpeg can only be used for ALAC, APE, MLP, Shorten, WavPack, and WMA Lossless files
  • ffmpeg cannot pipe output directly to the flac, so the conversion process will take longer as it must first write out a temporary WAV file