Can not stream from Amazon S3

I have created an Amazon S3 account. Uploaded two files one is mp4 the other is avi. Set them as public and it gives me the following link for mp4.

https://s3.amazonaws.com/ROKU/test.mp4

I tried to stream using VLC player and it does not work. Then I tried using customvideoplayer source code and transfer app to my ROKU and it does not goes beyond 13%.

What Iam doing wrong. We use the original TED file it works great.

thanks

It’s probably failing because it has no audio track. It’s also not h.264 encoded. Read through the Encoding Guide in the SDK for pointers on how to best encode your content for Roku.

But when I stream to VLC locally it works well. Does it has something to do with encoding ?

Can I use Amazon S3 and set files as public only or do I need to use the cloudfront service setup for streaming also ? Please advise

thanks

It doesn’t need to be specifically set up for streaming, no.

Did anyone managed to play videos from CloudFront on Roku ?
There were no SSL problems because of its “HTTPS” ?

If so, how ? Details will be welcome.

Thanks

try removing the s from https and see if it works for streaming that way.

Why would I do this ? It’s a secured HTTPS, the ‘s’ is there for a reason.

If it’s a problem with your security, running a test without the security features might confirm the problem.

It has to be with secured HTTPS as it is.
How did you, or anyone, manage to play videos from CloudFront HTTPS ?

We don’t use https on cloudfront, we use http, with authentication done before any xml or url is provided for content. – by we, I mean the stuff I’ve worked on. Eventually, if needed, we’ll start encrypting our streams and using https - but right now, with our channels being private in development, for trusted users, security doesn’t have to be our main concern.

The HTTPS is mandatory for us.
Thanks anyway.

Has anyone else succeeded playing videos from CloudFront with HTTPS ?

Looks like you must have taken the link down. It now gets a 404. If you’d like to PM a valid stream link, I’ll help you diagnose the problem.

–Kevin

Ramon1604 and liran are different users.

I finally got it to work. The problem was that S3 can not work alone it has to be with the cloudfront service.

thanks for the help

ramon1604, did you succeed on playing videos form CloudFront on Roku ? With HTTPS ?
If so, can you please tell me how ? Can you give me an example of a video link with HTTPS from CloudFront, and the code which played the video on Roku ?

Thanks

how you use s3 with cloudfront can u give me some instruction ?