Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AVP777
Visitor

Couple of questions

Just getting started digging into the Roku channels and had a few questions.

When streaming an mp4 from an apache server, the roku requests the entire file twice, then start doing range requests:

192.168.1.208 - - [17/Jan/2011:16:37:16 -0800] "GET /hp-test2.mp4 HTTP/1.1" 200 1522095509 "-" "Roku/DVP-2.9 (012.09xxxxxx)"
192.168.1.208 - - [17/Jan/2011:16:39:10 -0800] "GET /hp-test2.mp4 HTTP/1.1" 200 1522095509 "-" "Roku/DVP-2.9 (012.09xxxxxx)"
192.168.1.208 - - [17/Jan/2011:16:39:10 -0800] "GET /hp-test2.mp4 HTTP/1.1" 206 1522095485 "-" "Roku/DVP-2.9 (012.09xxxxxx)"

I'm just getting started on using h.264, we've been doing h.263 in flv wrappers for a long time. I used mp4box to relocate the atoms
thinking it would start streaming and not do the extra requests (and hence extra bandwidth which costs $$$). Are there encoding options
to avoid this? Other than that the video plays fine.

Second, I tried taking the above mp4 and wrapping it in an flv with just copy as the codecs. In the simplevideoplayer sample, I set the
url to the flv and it tries to play it. I get sound, but no video. Is this just plain unsupported, and if so why is it able to extract the
audio but not the video? Problems with the meta info?

Thanks for any info.
0 Kudos
1 REPLY 1
kbenson
Visitor

Re: Couple of questions

"AVP777" wrote:

When streaming an mp4 from an apache server, the roku requests the entire file twice, then start doing range requests:

192.168.1.208 - - [17/Jan/2011:16:37:16 -0800] "GET /hp-test2.mp4 HTTP/1.1" 200 1522095509 "-" "Roku/DVP-2.9 (012.09xxxxxx)"
192.168.1.208 - - [17/Jan/2011:16:39:10 -0800] "GET /hp-test2.mp4 HTTP/1.1" 200 1522095509 "-" "Roku/DVP-2.9 (012.09xxxxxx)"
192.168.1.208 - - [17/Jan/2011:16:39:10 -0800] "GET /hp-test2.mp4 HTTP/1.1" 206 1522095485 "-" "Roku/DVP-2.9 (012.09xxxxxx)"


The Roku issues resets on the requests to stop them. At least that's what I seemed to see in a previous firmware. I assume it's for maximum compatibility with different server software or something.
-- GandK Labs
Check out Reversi! in the channel store!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.