How to Play, Record and Merge Videos in iOS and Swift | raywenderlich.com

Learn the basics of working with videos on iOS with AV Foundation in this tutorial. You’ll play, record and even do some light video editing!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/10857372-how-to-play-record-and-merge-videos-in-ios-and-swift
1 Like

Are you planning to update this tutorial on editing videos as well? Would love to see some animations and masking :slight_smile:
https://www.raywenderlich.com/2734-avfoundation-tutorial-adding-overlays-and-animations-to-videos

With the latest iOS when you merge videos that are trimmed in photos app, the final video is cut in half. Any idea how to fix this?

Hey @bvrr557,
Sorry, I haven’t looked into the changes that occur to the file when trimmed by Photos app.

The videos are merged in the correct orientation but is not centred in the frame. Tried with landscape as well as portrait videos. How can we fix that?

1 Like