Page 1 of 2

cam & time lapse web sites all complete - using scripts only

Posted: Sat 01 Mar 2014 8:55 am
by ace2
Progress update.....

After some trial and error, I've managed to take/upload jpg/create mp4's and keep a video archive only using cumulus, cumluus toolbox, dos scripts and a standalone schedule app(windows task manager is dead on my system)
My hardware consists of a dedicated windows media centre with a network NAS And a Foscam FI9805W HD 1.3mp IP camera which happens to be able to take a jpg every x time Which it uploaded to the NAS drive(no PC needed).
Every 10 mins I run a small script that finds the latest jpg, copies, renames And upload to the web site.
At the end of the day, I run another script to copy all jpg, rename in sequence and compile to mp4 to be uploaded.

That's the basics of it. The reason I did this is because running ispyconnect on a media centre to take the shots and time laspe stuff started to bog the system down.

So this can all be done with zero dollars and next to no PC resources!!!!

PS. Currently only test time lapse video's showing and creation starts at 1/3/14(silly me deleted all the jpg from 28/2 & 27/2 testing a script) :(

http://www.users.on.net/~ace2/cam.htm
http://www.users.on.net/~ace2/video.htm

Web can feed closes between 9pm and 5am. plus who want to see black images!!!!!
The above comes with a we are closed html page that gets uploaded at set times.
Chris

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:10 am
by hills
Website looks good, but I get the error "No video with supported format and MIME type found". Do I need to download something to view them?

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:14 am
by ace2
hills wrote:Website looks good, but I get the error "No video with supported format and MIME type found". Do I need to download something to view them?
That would be time lapse video for day 3, has no video!!!

If that's not the case, let us know what browser and os so I can test...

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:17 am
by hills
I get the error above in firefox for all 3 days, in IE 8 I just don't see the videos to select one, but it works great in chrome!!

Looks great!! :clap:

EDIT: I suspect I'm seeing the same video for day 1 and day 2 though. for a test its a huge success though.

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:23 am
by ace2
Mm, strange, I've tested in Firefox (home PC), chrome(mobile device) and opera (mobile device).
Have to test on IE, I have 9 I think.. Will test later!!!

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:29 am
by nitrx
mp4 should be played in all modern browsers with html5 tags, atm I can see it in chrome nice resolution

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:31 am
by ace2
hills wrote:EDIT: I suspect I'm seeing the same video for day 1 and day 2 though. for a test its a huge success though.
I kind of said that in the opening post...

Cause i was testing a script that deletes jpg's, silly me.

As only test Mp4's they May or may not have been compiled with the current ffmpeg script, I changed it around so much....
And some tweaking is still required.

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:34 am
by ace2
nitrx wrote:mp4 should be played in all modern browsers with html5 tags, atm I can see it in chrome nice resolution

Is it the way I've added it onto my website???
I'm still very new to this!!

Res is 1280 * 720

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:44 am
by nitrx
Yes IE8 doesnt support it (not sure about IE9) see http://www.w3schools.com/tags/tag_video.asp

<source src="movie.ogg" type="video/ogg"> can be scraped thats for audio

The <video> tag is supported in Internet Explorer 9+, Firefox, Opera, Chrome, and Safari.

Note: Internet Explorer 8 and earlier versions, do not support the <video> tag.

I've testded it on my windowsphone works fine and all major browsers on adroid 4.4 on my tablet

http://editspace.sytes.net/movie/ (foscam w8904 res 640:480)

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:53 am
by ace2
Thanks nitric.

The camera is a FoscamFI9805W HD 1.3mp 960p H.264 Outdoor IP Camera which I'm very happy with. I've got it set to 720p on the camera and I'm sure I'm using the 480p profile in ffmepg....

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 9:53 am
by tumutbound
Running Firefox 24.2.0 under Linux (Centos 6.4) and I get the message:
"No video with supported format and MIME type found"

Running Firefox 25.0 under Ubuntu 12.04 and it works fine.

Could be the older version of Fiirefox under Centos is missing some plugin.

Looks good, resolution is great.

What frame rate are you using to create the time-lapse? Do you take extra images or is it just based on the same image every 10 minutes that you upload to your web site?

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 10:05 am
by ace2
Sorry to say, can't cater for everyone :(

Main goal was android devices and Firefox and Chrome, yes I hate IE!!!!

Re: cam & time lapse web sites all complete - using scripts

Posted: Sat 01 Mar 2014 10:37 am
by ace2
I forgot to mention I close the feed down between 9pm - 5am.
I don't see the need for black still or including them in the time lapse video.
I have put up a funny business hours jpg while I wait for a friend to design a better one!!!


Time lapse page will of course stay open all the time!!

Re: cam & time lapse web sites all complete - using scripts

Posted: Sun 02 Mar 2014 1:31 am
by ace2
complete success with customs scripts last night, all worked the way it should, but................

As i'm with Internode and they provide only 50 MB :( of web space. Now this is a problem since my site was sitting around 78MB...

I've reduced the bitrate from 1512 to 1300 which dropped the size from 30MB to 22MB and shaved 30 minutes of jpg capture, have to wait to see what the size end up like...

Anyway, lapse 1 & 2 are the same video 22MB and lapse 3 is the 30MB one if anyone is interested taking a look..

Re: cam & time lapse web sites all complete - using scripts

Posted: Sun 02 Mar 2014 10:24 am
by westonweather
The quality of your videos are very good! Nice!

What you need now is some weather ;)

I don't even know if my camera does blue sky yet. It definitely does grey though ;)