Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I agree with Mark. Among the C/C++ libraries are ffmpeg <a href="http://www.ffmpeg.org/" rel="noreferrer">here</a> or X264 <a href="http://www.videolan.org/developers/x264.html" rel="noreferrer">here</a>. I have to say I havn't found them or the Android NDK easy to use but that's probably because I don't really know much about C/C++ and JNI. If you're interested in this route, then the RockPlayer free app for Android has the pre-built shared libraries from ffmpeg ready for use on Android. They claim these libraries only use LGPL components but you'd have to satisfy yourself on this, I guess. With regards to Java, there is a port (of sorts) of ffmpeg called, unsurprisingly, jffmpeg which you can access <a href="http://jffmpeg.sourceforge.net/" rel="noreferrer">here</a> but it still calls out to much of the existing ffmpeg framework, so you're back in NDK land. It is possible to convert a series of images to video with the Java Media Framework (JMF) but it has the following drawbacks:</p> <ol> <li>Limited number of video formats.</li> <li>Doesn't produce videos which can be played back on most (if not all) Android phones e.g. H264 or MPEG4.</li> <li>The JMF code is now quite old, hasn't progressed in a long time, is bloated and not well structured so there may be additional Java dependencies which are not packaged in Android.</li> </ol> <p>Another option I've seen used is Adobe Air, but it's a 17Mb payload which some users complain about.</p> <p>There are lots of other questions here on Stack Overflow regarding ffmpeg and Android NDK.</p> <p>Good luck with the project.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload