(trac.ffmpeg.org) Encode/H.264 – FFmpeg
ROAM_REFS: https://trac.ffmpeg.org/wiki/Encode/H.264
- H.264 Video Encoding Guide
This guide focuses on the encoder x264. It assumes you have
ffmpegcompiled with--enable-libx264. If you need help compiling and installing see one of our compiling guides. See HWAccelIntro for information on supported hardware H.264 encoders.
There are two rate control modes that are usually suggested for general use: Constant Rate Factor (CRF) or Two-Pass ABR. Rate control decides how many bits will be used for each frame. This will determine the file size and also how quality is distributed. To know more about what the different rate control modes do see this post.