and to add a last snippet, I much prefer HandbrakCLI over ffmpeg for x264 encoding. I've not yet found an ffmpeg preset (or any setting) that can match HB in terms of quality and speed.
My favourite for medium encoding is:
Code:
-e x264 -q 20.0 -E faac -B 160 -6 dpl2 -R Auto -D 0.0 -f mp4 --strict-anamorphic -m -x ref=2:bframes=2:subme=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0
share yours....