Forum Discussion

SkipFire's avatar
SkipFire
Visitor
14 years ago

IIS & M4V

I am trying to host an M4V file on IIS and stream it to the Roku. The file can be accessed over the web by other computers, but when i try to get it on the Roku the debug telnet tells me:
play failed: An unexpected problem (but not server timeout or HTTP error) has been detected.

I am using the Simple Video Player sample and updated the URL and have tried using both mp4 and m4v as the stream format values. I have tried using multiple mime type values for the .m4v extension including video/x-m4v, video/mp4, and video/mpeg. I have also tried renaming the file to .mp4. Everything I've tried so far leaves me with the same error above.

I did find an MP4 file online and tried that and it seems to load to the Roku just fine, but it also is only 6MB as opposed to the 1.8GB for the m4v I am needing to stream out.

I would appreciate any suggestions.

7 Replies

  • Shot in the dark... be sure your server supports the HTTP Range header.
  • Neither the mime type nor the file name should have any effect on a file's playability.
    Can you run ffmpeg or some similar tool and display the details of the MP4 file (audio and video codecs, codec parameters, etc)?

    --Mark
  • Ok, I'm admitting total and complete ignorance here. I have no clue what I am doing with ffmpeg. Reading through what documentation I see online it looks like it is for conversion rather than info, but as I said I don't know what I'm doing with this part of the project. I'm just a dumb programmer and don't know squat about video files other than that they supposedly contain audio and video tracks.
  • Or if you do have ffmpeg available somewhere, just type "ffmpeg -i myfile.mp4" and it will print out the info.

    --Mark
  • Ok, it was a moment of stupidity. I had spaces in the URL instead of replacing it with %20.

    Thanks for all the input.