I have a list of .ts file segments that follow this pattern
http://www.someaddress.com/file_11223344.ts
http://www.someaddress.com/file_11223345.ts
http://www.someaddress.com/file_11223346.ts
...
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
Yes there is a way. You just generate it. The m3u8 spec is very simple and fully documented. https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-19
if you have the main file, let's say : http://www.someaddress.com/file_11223344.ts you don't have to convert anything. just change the end of the URL from .ts to .m3u8 that's it :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With