Stream is failing, not sure why?

Dear all,

I’m trying to stream a video using the roVideoPlayer object but it is failing and I do not know exactly why.


Sub EventLoop()
        while true
                msg = wait(0, m.port)
                if msg <> invalid
                    print "msg: " + msg.GetMessage()
                end if
        end while
End Sub

Here’s my EventLoop code:

And here’s the message I’m getting


msg: startup progress
msg: startup progress
msg: startup progress
msg:
msg: startup progress
msg: startup progress
msg: startup progress
msg: Stream started.
msg: Cannot seek to 0/1000: error -33 <---------------------------------------------- SUSPICIOUS MESSAGE!!!
msg:
msg: Playback completed.
msg: end of playlist

Any thoughts??

I also inspected the returns from msg.isRequestFailed() but that method returns false, so I’m guessing the 0 returned from msg.GetIndex() doesn’t actually mean there was a “Network error : server down or unresponsive, server is unreachable, network setup problem on the client.” (as described in the documentation), right?
BrightScript Debugger> p msg.isRequestFailed()
false
BrightScript Debugger> p msg.GetIndex()
0
BrightScript Debugger>

Thank you!
Luis

Still no reply, anybody from the Roku team around? :monkey_face:
I could really use some pointers on what to look for?

Thank you!
Luis

What kind of stream are you playing (container and codec)?

–Mark

I’m trying to play an mp4 video:
root@xkitten:~# ffmpeg -i videoplayback.mp4
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘videoplayback.mp4’:
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2012-05-04 20:19:48
Duration: 00:12:08.47, start: 0.000000, bitrate: 720 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360, 621 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 96 kb/s
Metadata:
creation_time : 2012-05-04 20:19:48
At least one output file must be specified
root@xkitten:~#

p.s. I’ve uploaded it here https://docs.google.com/a/adaptivecompu … t=download

Any thoughts on why I can’t play it??

It plays fine for me. I’m guessing it’s a server issue. Your server must support range requests.

-JT

I’m trying to get this from youtube directly.
I generate the url and try to get it but I bump into that error in the roku, though I can play the url in my pc just fine…

Any thoughts?

Any thoughts guys? :monkey_face: