|   | GNU/Linux Desktop Survival Guide by Graham Williams |   | |||
| Resize a Video | 
The video format H.265 compresses a video stream whilst well retaining
the quality. Here a video is input with -i, converted to
the video codec H.265 (libx265) with -vcodec,
using a Constant Rate Factor of 28 with -crf (24–30 is a
good range, with lower values giving better quality but larger files).
| $ ffmpeg -i myvideo.mp4 -vcodec libx265 -crf 28 smaller.mp4 |