fubaya
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2011
09:52 PM
Re: IP Camera app/channel
Anyone working on this?
For what it's worth, you can get the video stream or snapshot from the following URLs. There are two ways to get each, whichever you prefer. I tried to stream from a couple Roku apps but didn't have any luck. Just plug in the cam IP and user/pass.
video:
http://IP/videostream.asf?user=USER&pwd=PASS
or
http://USER:PASS@IP/videostream.asf?
snapshot:
http://USER:PASS@IP/snapshot.cgi?
or
http://IP/snapshot.cgi?user=USER&pwd=PASS
For what it's worth, you can get the video stream or snapshot from the following URLs. There are two ways to get each, whichever you prefer. I tried to stream from a couple Roku apps but didn't have any luck. Just plug in the cam IP and user/pass.
video:
http://IP/videostream.asf?user=USER&pwd=PASS
or
http://USER:PASS@IP/videostream.asf?
snapshot:
http://USER:PASS@IP/snapshot.cgi?
or
http://IP/snapshot.cgi?user=USER&pwd=PASS
bollywood
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011
09:23 AM
Re: IP Camera app/channel
"fubaya" wrote:
Anyone working on this?
For what it's worth, you can get the video stream or snapshot from the following URLs. There are two ways to get each, whichever you prefer. I tried to stream from a couple Roku apps but didn't have any luck. Just plug in the cam IP and user/pass.
video:
http://IP/videostream.asf?user=USER&pwd=PASS
or
http://USER:PASS@IP/videostream.asf?
snapshot:
http://USER:PASS@IP/snapshot.cgi?
or
http://IP/snapshot.cgi?user=USER&pwd=PASS
i don't think this was a concern.
the concern is finding a camera which outputs live video in a compatible format for roku. another option mentioned was using the jpegs or in other words, just using the pictures that the camera is taking and refreshing them rapidly.
I have not found a camera that supports HLS. if you do know of one, or can find one, please let us all know.
Hawk Cam
Live footage from the nest on top of Bobst Library at N.Y.U.
copy and paste the link in your browser or use keyword: hawkcam
https://owner.roku.com/add/hawkcam
Live footage from the nest on top of Bobst Library at N.Y.U.
copy and paste the link in your browser or use keyword: hawkcam
https://owner.roku.com/add/hawkcam
dfv78
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2011
02:08 PM
Re: IP Camera app/channel
I got it working but I had to use VLC to restream the video in order to support HLS.
I'm using an Axis M1011-W IP Camera.
I'm using Ubuntu with Apache as web server and the latest (nightly build) version of VLC. As I understand it, this funcionality can only be done with version 1.2 of VLC (which as of this writing is not released yet so you need the nightly builds)
Basically I run VLC from a computer (I may install it on a server later) to get the rtsp stream from the camera and I save it on a web server.
Basically the steps are:
1- VLC - Get the video stream from the camera, prepare the files for http live streaming
2- Save those files on a directory accesible by a Web Server
3- Use the web address of the stream within the Roku application
The steps with a little more detail:
Steps 1 and 2
On my IP Camera I can access the video stream this way:
So I run VLC this way:
Where:
/var/www/streaming/ is the directory where I'm saving the stream files
http://mywebserver/streaming/ is web address of the location of the stream
The link http://mywebserver/streaming/mystream.m3u8 will get you access to the HTS stream.
Step 3
To test it I used the program 'customvideoplayer' from the RokuSDK and I only changed the line of the stream url on the main.brs to
And it worked!
I'm still testing it but I'm thinking if I have a lot of people watching my IP camera I will run out of bandwidth very soon.
Does anyone know a way I could upload the video stream to Livestream or UStream using VLC (I have done it before) and then get the video directly from a Roku application? This way Livestream or UStream will handle the bandwidth.
To get it working I used as a reference :
- http://wiki.videolan.org/Documentation:Streaming_HowTo/Streaming_for_the_iPhone
- How to stream anything on your hard drive to your roku http://forums.roku.com/viewtopic.php?f=28&t=38551&p=258686#p252994
I'm using an Axis M1011-W IP Camera.
I'm using Ubuntu with Apache as web server and the latest (nightly build) version of VLC. As I understand it, this funcionality can only be done with version 1.2 of VLC (which as of this writing is not released yet so you need the nightly builds)
Basically I run VLC from a computer (I may install it on a server later) to get the rtsp stream from the camera and I save it on a web server.
Basically the steps are:
1- VLC - Get the video stream from the camera, prepare the files for http live streaming
2- Save those files on a directory accesible by a Web Server
3- Use the web address of the stream within the Roku application
The steps with a little more detail:
Steps 1 and 2
On my IP Camera I can access the video stream this way:
rtsp://root:password@192.168.1.5:554/axis-media/media.amp
So I run VLC this way:
vlc -I dummy --mms-caching 0 rtsp://root:password@192.168.1.5:554/axis-media/media.amp vlc://quit --sout='#transcode{width=320,height=240,fps=25,vcodec=h264,vb=256,venc=x264{aud,profile=baseline,level=30,keyint=30,ref=1},acodec=mp3,ab=96}:std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/var/www/streaming/mystream.m3u8,index-url=http://mywebserver/streaming/mystream-########.ts},mux=ts{use-key-frames},dst=/var/www/streaming/mystream-########.ts}'
Where:
/var/www/streaming/ is the directory where I'm saving the stream files
http://mywebserver/streaming/ is web address of the location of the stream
The link http://mywebserver/streaming/mystream.m3u8 will get you access to the HTS stream.
Step 3
To test it I used the program 'customvideoplayer' from the RokuSDK and I only changed the line of the stream url on the main.brs to
http://mywebserver/streaming/mystream.m3u8
And it worked!
I'm still testing it but I'm thinking if I have a lot of people watching my IP camera I will run out of bandwidth very soon.
Does anyone know a way I could upload the video stream to Livestream or UStream using VLC (I have done it before) and then get the video directly from a Roku application? This way Livestream or UStream will handle the bandwidth.
To get it working I used as a reference :
- http://wiki.videolan.org/Documentation:Streaming_HowTo/Streaming_for_the_iPhone
- How to stream anything on your hard drive to your roku http://forums.roku.com/viewtopic.php?f=28&t=38551&p=258686#p252994
gklaas
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2012
01:43 PM
Re: IP Camera app/channel
>by kc8pql » Sat May 21, 2011 1:03 pm
>Maybe not that silly. It's been asked for a number of times before this. I wouldn't have any use for it, but apparently some do.
I have two IP cameras at my second home. They will serve up a JPG image with URL http://IP/image/jpeg.cgi
I'd like to create a screensaver that displays a fresh picture every minute or so. It'll allow me enjoy my vacation home window view while I'm (so sad) having to work for a living 400 miles away....
I'm currently studying deviantart and roku clock examples to figure out how to do this.....
Gerald
>Maybe not that silly. It's been asked for a number of times before this. I wouldn't have any use for it, but apparently some do.
I have two IP cameras at my second home. They will serve up a JPG image with URL http://IP/image/jpeg.cgi
I'd like to create a screensaver that displays a fresh picture every minute or so. It'll allow me enjoy my vacation home window view while I'm (so sad) having to work for a living 400 miles away....
I'm currently studying deviantart and roku clock examples to figure out how to do this.....
Gerald
YungBlood
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2012
10:11 PM
Re: IP Camera app/channel
Interesting concept. I don't have any IP cams to play with. I'm working on a project VERY closely related to it. Does anyone have (or know of) a publicly available IP cam feed I could play with? With some minor tweaking of one of my current projects, I could have a beta version up in a couple days. I'll see if I can go find some public IP cams...
YungBlood
Bringing more fun to Roku!
Bringing more fun to Roku!
YungBlood
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2012
01:03 AM
Re: IP Camera app/channel
Good News! My initial test is working. I'll add in the ability to enter the addresses & refresh rates, and have something published in a day or 2...
YungBlood
Bringing more fun to Roku!
Bringing more fun to Roku!

