snippetbashTip
flac — Encode, decode, and test FLAC files. More information: <https://xiph.org/flac/>.
Viewed 0 times
commandandcliencodedecodetestflac
Problem
How to use the
flac command: Encode, decode, and test FLAC files. More information: <https://xiph.org/flac/>.Solution
flac — Encode, decode, and test 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|--output-name]}} {{path/to/output.flac}} {{path/to/file.wav}}Decode a FLAC file to WAV, specifying the output file:
flac {{[-d|--decode]}} {{[-o|--output-name]}} {{path/to/output.wav}} {{path/to/file.flac}}Test a FLAC file for the correct encoding:
flac {{[-t|--test]}} {{path/to/file.flac}}Code Snippets
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|--output-name]}} {{path/to/output.flac}} {{path/to/file.wav}}Decode a FLAC file to WAV, specifying the output file
flac {{[-d|--decode]}} {{[-o|--output-name]}} {{path/to/output.wav}} {{path/to/file.flac}}Test a FLAC file for the correct encoding
flac {{[-t|--test]}} {{path/to/file.flac}}Context
tldr-pages: common/flac
Revisions (0)
No revisions yet.