Your Digital Media Has Never Looked So Good

 
bollywood
Topic Author
Posts: 99
Joined: Sun May 01, 2011 4:58 pm

IP Camera app/channel

Tue May 10, 2011 8:47 am

Is there a channel/app for roku so that one can connect to and view IP Cameras?


if not, is it possible to create one? or not?
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
 
User avatar
RokuKevin
Roku Engineering
Posts: 796
Joined: Tue Sep 22, 2009 2:29 pm

Re: IP Camera app/channel

Thu May 12, 2011 11:35 am

There is a USB app that reads FAT filesystems. Many cameras are just that so will work with this channel.

--Kevin
 
bollywood
Topic Author
Posts: 99
Joined: Sun May 01, 2011 4:58 pm

Re: IP Camera app/channel

Sun May 15, 2011 5:28 am

so if i have a ip camera connected to the same network as the roku player, how will i point it to the camera's live feed.

for example, on a pc, you can just go to a certain url and you can view the camera feed live.
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
 
jseigle85
Posts: 32
Joined: Tue Apr 26, 2011 8:02 pm

Re: IP Camera app/channel

Sun May 15, 2011 7:05 am

Send me an email with the link of your live ip camra feed. also I need some information about how you are streaming. What kind of media server are you using? If you are not using a media server, give me detail on your full setup everything from your camira to server(if any) to the web hosting (if any) to the url. jseigle85@gmail.com
 
bollywood
Topic Author
Posts: 99
Joined: Sun May 01, 2011 4:58 pm

Re: IP Camera app/channel

Mon May 16, 2011 8:47 am

well i haven't setup anything yet as i am trying to find out what the options are or if its possible, then i can try to make a channel. this way one can watch cameras outside their house, remote cabin, a friends camera etc... using the roku player and there would be no need to attach a PC to the TV to view it.

one can use IE to open up the address for the cameras which are similar to these:
http://192.168.1.66:8088
http://192.168.1.66:8011
and these links opens a live feed to the camera in IE(using active-x) or firefox.

if i setup the camera with static public ip, then i can view it from anywhere using a browser.





this is what i am looking to buy but only if it will work with roku.

http://www.foscam.com/Products_List.asp?id=173
●Support multiple network protocols: HTTP/TCP/IP/UDP/STMP/DDNS/SNTP/DHCP/FTP
● Support WEP/WPA/WPA2 encryption

here is the user manual:
http://www.foscam.com/down/FI8918%20FI8 ... Manual.rar
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
 
destruk
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: IP Camera app/channel

Mon May 16, 2011 9:33 am

I kind of figured that is what you wanted to be using it for. You will probably need to transcode the video stream into mp4/m4v or HLS streaming for roku to be able to display it, and you also probably want to have some kind of authentication setup for the roku and website address or you'll be allowing hackers and thieves free access to your home video feed when you're not there.

bollywood wrote:
well i haven't setup anything yet as i am trying to find out what the options are or if its possible, then i can try to make a channel. this way one can watch cameras outside their house, remote cabin, a friends camera etc... using the roku player and there would be no need to attach a PC to the TV to view it.

one can use IE to open up the address for the cameras which are similar to these:
http://192.168.1.66:8088
http://192.168.1.66:8011
and these links opens a live feed to the camera in IE(using active-x) or firefox.

if i setup the camera with static public ip, then i can view it from anywhere using a browser.





this is what i am looking to buy but only if it will work with roku.

http://www.foscam.com/Products_List.asp?id=173
●Support multiple network protocols: HTTP/TCP/IP/UDP/STMP/DDNS/SNTP/DHCP/FTP
● Support WEP/WPA/WPA2 encryption

here is the user manual:
http://www.foscam.com/down/FI8918%20FI8 ... Manual.rar
 
bollywood
Topic Author
Posts: 99
Joined: Sun May 01, 2011 4:58 pm

Re: IP Camera app/channel

Mon May 16, 2011 1:21 pm

so even though there is no link to a mp4/m4v file, if i find a camera that streams in a compatible format and i just put this in "http://192.168.1.66:8088", will this work?

i doubt it but are there cameras that do hls?
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
 
jbrave
Posts: 716
Joined: Mon Mar 22, 2010 3:00 pm
Location: Ben Lomond, CA
Contact:

Re: IP Camera app/channel

Wed May 18, 2011 7:40 pm

would have to be an .m3u8 not an mp4 for live streaming, wouldn't it? .mp4 (h.264) is for playing archived media.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
 
kbenson
Posts: 889
Joined: Fri Apr 09, 2010 9:53 am
Location: Santa Rosa, Ca

Re: IP Camera app/channel

