Generate .m3u8 on the fly from .ts files
29,868
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 :)
Author by
Bojan VukasovicTest
Updated on April 20, 2020Comments
-
Bojan VukasovicTest about 4 years
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
-
norcal johnny over 7 yearsYou are correct my man! I just used this method with Atom editor creating a Roku app and it did indeed work! Just had to make sure there was no BOM and yup, it works.
-
Senõr Ganso almost 5 yearsIt works, but it appears to lose information along the way (like additional audio streams). Any workarounds for that?