[FFmpeg-user] Problem converting to mp4 with exact video bit rate

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Feb 13 16:16:52 EET 2018

2018-02-13 10:16 GMT+01:00 Vikram Arora <vikram.arora1985 at gmail.com>:

> ffmpeg -i src_file.mp4 -y -ab "512k" -ac "2" -c:a "libfdk_aac"
> -ar "44100" -c:v "libx264" -r "29.97"

This does not look like a correct frame-rate, try "-r 30000/1001"

> -b:v "512k" -minrate "512k" -maxrate "512k" -bufsize "512k"

You will have to decide if you want constant bitrate ...

> -crf "23" -threads 1 dest_file.mp4

... or constant quality.

Carl Eugen

More information about the ffmpeg-user mailing list