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:
ffmpegoutput:flacoutput:This shows that both
ffmpegandflacmake the exact same output when decoded, and the decoded output of the FLAC files are exactly the same as the decoded WAV file.Differences
flacwas slightly faster in my single, lazyass test, but not significantly.ffmpegcan decode a huge variety of formats (not that you should be making FLAC files from lossy inputs).ffmpegwill always attempt to copy any existing metadata (but see--keep-foreign-metadataforflac).Summary
Both are great tools, so use whatever you prefer.