ffmpeg to convert from flac to wav

青春壹個敷衍的年華 提交于 2019-11-28 23:17:32
Multimedia Mike

As rogerdpack commented, the command line:

ffmpeg -i inputfile.flac output.wav

should do exactly what you want.

Addressing your concerns about keeping the resulting audio intact, FLAC is a lossless format and decoding it to raw PCM stored in a WAV file will keep perfect fidelity. The only thing you might have to be concerned about is if your FLAC file is a higher than normal bit depth like 24, 32 or 64 bits per sample, or has a crazy multichannel configuration. I haven't kept up on whether FFmpeg supports all those combinations. However, most FLAC files are just 16-bit, 44.1 kHz audio files, so this shouldn't be an issue.

About scrubbing metadata, check this Superuser question.

sox infile.flac outfile.wav

should do exactly that, without copying metadata.

I used it to convert back a sound that grip converted from wav to flac and got exactly the same file as the original wav.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!