简体   繁体   中英

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

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!!!

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM