Could you not host just the image on a local server? It can be captured and saved every minute (or even second) but they'd be no network activity unless someone was watching.
I want to avoid that because my local server upload speed is slooooooow. If on the off chance I get the idea working properly there might be a couple of watchers, at least for a short time.
It is currently here and not exciting at all, unless you like watching out for the odd dumper truck -
http://antthomas.co.uk/webcam/temp.php
How about writing a script that'll run on your server and use PHP's file_get_contents to download it from your local server to your remote server? It could work, unless you want to do terrifying cron jobs, so on every refresh it downloads the image for the next refresh depending on the age of the file. If you get me.
That might get around the bandwidth ^.^
Certainly a possibility but I think requesting an upload might be a bit slow.
The local system currently uploads the range of images every 20 seconds to the spare "100GB" free server I've found. Then there's a bit of Javascript to update the image and the date stamp every 20s.
Maybe get a box.com account and upload to there? They are giving 50GB's away. You'd have to see if they limit bandwidth though.
Oh, it's free, figured I'd mention that.
EDITED: 22 Nov 2012 16:31 by SHIELDSIT
I think I might have one already.
I was considering that with Dropbox, just need to look into bandwidth restrictions on public files.
Yeah, I only have 12GB on DP, but 50 on Box, and 25 on skydrive. I'd look in to one of those I think. If you can't find anything to your liking we could test it on my server.
Do you have SSH access to the server?
If you do, you might want to look into using rsync to only upload the image when it has changed.
If you were to use a image format that is predictably consistent in how it saves (I'm thinking one that doesn't use compression / isn't lossless, i.e. saving the same image to 2 different files creates 2 identical files - bitmap for instance) you could then get rsync to only transfer the parts of the image that have changed.
Only upload the largest resolution image, with compression on of course, and on the server use some shell scripting on a cron to copy and convert the bitmap to a web-friendly format and also create the smaller resolution images.
If you don't have SSH, forget I said anything.
I don't (giggle)
The image does change every 20 seconds though.
The script on my webcam machine is basically...
Take photo
Resize photo
Upload photo
This runs every 20 seconds.
What kind of router do you have? With the new Asus routers (maybe new isn't the right word), with some Asus routers, like mine, you can connect an external drive and host it. Asus also offers some cloud storage. Without looking I can't remember what you said the reason was for wanting to upload them and not put them on your server, but I can't imagine it's bandwidth because you're still uploading them. So even if you're not using an Asus router, and if your router has usb ports you can install Tomato USB and host from there. Just an idea...
It is bandwidth at my end. My upload pipe isn't fat enough for proper hosting.
Uploading a single (or a few) images every 20 seconds is fine. But having a number of people requesting said images every 20 seconds isn't.
Anyway, I'm using that free service I linked to up there for the time being, hopefully it's not too shit.
I must have missed that post, I'll check it out. What is your upload speed?
Ah yeah, that's not going to cut it is it?
So the AntThomas.co.uk is where you're putting them now? Seems to work just fine!
And hey, it's raining and dark, it certainly shouldn't be dark this time of day!
No. antthomas.co.uk is my proper hosting. The page is hosted there but the images are on the spare hosting.
The spare hosting with 100GB bandwidth is
http://antthomas.comuf.com
Pitch black outside and it's just started chucking it down. Nice walk home from work for me :((
Ah I see. I'm pretty sure that DP doesn't have any bandwidth limit, so you could probably do the same thing with your public folder.
This time of year is depressing enough without pitch black AND rain. I'd probably eat a gun barrel.
*And I just realized it is about time for darkness over there, I was forgetting it was 5 hours ahead of me AND almost December. Dark at 5PM...sucks...
Good stuff.
I might do something similar with my Pi, seeing as it's not really all that cut-out for use as a HTPC just yet, especially playing a lot of HD content.
It really isn't, is it?
Well, actually, I've only tried a few .mkvs on mine, and it hasn't really had too many problems. It's just that RaspBMC just doesn't work too smoothly. That's the problem with using beta software, I suppose.