Have you considered trying Handbrake as it has a few preset configurations for various handheld devices. Even it your phone is not one of the presets you can tweek one that is close to your liking and save your changes. I found Handbrake a lot easier to get "just right" than ffmpeg.