How to implement trimming of video which is playing on AVPlayer?

1.4k views Asked by At

My requirement is to implement trimming and editing of video which is Playing on AVPlayer

Trimming: Can we customize AVPlayer player trimming like which we do in default editing of video through UIImagePickerController .I had found few links on showing progress bar,But here requirement is to display sequence of images there by editing Like default editing of UIImage picker controller

If any knowledge shared might help me!!!

1

There are 1 answers

0
Michael Dautermann On

We have access to a class called UIVideoEditorController which allows for movie editing. Here is a sample project that shows you how.

Separately, here's a tutorial on how to use AVExportSession to trim AVAssets (you'd likely need to modernize it for ARC).