can I use AVfoundation to run a video that I recorded with a camera 180 that is not the canon or blackmagic, knowing the paramter of the lens?

Asked on 06/30/2025

1 search

Yes, you can use AVFoundation to work with video recorded with a 180-degree camera, even if it's not from Canon or Blackmagic, as long as you have the lens parameters. The Apple Projected Media Profile (APMP) supports working with 180 or 360-degree content that uses spherical metadata. AVFoundation has been updated to recognize compatible assets with spherical metadata, allowing you to treat the video as if it were signaled with APMP. This includes support for equirectangular projection and frame-packed, stereo, or monoscopic formats.

For more details on working with such media, you might find the session Learn about the Apple Projected Media Profile (08:37) helpful, as it covers asset conversion capabilities and how to handle spherical metadata in AVFoundation.

Learn about the Apple Projected Media Profile

Learn about the Apple Projected Media Profile

Dive into the Apple Projected Media Profile (APMP) and see how APMP enables 180º/360º and Wide FoV projections in QuickTime and MP4 files using Video Extended Usage signaling. We’ll provide guidance on using OS-provided frameworks and tools to convert, read/write, edit, and encode media containing APMP. And we’ll review Apple Positional Audio Codec’s (APAC) capabilities for creating and delivering spatial audio content for the most immersive experiences.

Learn about Apple Immersive Video technologies

Learn about Apple Immersive Video technologies

Explore the capabilities of Apple Immersive Video and Apple Spatial Audio Format technologies to create truly immersive experiences. Meet the new ImmersiveMediaSupport framework, which offers functionality to read and write the necessary metadata for enabling Apple Immersive Video. Learn guidelines for encoding and publishing Apple Immersive Video content in standalone files for playback or streaming via HLS. To get the most out of this session, we recommend first watching “Explore video experiences for visionOS.”

Build compelling spatial photo and video experiences

Build compelling spatial photo and video experiences

Learn how to adopt spatial photos and videos in your apps. Explore the different types of stereoscopic media and find out how to capture spatial videos in your iOS app on iPhone 15 Pro. Discover the various ways to detect and present spatial media, including the new QuickLook Preview Application API in visionOS. And take a deep dive into the metadata and stereo concepts that make a photo or video spatial.