For crop the video in Android, the only solution I founded: ffmpeg library. After reading documentation I do not quite understand what parameters the command line receives. For example,
String[] cmd = {"-i", in, "-filter:v", "crop=" + 240 + ":" + 120 + ":" + 100 + ":" + 100, "-c:a", "copy", out};
How can apply the Rotation Angle?
What is the correct cmd for video cropping?