user308990
user308990

Reputation: 61

Snapshot from a MPMoviePlayerController video

Is there a way I can take a snapshot of a movie or clip being played in iPhone's MPMoviePlayerController programmatically?

Upvotes: 1

Views: 1138

Answers (1)

Dimitris
Dimitris

Reputation: 13670

You are probably looking for this, available on iOS 4.x+

To facilitate the creation of video bookmarks or chapter links for a long movie, the MPMoviePlayerController class defines methods for generating thumbnail images at specific times within a movie. You can request a single thumbnail image using the thumbnailImageAtTime:timeOption: method or request multiple thumbnail images using the requestThumbnailImagesAtTimes:timeOption: method.

More at: http://developer.apple.com/iphone/library/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.htmlmethod.

Upvotes: 2

Related Questions