title: FFmpegMediaMetadataRetriever IllegalArgumentException: setDataSource failed: status = 0xFFFFFFFF
body: <p>I'm trying to retrieve a image from a frame of a video using <a href="http://wseemann.github.io/FFmpegMediaMetadataRetriever/" rel="nofollow">FFmpegMediaMetadataRetriever</a></p>
  
  <p>this is the code im using:
  the variable path has this value: 
   "<a href="https://s3-us-west-2.amazonaws.com/avnohellodev/videos/9e867aba83197862e7500ebe3ebfd68a.mp4" rel="nofollow">https://s3-us-west-2.amazonaws.com/avnohellodev/videos/9e867aba83197862e7500ebe3ebfd68a.mp4</a>"</p>
  
  <pre><code>final String path = msg.getUrl();
  new Thread(new Runnable() {
                      public void run() {
  
                          try {
                              FFmpegMediaMetadataRetriever mmr = new FFmpegMediaMetadataRetriever();
                              mmr.setDataSource(path);
                              final Bitmap b = mmr.getFrameAtTime(2000000, FFmpegMediaMetadataRetriever.OPTION_CLOSEST); // frame at 2 seconds
                              mmr.release();
  
                              video_thumb.post(new Runnable() {
                                  public void run() {
                                      video_thumb.setImageBitmap(b);
                                  }
                              });
                          }catch (java.lang.IllegalArgumentException e){
                              e.printStackTrace();
  
                          }
                      }
                  }).start();
  </code></pre>
  
  <p>when the code reaches the setDataSource i get </p>
  
  <blockquote>
    <p>java.lang.IllegalArgumentException: setDataSource failed: status = 0xFFFFFFFF</p>
  </blockquote>
  
  <p>Anything wrong with my code, or is this video not supported for some reason ?
  I also don't mind a alternative to FFmpegMediaMetadataRetriever if it works</p>