title: downloading m3u8 format using ffmpeg in android
body: <p>I want to download a <code>m3u8 hls</code> video on android.
  i am using this <code>https://github.com/WritingMinds/ffmpeg-android-java</code> github project.
  my code run perfect with some file like this</p>
  
  <pre><code>#EXTM3U
  #EXT-X-VERSION:5
  #EXT-X-STREAM-INF:BANDWIDTH=560000,RESOLUTION=560x320
  chunklist_w1370359847_b560000.m3u8
  #EXT-X-STREAM-INF:BANDWIDTH=280000,RESOLUTION=280x160
  chunklist_w1370359847_b280000.m3u8
  </code></pre>
  
  <p>but when i want to get some others like </p>
  
  <pre><code>#EXTM3U
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=307200
  http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&amp;s=67456834233263474843895996561490854813
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3584000
  http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&amp;s=67917168793981422148373769951238010028
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2457600
  http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&amp;s=58718242671779879146351545392642701787
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1228800
  http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&amp;s=76033982771160137261725364336240341356
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=614400
  http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&amp;s=8799167971211576392205612488036401876
  #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=65536
  http://example.com/hls.m3u8?mwk=8337411690192241322178516954798640895&amp;s=84365905843905491151101581870671639752
  </code></pre>
  
  <p>, i received <code>Protocol not found</code> error.
  my url is http and i use bellow command</p>
  
  <pre><code>String.format("-i %s -acodec %s -bsf:a aac_adtstoasc -vcodec %s %s", mM3u8Url, "copy", "copy", dir.toString() + "/" + mContentId + ".mp4");
  </code></pre>