There is FFmpeg Static (binary) available for Android and we can stop/cancel some FFmpeg execution (command) while it\'s doing something https://github.com/WritingMinds/ffmpeg-a
the solution is to edit ffmmpeg class (add some variables to check if it should execute farther or not)