i need to create an app in which i have to breck video/mp4 files in to image frames.Please provide me any solution create different image frames from video files in iOS app.
Asked
Active
Viewed 845 times
1 Answers
2
MPMoviePlayerController *movie = [[MPMoviePlayerController alloc]initWithContentURL:[NSURL URLWithString:@"yourvideofilename.mp4"]];//replace your video file name
UIImage *singleFrameImage = [movie thumbnailImageAtTime:10 timeOption:MPMovieTimeOptionExact];
Try this above lines of code, i hope you got the result

Suresh Thoutam
- 258
- 1
- 7