How to set the bitrate with ffmpeg

Card Puncher Data Processing


The bitrate with ffmpeg is a parameter that sets the quality of your video.

You can set the bitrate:

  • directly by giving a value with b:v (if you care about the exact file size)
ffmpeg -i input_video.mp4 -b:v 10M output_video.mp4
  • or indirectly by giving the Constant Rate Factor (CRF) of the encoding scheme 1)- if you want to retain good visual quality and don't care about the exact bitrate or filesize of the encoded file.

Discover More
Card Puncher Data Processing
How to reduce the size of a video dramatically with ffmpeg ?

This article shows you how to reduce the size of video with ffmpeg. The following parameters have an important on the size: * the codec: the codec is the algorithm that encodes the picture into the...

Share this page:
Follow us:
Task Runner