title: Exception thrown when calling MediaExtractor.setDataSource()
body: <p>I placed my raw H264 stream in a file and put it on internal storage. when I access the file using File class it works fine but when I use following code it gives exception  </p>
  
  <blockquote>
    <p>W/System.err: java.io.IOException: Failed to instantiate extractor.</p>
  </blockquote>
  
  <pre><code>String filePath = Environment.getExternalStorageDirectory() + "/Videos/Video_30.h264";
      try
      {
        extractor = new MediaExtractor();  
        extractor.setDataSource(FilePath);
      }catch(IOException e)
      {
        e.printStackTrace();
      }
  </code></pre>
  
  <p>I also used Filedescriptor instead of filePath but it also did not work. How can I solve this? Thanks</p>
  
  <p>Edit:
  File permissions are added in manifest file so there is no permission issue.</p>