ffmpeg -i input.wav -c:a flac output.flac

Category: Media & Conversion

ffmpeg -i input.wav -c:a flac output.flac

Convert a WAV file to lossless FLAC

Compresses a WAV file to FLAC without losing any audio data, so the output plays back identically. FLAC typically shrinks music to roughly half its WAV size, which makes it great for archiving. Use soxi or ffprobe to confirm the output.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.