Your Digital Media Has Never Looked So Good

 
PRMan99
Topic Author
Posts: 4
Joined: Tue Aug 21, 2018 11:37 am

Troubleshooting video not playing

Tue Aug 21, 2018 11:46 am

Hi, guys.

I have my video encoded as HLS (fragmented MP4) up at Amazon S3.  I got a single video to show up in a test channel and the channel looks good but the video won't play.  It doesn't even try (well, it does for less than 1 second).

How do we troubleshoot this?  The video plays perfectly everywhere else, including on all phones and tablets made in the past 5 years.  So I was a little surprised that Roku choked on it.

Here is a link to the video:

http://drmrjuyh9ifi8.cloudfront.net/1D7 ... BD91C.m3u8

If anyone could let me know the problem (or better how I can troubleshoot it myself), that would be great.  

Thank you very much.
 
renojim
** Valued Community Member **
Posts: 3348
Joined: Mon Feb 15, 2010 1:35 pm

Re: Troubleshooting video not playing

Tue Aug 21, 2018 2:20 pm

Someone more knowledgeable than me will have to chime in, but I don't think that's supported by Roku. I've never seen an MP4 split into fragments like that with a separate audio URI.

-JT
 
PRMan99
Topic Author
Posts: 4
Joined: Tue Aug 21, 2018 11:37 am

Re: Troubleshooting video not playing

Tue Aug 21, 2018 2:52 pm

That was done by Shaka Packager, BTW.
 
User avatar
RokuBen
Posts: 56
Joined: Mon Apr 21, 2014 12:35 pm
Location: Austin, TX

Re: Troubleshooting video not playing

Tue Aug 21, 2018 5:10 pm

I looked at the M3U8 files you posted and saw that it was using byte-range addressing for HTTP Live Streaming.  I did some debugging, and it looks like it's a bug in the current handling of byte ranges -- they're not respected when handling the "#EXT-X-MAP" tag, so it tries to read the whole MP4 file in instead and it exceeds our allowed file size.  I'll file an internal issue on this, but for now, best if you can split into lots of files instead of using subranges.
 
PRMan99
Topic Author
Posts: 4
Joined: Tue Aug 21, 2018 11:37 am

Re: Troubleshooting video not playing

Wed Aug 22, 2018 9:04 am

RokuBen wrote:
I looked at the M3U8 files you posted and saw that it was using byte-range addressing for HTTP Live Streaming.  I did some debugging, and it looks like it's a bug in the current handling of byte ranges -- they're not respected when handling the "#EXT-X-MAP" tag, so it tries to read the whole MP4 file in instead and it exceeds our allowed file size.  I'll file an internal issue on this, but for now, best if you can split into lots of files instead of using subranges.

That costs too much on Amazon S3 since they charge per file on many things.  I would rather have 10 files per video than 1000.
Would it help if I could make a Dash .MPD for the same MP4 file?  I'm not sure I can, but if you think it would work I'm wiling to look into it.
 
User avatar
RokuBen
Posts: 56
Joined: Mon Apr 21, 2014 12:35 pm
Location: Austin, TX

Re: Troubleshooting video not playing

Wed Aug 22, 2018 12:18 pm

I don't think you need to have per-segment to fix this, just the map file, but I'm still debugging.
 
rymawby
Posts: 30
Joined: Fri Jan 16, 2015 9:03 am
Contact:

Re: Troubleshooting video not playing

Sat Sep 15, 2018 11:43 pm

Was there a definite outcome on this? Also when will the firmware update with this fix be in? I think I'm having the same issue.
---
Blogging Roku stuff at http://rymawby.com
---
 
PRMan99
Topic Author
Posts: 4
Joined: Tue Aug 21, 2018 11:37 am

Re: Troubleshooting video not playing

Mon Sep 17, 2018 8:51 am

RokuBen private messaged me that a fix for this issue would potentially be in the Q4 update.  This is probably not a certainty yet, but if they did do it, it would be the soonest they could.

I was able to re-run Shaka Packager with the -mpd_output option in addition to the -hls options (you can run both at the same time now) and I was able to use the same fragmented MP4 files.  I can do this later even if I didn't do it originally, meaning I can do it locally and only upload the .MPD xml file.  This DOES play on Roku and I am now adding this file to all my encodings so that I can play it on Roku.
 
bikegriffith
Posts: 1
Joined: Thu Oct 11, 2018 11:12 am

Re: Troubleshooting video not playing

Thu Oct 11, 2018 11:14 am

RokuBen wrote:
it looks like it's a bug in the current handling of byte ranges -- they're not respected when handling the "#EXT-X-MAP" tag, so it tries to read the whole MP4 file in instead and it exceeds our allowed file size.  I'll file an internal issue on this, but for now, best if you can split into lots of files instead of using subranges.

Is there any update on this issue? We're trying to move a lot of content to HLS fMP4 and this bug is a big showstopper for us. 

Who is online

Users browsing this forum: No registered users and 6 guests