PRMan99
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2018
11:46 AM
Troubleshooting video not playing
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.
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.
10 REPLIES 10
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2018
02:20 PM
Re: Troubleshooting video not playing
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
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
PRMan99
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2018
02:52 PM
Re: Troubleshooting video not playing
That was done by Shaka Packager, BTW.
![Community Moderator Community Moderator](/html/@AD43EB727E6141118C965DC7B9513EEA/rank_icons/rokuemployeerankimage.png)
Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2018
05:10 PM
Re: Troubleshooting video not playing
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
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2018
09:04 AM
Re: Troubleshooting video not playing
"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.
![Community Moderator Community Moderator](/html/@AD43EB727E6141118C965DC7B9513EEA/rank_icons/rokuemployeerankimage.png)
Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2018
12:18 PM
Re: Troubleshooting video not playing
I don't think you need to have per-segment to fix this, just the map file, but I'm still debugging.
rymawby
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2018
11:43 PM
Re: Troubleshooting video not playing
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.
PRMan99
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018
08:51 AM
Re: Troubleshooting video not playing
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.
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
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2018
11:14 AM
Re: Troubleshooting video not playing
"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.
norcaljohnny
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2019
10:13 PM
Re: Troubleshooting video not playing
I was able to duplicate the same error.BUT when I set the streamFormat="auto" it played.