gonzotek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2012
04:59 AM
Re: IP Camera app/channel
"YungBlood" wrote:
Good News! My initial test is working. I'll add in the ability to enter the addresses & refresh rates, and have something published in a day or 2...
Woohoo 🙂
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
gklaas
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2012
10:55 AM
Re: IP Camera app/channel
"YungBlood" wrote:
Good News! My initial test is working. I'll add in the ability to enter the addresses & refresh rates, and have something published in a day or 2...
Hey YungBlood, I'm really looking forward to it.
In the meantime, I have been successful modifying the SDK DeviantArt example code to start a slideshow with JPEG's from my two cameras. This works just fine for a quick check of what's happening at home..... I go into the channel, see what the weather's like, see my car is still in the driveway, no flooding in the yard, etc... but the thing I notice is that the Roku caches the images, so if I watch long enough for the slideshow to cycle it always shows the same picture from the moment I started the channel. I did test that my camera will accept URL's with a QUERY_STRING ( http://IP/image/jpeg.cgi?r=#### ) so now I need to figure out how to increment the value of r within the slideshow so it sees a new URL and gets a new image each cycle.
Gerald

gonzotek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2012
11:12 AM
Re: IP Camera app/channel
Have a look at TheEndless' suggestion here to add a unique string to the url parameters:
viewtopic.php?f=34&t=47078#p320077
viewtopic.php?f=34&t=47078#p320077
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
YungBlood
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2012
12:27 AM
Re: IP Camera app/channel
For viewing a single webcam, try this:
https://owner.roku.com/add/PNVUS
I will be adding a multi-cam app later. 🙂
https://owner.roku.com/add/PNVUS
I will be adding a multi-cam app later. 🙂
YungBlood
Bringing more fun to Roku!
Bringing more fun to Roku!