views:

102

answers:

1

Hello, Is there a way by which i can take a snapshot of a movie or clip being played in iPhones MPMoviePlayerController PROGRAMMATICALLY? Thx in advance

+1  A: 

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.

Dimitris