Thu May 19, 2011 9:24 am

Did anyone else come up with the specs on the video output format? I reviewed the manual quickly, and didn't find anything useful.

In my experience with IP cameras (which was close to 8 years ago now), they didn't necessarily always actually output a video when you visited the webpage. Often, it was a quickly updating static image (JPEG or PNG). The FTP settings for the camera supports this, as they can often be configured to connect to an external FTP server and drop the images there.

If that's the case, it's fairly easy to replicate an updating image display using the Roku by selecting the image URL and repeatedly downloading and displaying it. I'm not sure what type of frame rate you'll get with roImageCanvas (which is the easiest way to implement what I mentioned above), but roScreen could be used for better performance (it's just more complicated).

If you wanted to make it really slick, you could even have the remote control the camera movement/zoom...
-- GandK Labs
Check out Reversi! in the channel store!
 
jbrave
Posts: 716
Joined: Mon Mar 22, 2010 3:00 pm
Location: Ben Lomond, CA
Contact:

Re: IP Camera app/channel

Thu May 19, 2011 8:15 pm

Yeah, I actually started working on one based on cameras that serve a .jpg frame (most do), back when there was a discussion on this subject last year or early this year. Fun idea. I'm sure there are some security cams that do HLS now.

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
 
richddean
Posts: 68
Joined: Wed May 18, 2011 4:06 pm

Re: IP Camera app/channel

Thu May 19, 2011 8:57 pm

This would be great. Anyone have any luck with this?

I have a Linksys WVC54GCA web cam I would love to be able to add as a Roku Channel. Someone mentioned maybe being able to do this with a camera that does HLS, I think my webcam does this. Though I am not sure.

I will follow this thread in case anyone makes a break through with this.
 
bollywood
Topic Author
Posts: 99
Joined: Sun May 01, 2011 4:58 pm

Re: IP Camera app/channel

Fri May 20, 2011 1:28 pm

if i can find a camera that does hls and does not cost an arm and a leg, i will write the code for it.

I am trying to understand the rapidly refreshing jpg image concept and how i can program that in bs. once i get some good idea, i will try writing some code.

any code examples or suggestions that can help me write the code will be great.
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
 
kbenson
Posts: 889
Joined: Fri Apr 09, 2010 9:53 am
Location: Santa Rosa, Ca

Re: IP Camera app/channel

Fri May 20, 2011 1:50 pm

Pseudo-code follows:
time = get_current_time_in_ms()
refresh = 100 ' in ms, 10 times a second
targetTime = time
while true
    ' Pre-compute target time so image download and display doesn't cause unnecessary lag
    targetTime = get_current_time_in_ms() + refresh
    image = get_image_from_url()
    show_image_on_screen(image)
    sleepTime = targetTime - get_current_time_in_ms()
    ' Only sleep if we don't think another image is ready yet
    if sleepTime>0 then sleep(sleepTime)
end while


Your choice as to whether you use roImageCanvas or roScreen.
-- GandK Labs
Check out Reversi! in the channel store!
 
richddean
Posts: 68
Joined: Wed May 18, 2011 4:06 pm

Re: IP Camera app/channel

Fri May 20, 2011 1:58 pm

richddean wrote:

I have a Linksys WVC54GCA web cam I would love to be able to add as a Roku Channel. Someone mentioned maybe being able to do this with a camera that does HLS, I think my webcam does this. Though I am not sure.



Darn, I was wrong my Linksys web cam does not do HLS. It appears to do MJPG motion video and JPG snapshots. It also appears to do some sort of RTS for mobile streaming but not HLS.

How hard would it be to have a channel that pulled the JPG every few seconds from the snapshot URL. As much as I would like the streaming, being able to see a quick snap shot just to make sure no one has kicked in my front door would be nice. :-)
 
jbrave
Posts: 716
Joined: Mon Mar 22, 2010 3:00 pm
Location: Ben Lomond, CA
Contact:

Re: IP Camera app/channel

Sat May 21, 2011 12:27 am

richddean wrote:
How hard would it be to have a channel that pulled the JPG every few seconds from the snapshot URL. As much as I would like the streaming, being able to see a quick snap shot just to make sure no one has kicked in my front door would be nice. :-)


Not hard at all.

You could have a pile of cameras and refresh the images as fast as your cameras can deliver them (which, in my experience, is not very fast!) With the new 3.0 features, you could probably do it without flicker too.

What I stalled on was coming up with an algorithm for automatically subdividing the screen into smaller and smaller squares as more cameras are added to the system. Seemed really simple, but never quite figured it out...

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!

Who is online

Users browsing this forum: No registered users and 3 guests