This is a blog post by iOS Tutorial Team member Abdul Azeem, software architect and co-founder at Datainvent Systems, a software development and IT services company.
Recording videos (and playing around with them programmatically) is one of the coolest things you can do with your phone, but surprisingly relatively few apps make use of it.
This is likely because learning the technology behind video recording and editing in iOS – AVFoundation – is notoriously difficult.
And to make it worse, there is very little documentation on how to accomplish anything with AVFoundation. One of the few resources available is the WWDC 2010 AVFoundation session video, but it only takes you so far.
There should be an easier way. Thus was born this tutorial! :]
In this tutorial, we’ll give you hands-on experience with the AVFoundation APIs so you can start using them in your own apps. You’ll learn how to:
- Select and play a video from the media library.
- Record and save a video to the media library.
- Merge multiple videos together into a combined video, complete with a custom soundtrack! :]
Are you ready? Lights, cameras, action!