No ,
You still have a lot of work and I am not sure how you are going to do it, I do have some ideas. But
If you are going to use ffmpeg
You still need to build the libraries.
You still need libavcodec and llibavformat(if you are doing audio).
Where it differs from playing video is that you have to get your jpegs into somekind of stream.
The way they do this outside the iphone is using something like mencoder or mp4creator not usually ffmpeg.
FFmpeg does have some merging capability though.
So assume you can get your images into somekind of stream, if your merging video with images for instance, you are going to have to find the index of the frames in the video where you want to do the insert (probably on an iB frame) than run through an encoding loop , most likely on a seperate thread, than continue adding the original video were you left off.
Final result will be a new stream with the video.
if this is h264 for you can feed it back to the iphone movieplayer you probably are going to need libx264, this is not convered under the lgpl license so you are like going to have to alter any build script you use.
If you are going to include audio, you are going to have to interleave that with the video. You most likely need libaac for that. Lame won't give you output playable on the iphone.
Sounds like a fun project , good luck.
Remember any mods that you do to ffmpeg have to be published, and to comply with the lgpl license you have to publish all your natual objects. refer to the ffmpeg lgl page for guidelines.
|