Media Editing with AV Foundation

by Bob McCune on March 25, 2013

This past weekend I spoke at the CocoaConf event in DC. This was my first time attending CocoaConf so didn’t know what to expect, but I was very impressed by the format and quality of the conference and thought the organizers did an excellent job. I’m speaking again in San Jose next month and will post a more thorough review of the conference when I get back.

I gave a talk entitled “Composing and Editing Media with AV Foundation” where I dove into the details of the media creation and editing APIs. This is one of the more interesting areas of AV Foundation, but it is also the least documented which makes it particularly difficult to learn. Hopefully, this session and its associated sample app will make it easier for others to get started.

You can find the materials for the talk here:

Speaker Deck: Composing and Editing Media with AV Foundation
Slideshare: Composing and Editing Media with AV Foundation
GitHub: AV Foundation Editor

I’ll be giving this talk again next month so I look forwarding to seeing you at CocoaConf San Jose!


invalidname March 28, 2013 at 2:06 pm

Great talk. I really like your ambitious sample app, which exercises the important parts of the editing APIs like audio mixing and transitions / layering.

Bob McCune March 28, 2013 at 2:40 pm

Thanks! I appreciate the feedback. It was fun to build. Hoping to clean up a few things before the next CocoaConf.

Victor Aguado April 8, 2013 at 6:40 pm

Hi!! Awesome talk and code!!! it was helpful! I have a question, How i can mix 2 videos?, one is a background and other is a effect with alpha (like snow or rain for example).
Thank you very much! Thanks for all!

Bob McCune April 8, 2013 at 9:26 pm

You can composite video tracks together through the use of composition and layer instructions, but I doubt that’s the effect you are looking for. You’d most likely need to look into the realtime media processing features introduced in iOS 6. Unfortunately you won’t find much documentation yet on how to use these new capabilities. Your best bet is to take a look at Session 517 ( from last year’s WWDC.

Adam Cristian June 28, 2013 at 8:28 pm

Pretty awesome,I have get the AV Foundation DEMOS from the github,looking forward to your completion of Export&Composition functions.Thank u for your demos,it helps me a lot!