title: Generate m3u8 file with Extended M3U directives by ffmpeg
body: <p>I am generating m3u8 files by using ffmpeg.</p>
  
  <p>Command is like below:</p>
  
  <pre><code>ffmpeg -i sourcefile.mp4 -vcodec libx264 -acodec libvo_aacenc -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 -segment_list testlist.m3u8 -segment_format mpegts stream%05d.ts
  </code></pre>
  
  <p>This is creating m3u8 files successfully, but it does not add extended m3u8 directives.</p>
  
  <p>So , how to add those directives ?</p>
  
  <p>Thanking in Advance,</p>
  
  <p>Sagar Joshi</p>