Is there a solution only using the Android SDK?
Not really.
Your main feature is MediaRecorder video recording and it does not support anything on the list. For example, for any Android device, there is no need to support square videos.
You can also use camera previews to assemble your own videos from individual frames. Guilt does it, AFAIK. There you could use existing Bitmap tools to handle cropping, resizing, and rotation. However, it will be slow, and doing this work in a way that can keep up with a reasonable frame rate will be difficult. In addition, I do not know if there is a library that can stitch these frames together in a video or use any sound (camera previews are clear images).
source share