0

I am thinking to start the development of a new project and I have some ideas in mind, but I am not sure how much is doable in android.
The steps of the app would be:

  1. The user selects a set of images from Gallery
  2. The user selects an audio file from external storage
  3. I combine the images and the sound (each image is displayed for a timeframe) into a movie file that can be exported to YouTube

From my research I wasn't able to find any way to create the movie. All the answers contained links to android NDK and external codecs.

So my question is: which would be the easiest way of making this on android?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Alin
  • 14,809
  • 40
  • 129
  • 218

1 Answers1

0

Okay, your idea is feasible. You need to have Ffmpeg compiled for android. First have a look for it at Stack link.Then decide yourselves as per need.

After you have Ffmpeg compiled for android, you can just search and extract/add audio as per your needs. To give a a start have a look at this and FFmpeg Docs Guide/Official Example.

To make video from images have a look at Ffmpeg official example. You can find plenty of these on google.

After having all these things on your hand, you are ready for your project. I would suggest to try and familiarize yourself for Ffmpeg on Windows/Linux as per your need first.

Hope this would help.

Cheers.:)

Community
  • 1
  • 1
BlueSword
  • 1,290
  • 12
  • 25
  • Thanks @Jay for your detailed answer. So just to get thing straight, there are no real android api that allow this – Alin Feb 04 '14 at 17:25
  • @Alin no there is no direct API in android – BlueSword Feb 04 '14 at 17:27
  • Thank you for your answer. I will try it in the next days and accept the answer if it works. – Alin Feb 05 '14 at 13:07
  • I am getting lost. In one of your links there was a pretty cool implementation ffmpeg4android but that requires licensing. I think that somehow I can manage to compile the sources with androud ndk and copy them to jdi folder, but from there I have no idea how to continue. Any hints ? – Alin Feb 07 '14 at 17:48