derekctv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2012
03:13 AM
Amazon S3
Hi,
I am struggling with Amazon at a very basic level. I am moving away from a streaming platform and storing my vidoes in Amazon S3. I have created muliple renditions for adaptive streaming purposes, and each video has a logical file naming convention where elements of the file name is common for all renditions but each fille is made unique by carrying a bit rate number extension. My query is: Can I store all of these files in one S3 bucket and if so how does Roku make the call for the appropriate rtendition, or is there a particular way videos need to be referenced in an Amazon S3 bucket? Or perhaps I have just missed a major Roku Dev process somewhere along the line?
I am struggling with Amazon at a very basic level. I am moving away from a streaming platform and storing my vidoes in Amazon S3. I have created muliple renditions for adaptive streaming purposes, and each video has a logical file naming convention where elements of the file name is common for all renditions but each fille is made unique by carrying a bit rate number extension. My query is: Can I store all of these files in one S3 bucket and if so how does Roku make the call for the appropriate rtendition, or is there a particular way videos need to be referenced in an Amazon S3 bucket? Or perhaps I have just missed a major Roku Dev process somewhere along the line?
2 REPLIES 2
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2012
05:42 AM
Re: Amazon S3
Sure you can put all the files into the same bucket and even the same folder in your bucket if you like.
From the docs -
StreamBitrates - roArray
Array of bitrates in kbps for content streams
[384, 500, 1000, 1500]
StreamUrls - roArray
Array of URL's for content streams
["http://www.myco.com/vid/1932-1.mp4",
"http://www.myco.com/vid/1932-2.mp4",
"http://www.myco.com/vid/1932-3.mp4",
"http://www.myco.com/vid/1932-4.mp4"]
StreamQualities - roArray
Array of Strings quality indicators identifying a stream as "SD" or "HD"
["SD", "SD", "SD", "HD"]
If your channel is loading/parsing all that from xml then roku will determine which bitrate to play which is associated with which filename. You set the bitrates, you set the urls, you set the qualities, and roku does the rest.
http://sdkdocs.roku.com/display/RokuSDK ... +Meta-Data
From the docs -
StreamBitrates - roArray
Array of bitrates in kbps for content streams
[384, 500, 1000, 1500]
StreamUrls - roArray
Array of URL's for content streams
["http://www.myco.com/vid/1932-1.mp4",
"http://www.myco.com/vid/1932-2.mp4",
"http://www.myco.com/vid/1932-3.mp4",
"http://www.myco.com/vid/1932-4.mp4"]
StreamQualities - roArray
Array of Strings quality indicators identifying a stream as "SD" or "HD"
["SD", "SD", "SD", "HD"]
If your channel is loading/parsing all that from xml then roku will determine which bitrate to play which is associated with which filename. You set the bitrates, you set the urls, you set the qualities, and roku does the rest.
http://sdkdocs.roku.com/display/RokuSDK ... +Meta-Data
derekctv
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2012
06:05 AM
Re: Amazon S3
Got it! Thank you very much and Happy New Year to you.