title: get the length of video selected or Recorded through iPhone Camera xcode
body: <p>I am working on Fetching a video from Video Library or Recording  a new video.Once selected in imagepicker method didfinishpickingmediawithinfo: i need to find th duration of Video that is selected from my Video album also the  on i recorded from Camera.
  I have used AVAsset  to fetch the duration in CMTime
  also i referred to MPMoviePlayer to fetch the duration of video but they don't provide me such property.</p>
  
  <p>Any help would be appreciated</p>
  
  <p>Regards </p>