New
#21
ThanksYou can dramatically reduce the size of a video file by using higher compression levels. The Constant Rate Factor (CRF) is used to specify compression. In addition, you can specify how much time it spends processing each frame, from 'ultrafast' to 'veryslow'. The longer you take, the better the quality of the compressed video. Typically I use....
ffmpeg -i input.mp4 -crf 28 -preset veryslow output.mp4
...which generally takes about four times as long as the video length (I leave it running over night for long videos).
https://trac.ffmpeg.org/wiki/Encode/H.264