9

How can I limit bitrate of a transcoding video in FFMPEG to keep it under a limit value?

Mahdi Ataollahi
  • 4,544
  • 4
  • 30
  • 38

2 Answers2

18

You can use this code

ffmpeg -i myfile.avi -b 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k out.m2v
Giacomo1968
  • 25,759
  • 11
  • 71
  • 103
7

Read the documentation here: http://www.ffmpeg.org/ffmpeg-all.html#Description

To set the video bitrate of the output file to 64 kbit/s:

 ffmpeg -i input.avi -b:v 64k -bufsize 64k output.avi
Saeed Ludeen
  • 368
  • 3
  • 11