Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Yuriy_OM
Level 7

HEVC/DASH streaming in Roku 4

Hi everyone,

I am trying to understand how to get the hevc DASH stream to work on roku4.

For example I have this test stream (mp4): http://download.tsi.telecom-paristech.f ... 60_15M.mp4
And this test package ( VOD profile) : http://download.tsi.telecom-paristech.f ... -2s-4k.mpd
And this test package ( live no stream switching) : http://download.tsi.telecom-paristech.f ... -2s-4k.mpd

How would I set up the video node? Here is an example roku provides in the docs:
 
videoContent = createObject("RoSGNode", "ContentNode")
videoContent.url = "https://roku.s.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/60b4a471ffb74809beb2f7d5a15b3193/roku_ep_111_segment_1_final-cc_mix_033015-a7ec8a288c4bcec001c118181c668de321108861.m3u8"
videoContent.title = "Test Video"
videoContent.streamformat = "hls"


My main concern is what would the "streamformat" be. I know "hls" and "ism" are used for hls and playready packaging, what would the parameter for DASH be?

This is what SDK docs have to say:


Valid values: mp4, wma, mp3 Note: mp4 will also accept .mov and .m4v files.
Since Firmware version 2.6:

"hls"
Since Firmware version 2.9:

"mkv", "mka","mks"
Deprecated Since Firmware version 4.1:

"wmv"
Since Firmware version 4.7:

"ism" (smooth streaming)


Any help would be greatly appreciated.

Also, if anyone knows anf UHD live test streams, I would appreciate that as well.
0 Kudos
3 Replies
TheEndless
Level 7

Re: HEVC/DASH streaming in Roku 4

Have you tried a streamformat of "dash"?
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
Yuriy_OM
Level 7

Re: HEVC/DASH streaming in Roku 4

Yes, it actually worked.

For anyone interested, this is how you can get UHD test stream:


REM content.url = "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-live-bs-2s/dashevc-live-bs-2s-4k.mpd" REM Live 4k with switching OK
REM content.url = "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-live-2s/dashevc-live-2s-4k.mpd" REM Live 4k no stream switching OK
REM content.url = "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-ondemand-2s/dashevc-ondemand-2s-4k.mpd" REM on demand - roku reboots!
REM content.url = "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-main-2s/dashevc-main-2s-4k.mpd" REM Main - roku reboots!
REM content.url = "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-live-bs-2s/dashevc-live-bs-2s-main10.mpd" REM 10bit OK
REM content.url = "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-live-bs-10s/dashevc-live-bs-10s-4k.mpd" REM 10s segments, works but jerking
content.url = "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-live-2s/dashevc-live-2s-p60.mpd" REM 60Hz 1080p

content.streamformat = "dash"


Now it would be nice to find actually live content. Any ideas?
0 Kudos
neoRiley
Level 7

Re: HEVC/DASH streaming in Roku 4

"TheEndless" wrote:
Have you tried a streamformat of "dash"?

This was the answer for me - thanks very much
0 Kudos