Forum Discussion

AwesomeSauce's avatar
14 years ago

Problem streaming local content to Roku 2 with Ubuntu XAMPP

I have a Ubuntu server running XAMPP and I changed the source code for the simple video player app to http://ipaddress/movies/movie.mp4 When I load up the app the loading bar fills up but it never starts playing. What am I doing wrong? :?:

8 Replies

  • Can you post exactly what you changed?
    What are the encoding parameters of the video file? Is the Audio AAC? What kind of encoder? If you post the link, or send it to me in a private message then we can test it.

    - Joel
  • On the simple video player I changed the urls line and the few under it to:
    urls = ["http://192.168.1.2/Movies/TheHangover.mp4"]
    qualities = ["SD"]
    StreamFormat = "mp4"
    title = "The Hangover"
    srt = "The Hangover Movie"
    The video has a resolution of 720X304 and a audio MP3 bit rate of 64kbps with 23FPS. Is something with the encoding of my movie wrong?
  • "AwesomeSauce" wrote:
    On the simple video player I changed the urls line and the few under it to:
    urls = ["http://192.168.1.2/Movies/TheHangover.mp4"]
    qualities = ["SD"]
    StreamFormat = "mp4"
    title = "The Hangover"
    srt = "The Hangover Movie"
    The video has a resolution of 720X304 and a audio MP3 bit rate of 64kbps with 23FPS. Is something with the encoding of my movie wrong?

    'srt' needs to be the url of a file containing the SRT subtitles, not a text string.

    Try changing that line to:


    srt = ""


    and see what happens.
  • "AwesomeSauce" wrote:
    On the simple video player I changed the urls line and the few under it to:
    urls = ["http://192.168.1.2/Movies/TheHangover.mp4"]
    qualities = ["SD"]
    StreamFormat = "mp4"
    title = "The Hangover"
    srt = "The Hangover Movie"
    The video has a resolution of 720X304 and a audio MP3 bit rate of 64kbps with 23FPS. Is something with the encoding of my movie wrong?


    Yeah. First of all you are specifying MP4 when you just stated that the audio is mp3.

    Officially speaking, we don't support mp3 audio - it does *usually* work with HLS live streams on the Roku2 platform only. I don't know if it works with MP4 VOD playback, and I would tend to doubt it, so try re-encoding with AAC audio, 23.97 framerate h.264 mp4 video.

    - Joel
  • Can you PM us a url for testing the file from here as opposed to a LAN url? Are you sure your server supports range request headers?

    - Joel
  • "RokuJoel" wrote:
    Can you PM us a url for testing the file from here as opposed to a LAN url? Are you sure your server supports range request headers?

    - Joel
    From the thread title, it ought to be Apache, which has supported range requests for many years. I'm betting it'll turn out to be something to do with the file encoding.