Source code help AXIS 2400 videoserver please

Forum All about Webcams, IP Camera's & Camera's (hardware, software, pan tilt zoom etc).

Moderator: Esteban

paulb
Starting Member
Starting Member
Posts: 41
Joined: Wed Jun 13, 2007 8:54 pm
Location: United Kingdom
Contact:

Source code help AXIS 2400 videoserver please

Post by paulb »

Hi guys and girls

I'm playing about with a axis 2400 video server atm and need a bit of advice , ok i got it streaming files via ftp at the moment i have it set to overwrite the jpg file but it has options to sequence the jpg files. What would be really cool is if i could somehow have the latest Jpeg displayed but be able to view previos Jpeg files.

My web programing knowelegd is very basic , i have set a very basic page that that refeshed images every 10 seconds , but would be great to get historic jpgs on there ...

http://homepage.ntlworld.com/p.bulmer/cctv/cctv.html
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Source code help AXIS 2400 videoserver please

Post by Bwired »

What do you mean with historic? 1 image every x minutes?
The 2400 is an older type AXIS Video Server, does it support the AXIS API?
http://www.axis.com/techsup/cam_servers ... _index.php


<hr noshade size="1"><font size="1">Pieter Knuvers
http://www.bwired.nl <i>Online House in the netherlands. Domotica, Home Automation.</i></font id="size1">
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Source code help AXIS 2400 videoserver please

Post by Snelvuur »

linux/windows? you have tons of tools out there for windos and linux that can do these things for you afaik.

// Erik (binkey.nl)
LostDreamer
Member
Member
Posts: 73
Joined: Fri Apr 10, 2009 1:43 pm
Location: Netherlands
Contact:

Source code help AXIS 2400 videoserver please

Post by LostDreamer »

If you can get the videoserver to dump the jpg files in a folder with different names (timestamps?)

You can have PHP / ASP or something to pick the newest image, show it, and also give arrow buttons to scroll to other images ;).
Also: You would probably need a third script that checks the folder and deletes anything older then XX minutes (so the folder wont will up so fast)


Regards,
Lostdreamer
paulb
Starting Member
Starting Member
Posts: 41
Joined: Wed Jun 13, 2007 8:54 pm
Location: United Kingdom
Contact:

Source code help AXIS 2400 videoserver please

Post by paulb »

Thanks very much for the reply's guys really appreciated. I'm now running the current firmware 2.20 and its linux as for supporting the api not sure about that one.

Lost dreamer that php / asp idea is the sort of thing i'm after ie displays latest image but keep a record of older images. These are the options below as you can see you can sequence images etc ....

Image File Name
Enter the Upload Path and Base File Name, specifying either a Date and Time Suffix extension or a Sequence Number Suffix for the uploaded images:


Upload Path:
Base File Name:
Overwrite
Date/time Suffix
Sequence Number Suffix set to Maximum
Sequence Number Suffix Up To:
Zeppie
Starting Member
Starting Member
Posts: 12
Joined: Mon Nov 09, 2009 8:11 pm
Location: Netherlands

Source code help AXIS 2400 videoserver please

Post by Zeppie »

I wrote this a long time ago:
Stores images for 24h, except for the weekend. In the weekend all images are stored for security reasons. On monday the weekend gets deleted also.
Autorefresh every 10 minutes

http://almere.slavenburgproject.nl/

server is dead-slow (some gprs connection) so don't shoot me ;) I can send you the source to modify if you want to. It is in PHP5 on windows but shouldn't be to hard to modify for linux (only paths and stuff)
paulb
Starting Member
Starting Member
Posts: 41
Joined: Wed Jun 13, 2007 8:54 pm
Location: United Kingdom
Contact:

Source code help AXIS 2400 videoserver please

Post by paulb »

Hi Zeppie your site loaded very fast , would really appreciate any example code you can send me to have a play with lol. I do eventually want to get into if a event happens like it is on bwired but for now capturing and storing stills would be greatfor now.

any code example can you send to pdbulmer@hotmail.com please.

Many thanks so far guys

Paul.
paulb
Starting Member
Starting Member
Posts: 41
Joined: Wed Jun 13, 2007 8:54 pm
Location: United Kingdom
Contact:

Source code help AXIS 2400 videoserver please

Post by paulb »

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by Bwired</i>
<br />What do you mean with historic? 1 image every x minutes?
The 2400 is an older type AXIS Video Server, does it support the AXIS API?
http://www.axis.com/techsup/cam_servers ... _index.php


<hr noshade size="1"><font size="1">Pieter Knuvers
http://www.bwired.nl <i>Online House in the netherlands. Domotica, Home Automation.</i></font id="size1">
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

Hi what i was meaning historic data is like you have on the main site where you can see all the cam events in november / december etc but maybe have date and timestamp on a certain day like today is the 1st December then under that you would have all the images captured on the 1st december with maybe timestamp information.

Regards

PAul.
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Source code help AXIS 2400 videoserver please

Post by Bwired »

If you want the cam events you mean events triggered by motion settings within the videoserver? Most video servers have the ability to store these images (events) to a certain directory.

<hr noshade size="1"><font size="1">Pieter Knuvers
http://www.bwired.nl <i>Online House in the netherlands. Domotica, Home Automation.</i></font id="size1">
paulb
Starting Member
Starting Member
Posts: 41
Joined: Wed Jun 13, 2007 8:54 pm
Location: United Kingdom
Contact:

Source code help AXIS 2400 videoserver please

Post by paulb »

At the moment i have the images been uploaded via ftp to my webspace , what i would like to do is like what you have done on bwired ie have a page that displays latest cam image and any other images would be available from the same page.
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Source code help AXIS 2400 videoserver please

Post by Bwired »

Ok,I think you use PHP?
check this link: http://www.webdeveloper.com/forum/showt ... p?t=170460

<hr noshade size="1"><font size="1">Pieter Knuvers
http://www.bwired.nl <i>Online House in the netherlands. Domotica, Home Automation.</i></font id="size1">
paulb
Starting Member
Starting Member
Posts: 41
Joined: Wed Jun 13, 2007 8:54 pm
Location: United Kingdom
Contact:

Source code help AXIS 2400 videoserver please

Post by paulb »

That looks great but i was looking for asp if possible as my free server doosnt use php lol
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Source code help AXIS 2400 videoserver please

Post by Bwired »

Well a search on google does the trick
http://www.asp101.com/articles/john/ima ... efault.asp

<hr noshade size="1"><font size="1">Pieter Knuvers
http://www.bwired.nl <i>Online House in the netherlands. Domotica, Home Automation.</i></font id="size1">
Zeppie
Starting Member
Starting Member
Posts: 12
Joined: Mon Nov 09, 2009 8:11 pm
Location: Netherlands

Source code help AXIS 2400 videoserver please

Post by Zeppie »

My source is in PHP.. if I don't forget to send it ;)
So what -does- you free server support for server side scripting ?
paulb
Starting Member
Starting Member
Posts: 41
Joined: Wed Jun 13, 2007 8:54 pm
Location: United Kingdom
Contact:

Source code help AXIS 2400 videoserver please

Post by paulb »

I'm actually thinking of getting a cheap hosting package from fasthosts they do linux and windows with php with shed loads of storage. I have thought of having my own server onsite but i have a couple of issues with this , firstly the amount of electricity the think will consume , and also what would happen if someone broke in an nicked the server , so offsite server seems a possible solution.
But there again would i be able to do home automation from a remote server on the internet ?

What do you guys think ?
Post Reply

Return to “Webcams & Camera Stuff Forum”