Considering:
http://www.commandlinefu.com/commands/view/4045/convert-wav-files-to-flac
and
ffmpeg to convert from flac to wav
Out of ffmpeg
and flac
which should be used to convert wav
files to flac
? WHY?
Considering:
http://www.commandlinefu.com/commands/view/4045/convert-wav-files-to-flac
and
ffmpeg to convert from flac to wav
Out of ffmpeg
and flac
which should be used to convert wav
files to flac
? WHY?
Copyright © 2021 Jogjafile Inc.
Both will make the same decoded output
Make FLAC from WAV:
Compare MD5 hashes of each decoded file:
The input file:
ffmpeg
output:flac
output:This shows that both
ffmpeg
andflac
make the exact same output when decoded, and the decoded output of the FLAC files are exactly the same as the decoded WAV file.Differences
flac
was slightly faster in my single, lazyass test, but not significantly.ffmpeg
can decode a huge variety of formats (not that you should be making FLAC files from lossy inputs).ffmpeg
will always attempt to copy any existing metadata (but see--keep-foreign-metadata
forflac
).Summary
Both are great tools, so use whatever you prefer.