title: How to determine a video file's framerate with MediaCodec, MediaExtractor or MediaMetadataRetriever?
body: <p>How to I extract the frame rate of a recorded video file? I know that there is MediaFormat.KEY_FRAME_RATE and that I can access MediaFormat objects through MediaExtractor. However KEY_FRAME_RATE is only available for encoders. Instead I want to find out the frame rate of an already recorded video.</p>
  
  <p>Any ideas?</p>