Convert wav to mp3 using ffmpeg

simple:

ffmpeg -i input.wav output.mp3

complex:

ffmpeg -i input.wav -ab 128k -ar 41k -acodec libmp3lame output.mp3

-ab                 set bitrate (in bits/s)
-ar rate            set audio sampling rate (in Hz)
-acodec codec       force audio codec (‘copy’ to copy stream)

  1. mattbindoff posted this