tldr/pages/common/flac.md

20 lines
486 B
Markdown
Raw Normal View History

2018-01-09 00:47:05 +00:00
# flac
> Encodes, decodes and tests flac files.
- Encode a wav file to flac (this will create a flac file in the same location as the wav file):
2018-01-09 00:47:05 +00:00
`flac {{path/to/file.wav}}`
2018-01-09 00:47:05 +00:00
- Encode a wav file to flac, specifying the output file:
`flac -o {{path/to/output.flac}} {{path/to/file.wav}}`
2018-01-09 00:47:05 +00: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 00:47:05 +00:00
2018-01-09 18:39:53 +00:00
- Test a flac file for the correct encoding:
2018-01-09 00:47:05 +00:00
`flac -t {{path/to/file.flac}}`