AwesomeSauce
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2012
02:59 PM
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 8

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2012
05:06 PM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
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
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
AwesomeSauce
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2012
05:41 PM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
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?
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?
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2012
07:54 PM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
"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
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012
11:10 AM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
Nope it is still doing the same thing. This is what I have now:
'Swap the commented values below to play different video clips...
urls = ["http://192.168.1.2/Movies/TheHangover.mp4"]
qualities = ["SD"]
StreamFormat = "mp4"
title = "The Hangover"
srt = ""
'Swap the commented values below to play different video clips...
urls = ["http://192.168.1.2/Movies/TheHangover.mp4"]
qualities = ["SD"]
StreamFormat = "mp4"
title = "The Hangover"
srt = ""

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012
11:20 AM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
"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
AwesomeSauce
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012
12:45 PM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
I re-encoded the movie with AAC audio but it is still doing the same thing.

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012
01:57 PM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
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
- Joel

gonzotek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2012
03:00 PM
Re: Problem streaming local content to Roku 2 with Ubuntu XA
"RokuJoel" wrote: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.
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
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com