Search code examples
iphoneios4crop

Cropping videos in iOS


We can crop images. Can we crop videos?


Solution

  • Since video is a collection of pictures you can crop all frames from video and after create new video. AVFoundation guide describe some tasks: Putting it all Together: Capturing Video Frames as UIImage Objects After this you crops images and write video

    You can use an asset writer to produce a QuickTime movie file or an MPEG-4 file from media such as sample buffers or still images.

    See for more details AV Foundation Framework