Skip to content

haru52/convertflac

Repository files navigation

convertflac: Convert FLAC CLI

Test Release CodeQL Copy/Paste Contributor Covenant Commitizen friendly semantic-release: conventionalcommits

Overview

convertflac converts FLAC audio files into ALAC or MP3 files.

Requirements

Tool Version
FFmpeg ^5.1.2

Installation

pip install convertflac

Usage

Usage: convertflac [OPTIONS] INPUT_DIRECTORY_PATH
                   [OUTPUT_DIRECTORY_PATH]

  Convert FLAC audio files into Apple Lossless Audio Codec (ALAC) or
  MP3 320kbps CBR files.

Options:
  -c, --codec TEXT  Set the output codec (alac or mp3. Default: alac).
  --version         Show the version and exit.
  -h, --help        Show this message and exit.

If you don't input [OUTPUT_DIRECTORY_PATH], convertflac makes alac or mp3 directory in the current directory and sets this alac/ or mp3/ as the output directory.

Update

pip install -U convertflac

Uninstall

pip uninstall convertflac

Description

  • convertflac converts FLAC audio files into Apple Lossless Audio Codec (ALAC) or MP3 320kbps CBR files
  • The output preserves the input directory structure
  • The output ALAC/MP3 files preserve the input FLAC files' metadata
  • If an ALAC/MP3 file with the same name already exists at the output directory, convertflac doesn't overwrite it

Versioning policy

Semantic Versioning 2.0.0

License

MIT

Contributing

Contributing Guideline

Documentation

Documentation | convertflac

Author

haru