This is an old revision of the document!
Compression without important video quality loss (tested with relatively low quality full HD source):
$ ffmpeg -i input -vcodec libx265 -crf 24 output
=⇒ crf is the compression factor. Lower is better, 24 is about as low as is useful for libx265