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}}`
2018-01-09 01:47:05 +01:00
- Decode a flac file to wav, specifying the output file:
`flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}`
2018-01-09 01:47:05 +01:00
2018-01-09 18:39:53 +00:00
- Test a flac file for the correct encoding:
2018-01-09 01:47:05 +01:00
`flac -t {{path/to/file.flac}}`