Encode an array of images to a movie file? (Iphone)

My app takes temporary photos and also records audio to go with it. The problem is that I don’t know how to turn it into a .mov / .mpeg file (I am new to this type of iPhone development). I heard something about FFMPEG, but apparently the license does not apply to the public distribution of iPhone applications. Anyone have any suggestions?

+4
source share
3 answers

you can use Theora aka VP3. it can be used freely in any application and has a pretty decent quality / data rate ratio

+1
source

I don’t know if the necessary parts of FFmpeg are needed for the GPL or not, but there are parts of FFmpeg that are licensed by LGPL.

They have a legal page that details this, so FFmpeg may be worth a closer look.

0
source

FFmpeg itself can be used in iphone applications distributed in the AppStore. See Wunderradio for an example: http://www.wunderradio.com/code.html

BUT ... I am now experimenting with this, and I'm a little disappointed with the quality of the result. (not to mention the encoding is sloooow on iphone). It seems to me that without the x264 library it is impossible to create mpeg-4 video with decent quality. And x264 is licensed by the GPL, so if you use it, you must uncover the whole source of your project. (Or did anyone understand how to choose some useful codec from LGPL-d FFmpeg?)

I do not understand that there are now many video editing applications in the appstore. How do they work? I did a rather thorough search and could not find any mpeg-4 codec with a sufficiently permissive license. Do they violate the GPL? Do they use a private API? I really do not believe that they built the mpeg4 homebrew encoder.

0
source

All Articles