Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JohnBasedow
Visitor

Firmware 7.5 and DASH playback? Edit: Bug Report

I'm trying to get DASH playback working, and I'm using some test streams that are publicly available.

One site I'm getting them from is here: http://dash-mse-test.appspot.com/media.html 

Work fine:
http://yt-dash-mse-test.commondatastora ... nifest.mpd
http://yt-dash-mse-test.commondatastora ... nifest.mpd 
http://yt-dash-mse-test.commondatastora ... nifest.mpd 

Another site I'm testing from is here: http://www-itec.uni-klu.ac.at/dash/?page_id=207 
Going to the Elephant's Dream stream, to get the MPD URL: 
http://www-itec.uni-klu.ac.at/ftp/datas ... _05_09.mpd
    or
http://www-itec.uni-klu.ac.at/ftp/datas ... _05_09.mpd 

They both do not play back, giving me the error: 
The format is not supported or the media is corrupt. Code: -5

This stream also fails on the Stream Test Tool (Roku Stream/RAF Tester)

Also, while testing some of my personal mpd files, I have caused my Roku 2 to reboot reliably, this did not used to happen on firmware 7.2.
I have been able to crash 2 separate Rokus with different mpds, and no I can't provide the mpds.
But I have noticed that the <SegmentList> element in the MPD has 418 <SegmentURL> elements, with the basic format like this: 

<SegmentList>
                    <Initialization sourceURL="range/0-712"/>
                    <SegmentURL media="range/5761-161240"/>
                    <SegmentURL media="range/161241-316558"/>
                    <SegmentURL media="range/316559-477573"/>
                   .... snip 415 times or so ....
                   <SegmentURL media="range/64464096-64620357"/>
                    <SegmentURL media="range/64620358-64775902"/>
                    <SegmentURL media="range/64775903-64928166"/>
</SegmentList>



System info:

Model: 2500X - Roku HD
Firmware: 7.5.0 build 4099-03

Side note: Any way to downgrade to 7.2 as it seemed much more stable when playing DASH streams, in general using roVideoScreen.
0 Kudos
5 REPLIES 5
JohnBasedow
Visitor

Re: Firmware 7.5 and DASH playback?

So for the http://www-itec.uni-klu.ac.at/ftp/datasets/DASHDataset2014/ElephantsDream/1sec/ElephantsDream_1s_onDemand_2014_05_09.mpd manifest, it seems like the handling inside the Roku firmware doesn't handle the SegmentTemplate element correctly

For example,the first Representation in that MPD should resolve to the URL: 
http://www-itec.uni-klu.ac.at/ftp/datasets/DASHDataset2014/ElephantsDream/1sec/ed_47709bps/ElephantsDream_1s_init.mp4

but I have a feeling it isn't being resolved properly.
0 Kudos
JohnBasedow
Visitor

Re: Firmware 7.5 and DASH playback?

Also, can the Roku team verify that the DASH processing tool can handle URLs that require query parameters (that are XML-encoded in the mpd) within the BaseURL, or other URL schemes within a DASH mpd?  

It seems like if I have a BaseURL that contains "&amp;", the Roku doesn't process the URL properly.

Also, the URL might not directly resolve to an ".mp4" URI, but the endpoint will give the appropriate data when called with the appropriate query parameters.

I feel like this worked fine in 7.2, but is now broken in 7.5. 

Is there any way to get more debugging information from the DASH playback code, so I can try and debug my manifests? 

Edit: I believe I've narrowed down the issue in the 7.5 firmware.

If an mpd contains two different AdaptationSet elements for different video containers, say one for mp4 and then one for webm, then the Roku doesn't parse it, saying it's an unknown format.

If I remove the AdaptationSet that the Roku can't play (webm) the DASH video plays fine. 

I believe this was broken in 7.5.
0 Kudos
JohnBasedow
Visitor

Re: Firmware 7.5 and DASH playback? Edit: Bug Report

Can anyone at Roku confirm or acknowledge this bug?
0 Kudos
RokuKC
Roku Employee
Roku Employee

Re: Firmware 7.5 and DASH playback? Edit: Bug Report

"JohnBasedow" wrote:
Can anyone at Roku confirm or acknowledge this bug?


I just filed a ticket requesting it to be reviewed.
0 Kudos
JohnBasedow
Visitor

Re: Firmware 7.5 and DASH playback? Edit: Bug Report

Thank you for the response!
0 Kudos