11
How can I convert a WAV file to an FLAC file with ffmpeg?
I need to make various files one in 16 Bit, one in 24 bit and one in 32 Bit.
I also need to make different sample rates. E.g one in 176,400 kHz and one in 44,100 kHz. I know ffmpeg -i input-file.wav output-file.flac will convert the file but I am not sure about the rest.
The ffmpeg documentation (https://www.ffmpeg.org/doxygen/2.1/flac_8h.html) is not very helpful with this.
For anyone reading this answer later, "16 and 24 bit samples" is referring to "Bit Depth", as opposed to "Bit Rate". "Bit Depth" is sometimes also referred to (By VLC for example) as "Bits per Sample". – Andy Mercer – 2018-03-03T13:36:54.750