How to convert an .mp3 to .flac

ffmpegflacmp3

Can someone tell me how I can convert an .mp3 audio file to .flac format using ffmpeg? I Googled extensively, but almost all resources point to converting .flac to .mp3, in such a way:

ffmpeg -i "input.flac" -ab 320k -map_meta_data 0:0 "output.mp3"

Best Answer

Did you try ffmpeg -i input.mp3 output.flac already?