title: Android MediaMetadataRetriever setDataSource failed
body: <p>I'm trying to use Android <code>MediaMetadataRetriever</code> to get the length of recorded videos in mp4 format - but I'm getting the exception:</p>
  
  <pre><code>07-13 13:54:32.686: E/AndroidRuntime(19790): FATAL EXCEPTION: main
  07-13 13:54:32.686: E/AndroidRuntime(19790): java.lang.RuntimeException: setDataSource failed: status = 0x80000000
  </code></pre>
  
  <p>My code is:</p>
  
  <pre><code>MediaMetadataRetriever retriever = new MediaMetadataRetriever();
              retriever.setDataSource(video.getMediaUrl());
              String time = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION);
              long timeInmillisec = Long.parseLong(time);
  </code></pre>
  
  <p>And the <code>video.getMediaUrl()</code> path is similar to this:</p>
  
  <pre><code>file:///storage/emulated/0/Foldername/Videos/VID_20130713_135318.mp4
  </code></pre>
  
  <p>I don't know what i am doing wrong - anyone help me out, please! Also this code works fine for Audio Files, but not for videos.</p>