4

I am working on an application that will handle a lot of different types of media. This could be photos, videos, and audio. In the application I will display the media in a UICollectionView and the user can scroll through and pick which media they would like to view or play. It would be really nice if I could convert the last 5 seconds of video into a live photo and play the live photo as the UICollectionViewCell appears on the screen. Giving the impression that this media is a video and they can tap on it to play the video.

I know there has already been answers on SO about getting the video of a live photo, but I am trying to create a live photo from a video. Preferably the last 5 seconds of the video.

Question

How do I create a live photo from a .mov file?

Community
  • 1
  • 1
Brandon A
  • 8,153
  • 3
  • 42
  • 77

0 Answers0