Forum Discussion

bkgoodman's avatar
bkgoodman
Visitor
15 years ago

HLS Playback of more than 5 Fragments fails

A am in the process of developing a "channel" - and am creating some test content to test my streaming/encoding workflow, and am running into some issues. Due to the nature of what I am seeing, it doesn't seem like it is a problem in the encoding as so much as a problem with Roku...
I am following all Roku's guidelines on the encoding format, and am having minimal success as follows:

I create a video, and fragment it as required. (10 Second fragments, 380x360, 800k/bps, 23.98fps, etc. etc.)

When I go to play the video, the "Recieving" bar would start to fill up, then stop - without ever playing the video. As I susspected there might be a problem later in the video, I edited my m3u8 file to trim down the video (remove fragments from the end). When I got it down to about 5 fragments, the video played just fine.

So I figured there must be some problem with the 6th fragment, etc. I tried a lot with re-encoding, etc, never resolved the issue. Then I tried the following:

If I list the *same* fragment around 5 times - the video will play back properly. However, If I play the *same* fragment back more than 5 times, the playback gets stuck on "Recieving".

In experimenting further - I find that I can specify any 5 fragments and the playback will work. If I specify more than 5, playback will never properly start.

Any idea what the issue could be??

Brad Goodman
SeaChange International

12 Replies