I have some MP3s that are in 48000 Hz sampling frequency. I'd like to burn them to CD, so I have to reduce the sampling frequency into 441000.

How to do that using ffmpeg?


ffmpeg doesn't look to be the appropriate tool; I'd normally use sox for audio-only files.

$ sox file1.mpg -r 44100 file1-enc.mpg

If you want to try using ffmpeg anyway, I think the correct command would be

$ ffmpeg -i file1.mpg -ar 44100 file1-enc.mpg
  • Yes sox is much better for audio, thanks for the tip! Jan 4 '12 at 11:17
  • 9
    ffmpeg supports sox resampler since 1.1
    – Benja
    Apr 10 '14 at 15:04
  • 2
    sox didn't directly work with MP3s for me. I had to install libsox-fmt-mp3
    – gsmafra
    Mar 21 '16 at 18:58
  • 22
    ffmpeg is a perfectly appropriate tool, though it may be overkill in a way. Aug 10 '18 at 15:44
  • 3
    And if you need constant bitrate (CBR), you can add something like -b:a 64k (trac.ffmpeg.org/wiki/Encode/MP3).
    – Ryan
    Feb 18 '19 at 15:41

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.