title: Generate .m3u8 on the fly from .ts files
body: <p>I have a list of .ts file segments that follow this pattern</p>
  
  <pre><code>http://www.someaddress.com/file_11223344.ts
  http://www.someaddress.com/file_11223345.ts
  http://www.someaddress.com/file_11223346.ts
  ...
  </code></pre>
  
  <p>Since I need a m3u8 file in order to open this videos, is there a way to generate this m3u8 manually (from ts segments) in .php for example. Original m3u8 is protected and generated only if I have user/pass id etc. This is live stream that is always updated and generated based on a timestamp</p>