The FFMpeg devs removed the "sc_factor" param a while ago, so just delete it from your command line.
For the "me_method dia" I have no idea what exactly this error message means. But it never harmed my encodes so far, so I kept this parameter. It may be because of this:
https://trac.ffmpeg.org/ticket/6771
Cheers
manolito