I want to concatinate 4 different videos of 4 different resolution and type into 1 video which can be played in android. I am using ffmpeg ported on android using https://github
You can use concat to append all the videos one by one after converting them to a single format.
You can also use the below command to convert differently formatted video to one format:
./ffmpeg -i 1.mp4 -acodec libvo_aacenc -vcodec libx264 -s 1920x1080 -r 60 -strict experimental 1.mp4
Convert everything to mp4
and then follow the instructions given in the link above. This will enable you to join all the videos in a single file.