2
I need to convert a flac file to a wav file without changing sample rate and bit depth. As far as I know changing these properties may distort the audio, so how do i specify them not to be changed?
Also, is there any way to prevent metadata to be written to the output file?
Edit: Apparently this is an XY Problem, I'm sorry, I'm new here. My problem is that I don't want to install flac on my OS X, because I'm trying to sandbox everything I use, so I need a single executable file, such as ffmpeg. I'll try @slhck's suggestion and check whether sample rate and bit depth change.
Edit: ffmpeg only preserves sample rate. Bit depth needs to be set manually.
Here is a solution to convert FLAC to WAV from stackoverflow.
– None – 2014-06-20T04:04:40.110Why do you want to use ffmpeg for the task? This sounds like a XY problem to me.
– a CVn – 2014-04-28T09:39:54.310@MichaelKjörling Not sure, I personally use ffmpeg for everything, even if there's a
flac
CLI tool, or anx264
CLI encoder, etc. It's not unreasonable to assume that someone would want to use ffmpeg even if there are "native" tools. – slhck – 2014-04-28T09:50:08.917@slhck I agree with the point you're making, but in this case I see nothing in the question to indicate why a non-ffmpeg solution wouldn't meet the OP's needs ("convert flac to wav without changing sample rate and bit depth"). The question isn't even explicit that using ffmpeg is necessary; it's only implicit in the question title. I think asking for the reason for the mention of ffmpeg is reasonable. – a CVn – 2014-04-28T09:58:01.990