![]() |
Webcam Viewer app for N800?
Does anyone know of a webcam viewer app that would allow me to view a IP based webcam in fullscreen on the N800? The webcam provides a jpeg stream of images and I'd liek to be able to view it on the N800 instead of the desktop for a portable viewer if possible.
|
Re: Webcam Viewer app for N800?
The webcam doesn't provide a web interface to let you view it? Do some searching around, I believe I've seen others in the past talk about using MPlayer to do this, but can't be 100% certain now...
|
Re: Webcam Viewer app for N800?
The webcam has an interface but it is ActiveX or Java based to handle the refreshing and related, which the N800 cannot do unless I've mised something.
Was looking for an app that could handle it directly to do the refreshing of the images. |
Re: Webcam Viewer app for N800?
I don't see anything in mplayer to handle it nor do I see any webcam specific apps. :(
|
Re: Webcam Viewer app for N800?
I had an interest in this too. I found a random mjpg webcam stream http://77.46.140.219/axis-cgi/mjpg/v...=1234987014475
I know that firefox has native support for it, and it works on the desktop. but the stream doesn't exactly work well on the NIT. and neither mplayer nor any other player on the NIT i tried would play it. |
Re: Webcam Viewer app for N800?
I setup a simple JS function that causes a page refresh that shows the image every second. It works fne on PC. On NIT it runs for a a few seconds then stops as if the browser times outthe script, click the screen and it reactivates.
Anyone know how to prevent thsi from hapening, ie so it doesn't stop the JS refresh? |
Re: Webcam Viewer app for N800?
Actually, I was making a mistake. It works find in the browser on the NIT, you just have to embed the image in an html file. No JS necessary.
Save this in a file called webcam.htm Code:
<html> Make the browser full screen and you got what you want. |
Re: Webcam Viewer app for N800?
Quote:
Code:
<html> |
Re: Webcam Viewer app for N800?
http://www.ajaxcam.com is what i'm using.
it "seems" to run fine if I don't go fullscreen mode. Could something else be taking focus in the background and stopping the script perhaps? |
Re: Webcam Viewer app for N800?
It seems it may have been the mail notifications taking focus from the browser in fullscreen mode. Turned it and chat off and it "seems" to now be working. Still testign though. The posted script above I couldn't get to work at all even locally, it never refreshed it seemed.
|
Re: Webcam Viewer app for N800?
the ajaxcam guy is doing exactly what I posted. I just left off the cache busting random number (the Math.Random part) that he uses because it doesn't work with all feeds. It shouldn't be necessary with an IP camera; but I guess it is with the one you're using.
perhaps if you put a textbox on the page and give it focus, the browser will maintain focus and keep refreshing. |
Re: Webcam Viewer app for N800?
Is it a webcam taht ANYONE could or should see?
I am just asking because if yes, then i could make a mojocafe.net widget out of it! |
Re: Webcam Viewer app for N800?
Quote:
no, private |
Re: Webcam Viewer app for N800?
Well I had thought it was working with email notifcations off, but turned it on today and back to same issue it appears, seems as if the script just stops running in the browser for some reason. Not sure why it works sometimes and not others now :-\ Something must be takign focus or an issue with browser itself.
|
Re: Webcam Viewer app for N800?
I guess maybe the N800 needs to go back to collectign dust at this point if a simple script wont work consistently and no other webcam viewer options :(
|
Re: Webcam Viewer app for N800?
If it is indeed an MJPEG stream, then you can use mplayer as I'd originally suggested:
http://www.lavrsen.dk/twiki/bin/view...gStreamViewing If it's just a sequence of JPEG images that you must manually refresh, then your browser approach is probably the easiest solution; try turning the setTimeout value up so that it's refreshing a little less often and see if that has any effect. |
Re: Webcam Viewer app for N800?
It is just a series of JPEGs. The script finally worked yesterdya when I tyrned off email notifications, but today after a restart it doesn't work at all No idea why.
|
Re: Webcam Viewer app for N800?
It appears to be perhaps some weird glitch related to the screen settings to auto turn it off. Even though I have it set to always be on when charging, it seems to stay lit but appear disabled. I reduced the time settings in there to 30 seconds and the website seems to freeze around that time. Only a guess at this point :-\
Edit - seems to be the case, set to 1 min on display settigns and web froze after 1 min, same at 30 seconds setting. Any ideas why this would happen when it is plugged in and anyway to override? |
Re: Webcam Viewer app for N800?
My guess based on that feedback would be that the browser is doing power saving by stopping anything that it's running after the given idle time, whether the screen is "on" or not. (Remember screen on != idle or active).
Perhaps a better approach would be to build a simple python application that periodically loads the given image file and displays it on screen... shouldn't be very hard to do using something like pygame. Hopefully somebody with a bit more python experience steps up here, but if not I'll see if I can throw something basic together at some point this evening... |
Re: Webcam Viewer app for N800?
Turned out it was the screen display setting. Set them to 24 hours instead of 5 mins and works fine.
|
Re: Webcam Viewer app for N800?
Nice, though remember you'll have to click on your tablet once every 24 hours! lol
Anyways, if you're still looking for an alternative, I threw together a VERY basic python app that will do the same sort of thing (without needing the browser) Code:
#!/usr/bin/python2.5 |
Re: Webcam Viewer app for N800?
Thanks for the code, but the webpage seems to be working now and with how I have it sized it basically is a fullscreen image in zoom mode, which is exactly what I wanted.
Makes good use again of my N800 at least. Nest I'll have to add some overlayed data for time, temps, etc to make it a mini info hub perhaps. |
All times are GMT. The time now is 15:08. |
vBulletin® Version 3.8.8