Forum Discussion

evilmax17's avatar
evilmax17
Visitor
15 years ago

Videos fail with unknown error (index -3)

http://www.viddler.com/file/93ee306f/html5
http://www.viddler.com/file/8dd2cbf0/html5

When I try to play these two files, I get an isRequestFailed roVideoPlayerEvent (-3, "An unexpected problem (but not server timeout or HTTP error) has been detected.") These videos also fail to play from the USB channel.

They both play fine on my computer, and they look like they should be Roku compatible. Any idea what the problem could be?

Thanks!

14 Replies

  • "RokuMarkn" wrote:
    Hold on -- you're encoding an MP4 file, right? So the file must be completely encoded before the Roku starts playing it. MP4 is not a streaming format.

    Correct. The files I'm attempting to play are completely encoded ahead of time (last week).

    "RokuMarkn" wrote:
    I'm not sure what "server" you're talking about, but Roku reads the files from a standard HTTP server at its own speed; it's not possible for the server to send the data too fast. What "buffer flushes" are you referring to?

    You are exactly right. I am writing a custom server to host my videos and suspect that I have something wrong either in the HTTP Headers (mime type?) or in the streaming. Once I moved one of the longer videos to an Apache HTTPD instance, the file worked just fine.

    Thanks for your time. This is obviously not a Roku issue so I will go on my own for now.
  • renojim's avatar
    renojim
    Community Streaming Expert
    Make sure your server supports range requests.

    -JT
  • "renojim" wrote:
    Make sure your server supports range requests.

    -JT


    Brilliant! That was exactly the issue.

    Thanks for the help. 😄