Using `ffmpeg` in Android, you can execute a command similar to: `-framerate 1 -i image%d.png -c:v libx264 -r 30 -pix_fmt yuv420p /sdcard/output.mp4` via an Android FFmpeg library like Mobile-FFmpeg or FFmpegMediaMetadataRetriever.