I have a custom button in my application on click of which I present a UIImagePickerControllerSourceTypeCamera to take a video.
Now, after capturing the video I want to set a thumbnail of it to this custom button.
How to take 1st frame of that video to set thumbnail ?