flac

Encodes, decodes and tests FLAC files. More information: <https://xiph.org/flac>.

Install

All systems
curl cmd.cat/flac.sh
Debian Debian
apt-get install flac
Ubuntu
apt-get install flac
Alpine
apk add flac
Arch Arch Linux
pacman -S flac
image/svg+xml Kali Linux
apt-get install flac
CentOS
yum install flac
Fedora
dnf install flac
Windows (WSL2)
sudo apt-get update sudo apt-get install flac
OS X
brew install flac
Raspbian
apt-get install flac
Docker
docker run cmd.cat/flac flac powered by Commando

Encodes, decodes and tests FLAC files. More information: <https://xiph.org/flac>.

  • Encode a WAV file to FLAC (this will create a FLAC file in the same location as the WAV file):
    flac path/to/file.wav
  • Encode a WAV file to FLAC, specifying the output file:
    flac -o path/to/output.flac path/to/file.wav
  • Decode a FLAC file to WAV, specifying the output file:
    flac -d -o path/to/output.wav path/to/file.flac
  • Test a FLAC file for the correct encoding:
    flac -t path/to/file.flac

© tl;dr; authors and contributors