title: show video time length in thumbnail image in iphone
body: <p>In my app, I recorded the video &amp; also displaying the thumbnail Image in iphone. It all works fine. </p>
  
  <p>But my thumbnail image is not shows the video time length.</p>
  
  <p>I got the code from following link:</p>
  
  <p><a href="https://stackoverflow.com/questions/1347562/getting-thumbnail-from-a-video-url-or-data-in-iphone-sdk">ThumbNail Image</a></p>
  
  <pre><code>//my code
  
  NSURL *videoURL = [NSURL fileURLWithPath:url];
  
  MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:videoURL];
  
          UIImage *thumbnail = [player thumbnailImageAtTime:1.0 timeOption:MPMovieTimeOptionNearestKeyFrame];
  </code></pre>
  
  <p><strong>How can i solve this?</strong></p>