0

How can I change the bitrate of an .mp2 file usin ffmpeg.

So far I tried following:

ffmpeg -i myAudio.mp2 -minrate 160k -maxrate 160k -bufsize 160k myAudioNew.mp2

It creates me an Audio but if I go into the file details (Windows) the bitrate is different.

2
  • Have you tried setting the bitrate -b:a 160k?
    – Gyan
    Commented Jan 18, 2017 at 17:40
  • @Mulvya That worked, would you like to answer so I can thank you
    – utdev
    Commented Jan 19, 2017 at 8:55

1 Answer 1

0

No bitrate was expressly set. Use

ffmpeg -i myAudio.mp2 -b:a 160k -minrate 160k -maxrate 160k -bufsize 160k myAudioNew.mp2

Not the answer you're looking for? Browse other questions tagged .