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: 
tfritz28
Visitor

Problem with simplevideoplayer

I'm new here, downloaded the Roku SDK and tried experimenting with the simplevideoplayer to get a feel for this and I'm having trouble getting it to work. I changed the links to a stream that I'm wanting to test with. The links (URLS) that I'm trying to connect to are:

http://www.onlineracing.tv/greyhound/me ... mbeach.asx
http://216.246.10.26/palmbeach

I also changed the formats accordingly

StreamFormat = "asx"
StreamFormat = "wmv"
and tried
StreamFormat = "mp4"
also. Either of the links above work for me in both Media Player and VLC so I know they are working links. So why won't they play in the simplevideoplayer?

The telnet info says:

play failed: No streams were provided for playback.

Any assistance would be greatly appreciate as I'm just trying to figure this out. Thanks...
0 Kudos
9 REPLIES 9
rsromeo
Channel Surfer

Re: Problem with simplevideoplayer

Stream format can't be asx, only wmv or mp4 are acceptable right now for video streaming. For live streaming, you can use HLS. The file in the link you are trying to play must match the stream format. If your stream format is mp4, the link must lead to an mp4 file, etc.
0 Kudos
tfritz28
Visitor

Re: Problem with simplevideoplayer

It is a live feed. So would I use:

StreamFormat = "HLS"

with this link?

http://216.246.10.26/palmbeach

How can I find out what format it's really streaming in?
0 Kudos
RokuMarkn
Visitor

Re: Problem with simplevideoplayer

If you use a tool like wget or curl to download that link, you can see that it's just a 116 byte text file. It is an ASX file and is not supported on the Roku.

--Mark
0 Kudos
tfritz28
Visitor

Re: Problem with simplevideoplayer

Thank you Mark. I added wget so I could see what you were talking about. When I opened the file that it saved, it showed a link to a .ASF file.

http://216.246.10.26/palmbeach?MSWMExt=.asf

I put that link in the simplevideoplayer with format ASF and WMV and neither worked. The developer guide shows that ASF is supported. Did I read that incorrectly or why wouldn't an ASF file work?
0 Kudos
RokuMarkn
Visitor

Re: Problem with simplevideoplayer

Well, I can see why you might think that link points to an ASF file, since it contains the string ".asf", but it's actually not an ASF file. If you download this link with wget, you'll see you get the same 116 byte ASX file. I don't really know enough about the ASX format to tell how to get the actual ASF file(s).

--Mark
0 Kudos
nowhereman
Visitor

Re: Problem with simplevideoplayer

"tfritz28" wrote:
Thank you Mark. I added wget so I could see what you were talking about. When I opened the file that it saved, it showed a link to a .ASF file.

http://216.246.10.26/palmbeach?MSWMExt=.asf

I put that link in the simplevideoplayer with format ASF and WMV and neither worked. The developer guide shows that ASF is supported. Did I read that incorrectly or why wouldn't an ASF file work?


Just going off what VLC says, the stream is ultimately coming from an MMS server, which I'm pretty sure makes it not Roku friendly. To play on Roku, live content must be served in the HTTP Live Streaming format.
twitter:nowhereman
http://www.thenowhereman.com/roku
http://www.thenowhereman.com/netflix
0 Kudos
tfritz28
Visitor

Re: Problem with simplevideoplayer

OK, thanks you guys. I'll see if I can figure out a different way of getting it.
0 Kudos
RokuKevin
Visitor

Re: Problem with simplevideoplayer

ASF files are not supported at this time. The component reference documents the supported media containers in the StreamFormat content meta data parameter. As of v2.6, they are:

mp4, wmv, wma, mp3
Note: mp4 will also accept .mov and
.m4v files.
Since Firmware version 2.6:
"hls"

--Kevin
0 Kudos
nachymuthu
Visitor

Re: Problem with simplevideoplayer

I am having the same problem when I try to stream asf format. my roku version is 2.7

Are there any plans to support ASF format?
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.