Question

I'm trying to develop an app on Android and I would like to know if it's possible to build a video with photos. I actually have several pictures (Bitmap), and I would like to create a video (programmatically) by animating these pictures I have. At the end, I would have a video file..

Is that even possible?

Was it helpful?

Solution

Yes it is definitely possible in android and can be achieved in two ways.

First and most common one, that most of the apps in android follow is to let users select certain images and then upload them to a server where you can use any video maker tool to create your desired slideshow and then send the video back to user's phone by provide a download link.

Second method is to create the video locally on the device which would require a native library like ffmpeg compiled for android which provides basic functionality of creating video but it doesn't provide any way to apply transition effects between images for that you can use another library ImageMagick. you need to have knowledge about NDK for this

follow this links for more details on how to import native lib in android

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top