1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:38:23 +01:00
tldr/pages/common/flac.md
2019-06-07 22:58:59 +01:00

531 B

flac

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}}