1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/flac.md

21 lines
531 B
Markdown
Raw Normal View History

2018-01-09 01:47:05 +01:00
# flac
> Encodes, decodes and tests FLAC files.
2019-06-07 11:58:14 +01:00
> More information: <https://xiph.org/flac>.
2018-01-09 01:47:05 +01:00
- Encode a WAV file to FLAC (this will create a FLAC file in the same location as the WAV file):
2018-01-09 01:47:05 +01:00
`flac {{path/to/file.wav}}`
2018-01-09 01:47:05 +01:00
- 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:
2018-01-09 01:47:05 +01:00
`flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}`
2018-01-09 01:47:05 +01:00
- Test a FLAC file for the correct encoding:
2018-01-09 01:47:05 +01:00
`flac -t {{path/to/file.flac}}`