Forum Discussion

tfritz28's avatar
tfritz28
Visitor
15 years ago

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...

9 Replies

  • rsromeo's avatar
    rsromeo
    Channel Surfer
    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.
  • 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
  • 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?
  • 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
  • "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.
  • OK, thanks you guys. I'll see if I can figure out a different way of getting it.
  • 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
  • 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?