videoffmpegvideo-streamingtranscoding

How to set bitrate limit in FFMPEG


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


Solution

  • You can use this code

    ffmpeg -i myfile.avi -b 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k out.m2v