Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mahusa7
Visitor

playing a list of TS segments

I have multiple ts segments of 4 seconds each and want to play them one after another e.g. testseg0.ts, testseg1.ts, testseg2.ts etc on Roku. I tried roVideoPlayer, and used set content list. However, this had breaks after every segment. I need the segments to play sequentially and seamlessly. Any suggestions will be greatly appreciated.
Tags (1)
0 Kudos
5 REPLIES 5
Komag
Roku Guru

Re: playing a list of TS segments

I'm imagining you would have to do that on the server side, but I have no idea how you would approach it.
Tags (1)
0 Kudos
Tyler_Smith
Streaming Star

Re: playing a list of TS segments

ts segments should be delivered through a m3u8 playlist?  They are not valid standalone video types.
Tyler Smith
Tags (1)
0 Kudos
mahusa7
Visitor

Re: playing a list of TS segments

Thank you for the tips. Wondering if it is possible to create an m3u8 file using brightscript on Roku as a hack. Unfortunately, we don't have m3u8 support on the server side. And, it would be a big development task. Any work around would be helpful.
Tags (1)
0 Kudos
tim_beynart
Channel Surfer

Re: playing a list of TS segments

unreal.  Smiley LOL
In theory you could create an m3u by hand and save it as a local file, then load it as the playback URL. Good luck.
Tags (1)
0 Kudos
mahusa7
Visitor

Re: playing a list of TS segments

Thank you. Tempted to try that. Plan A is to store a m3u8 file in tmp folder. I plan to write the segments to the file. The segments are 4 seconds each. So, hope it works for live videos as well. 

Plan B is to create an intermediate server that will receive ts files and create the m3u8 files. 

Any guidance on better plans, support on Roku for plan A, and options for intermediate server would be helpful.
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!