Answers for "write wav file using ffmpeg"

1

ffmpeg convert to wav

ffmpeg -i filename.mp3 newfilename.wav
Posted by: Guest on April-19-2021
0

ffmpeg flac to wav

# ffmpeg will not change sample rate unless you tell it to 
# (or the output codec does not support it, but then it will most probably fail). 
# So this should be enough:

ffmpeg -i input.flac output.wav

# ffmepg will however not preserve bit depth and default to 16-bit encoding, 
# so if your input is 24 bit, you have to use:

ffmpeg -i input.flac -c:a pcm_s24le output.wav
Posted by: Guest on June-12-2021

Browse Popular Code Answers by Language