I am trying to convert few .wav files to .mp3 format

The desired .mp3 format is :

enter image description here

I tried with FFmpeg with this code :

ffmpeg -i input.wav -vn -ac 2 -b:a 160k output1.mp3

This is the output of this command on one .wav format

enter image description here

I am getting the result but two things are different Overall bit rate mode and Writing library

  • Writing library: LAME3.99.5 vs LAME3.100 ( I think this shouldn't make any problem?)
  • bit rate mode Constant Vs variable

How to change bit rate mode from variable to Constant? and do I need to convert using the same Writing library?


  • 3
    $\begingroup$ I’m voting to close this question because this is an FFmpeg usage question, not a signal processing question as is. (and the ffmpeg documentation will tell you how to set the bitrate mode) $\endgroup$ – Marcus Müller Jul 28 '20 at 12:52
  • $\begingroup$ @MarcusMüller I tried with ffmpeg documentation but it's not working out, that's why I posted here. $\endgroup$ – Aaditya Ura Jul 28 '20 at 13:10
  • $\begingroup$ Sorry, that doesn't make it on-topic here :( $\endgroup$ – Marcus Müller Jul 28 '20 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.