lmsilva
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2013
10:46 PM
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.
Here's my EventLoop code:
And here's the message I'm getting
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
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
6 REPLIES 6
lmsilva
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2013
08:30 PM
Re: Stream is failing, not sure why?
Still no reply, anybody from the Roku team around? 🐵
I could really use some pointers on what to look for?
Thank you!
Luis
I could really use some pointers on what to look for?
Thank you!
Luis

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2013
07:10 AM
Re: Stream is failing, not sure why?
What kind of stream are you playing (container and codec)?
--Mark
--Mark
lmsilva
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2013
11:04 PM
Re: Stream is failing, not sure why?
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??
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??
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2013
10:28 PM
Re: Stream is failing, not sure why?
It plays fine for me. I'm guessing it's a server issue. Your server must support range requests.
-JT
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
lmsilva
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2013
03:03 PM
Re: Stream is failing, not sure why?
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?
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?
lmsilva
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2013
04:17 PM
Re: Stream is failing, not sure why?
Any thoughts guys? 🐵