5774 shaares
h264 encoding using intel QSV acceleration:
ffmpeg -i in.mp4 -c:v h264_qsv -global_quality 20 -look_ahead 1 out.mp4
look_ahead should be 1. global_quality can be from 1 to 51. Lower value represents better quality. ~25 should be equivalent to x264 CRF 23.