Video with AVFoundation

AVFoundation is Apple’s advanced framework for working with time-based media, such as audio and video. This course covers the essentials to using the AVFoundation framework to create video based apps. Learn how to import videos, create thumbnails from them, play live videos in SwiftUI, setup capture sessions to preview and capture still images, record movies files; and merge multiple video clips. By Brian Moakley.

4.2 (5) · 2 Reviews

Download materials
Save for later
Comments
Share

Who is this for?

This course is for intermediate iOS developers who are comfortable with the Swift language, SwiftUI and know their way around Xcode.

Covered concepts

  • Import Videos with PHPickerViewController
  • Video Player in SwiftUI
  • Video Playlists
  • Picture in Picture
  • Previewing the Camera
  • Taking Photos
  • Recording Video
  • Splicing Videos Together

Part 1: Video with AVFoundation

01
Toggle description

Get started with working with videos by importing videos into your app by way of the PHPickerViewController.

Toggle description

Leverage the AVAssetImageGenerator to produce thumbnails for each of your videos.

Toggle description

Learn how to incorporate video playing in your SwiftUI app.

Toggle description

Learn how to create a list of videos and then play those videos one after another using an AVPlayerViewController.

Toggle description

Understand how to add picture-in-picture capability to your app so your users can watch your video in a small floating window.

Toggle description

Use AVFoundation to access the camera and show a live preview on the screen.

Toggle description

Learn how to take pictures with AVFoundation and then how to control the flash on demand.

Toggle description

Unlock the video camera on your phone and then learn how to access your recordings in your code.

Toggle description

Learn how to take several video sources and produce a merge preview of them.

Toggle description

Take several videos and merge them into a singular video that you can save to your phone.