I have a video, test.mp4, and an image, test.png.
test.mp4
test.png
test.png is a black image with a transparent \"hole\" in the center.
I used this on android and its working fine :-
String[] cmd = new String[]{ "-i", video.mp4, "-i", image.png, "-filter_complex", "overlay=0:main_h-overlay_h", outputFile.getPath()};