473,322 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Accessing CCTV Cameras through internet using PHP

Hello to everybody!

I want to ask if cctv cameras can be possible to access using php language. I mean the cctv is located in the house of a certain owner, then whenever he goes he can access to view the camera through internet using php?

Thanks in advance!
May 24 '13 #1
5 5348
neo008
85
Hi Cristina, that sounds interesting.

I also don't know the exact answer to your question but I can discuss the scenario at least and I hope this will make some clear picture for you-

If in case you don't already know,

1. If it is the matter of PHP than you must recall that it is a server side scripting language which reflects that your hardware must be connected to your server itself.

2. PHP will simply be using/processing data in order to display images in a browser. PHP can do this thing in two ways-
a. either taking data from server computer itself (if in case hardware is somehow attached to the server computer itself or
b. taking data from a remote location and the hardware is attached to that remote computer/node.

I dont assume that you're having your server at the camera location and also that you'll plan to do that just to achieve a camera interface.

3. So, I guess your hardware/camera needs to be connected to a computer which must be having an internet connection with static IP and that IP you can use in your PHP programming to take data from. Now your camera will be saving image/motion data into the local computer and your web server will be taking that data by using such static IP and providing on internet on each client requests.

Theory is simple but it gets tough because
1. We usually don't have static IP ready to do some quick R&D on it and
2. Every different hardware use different protocols to store/display recorded images.
3. First you have to get your recorded data in your control at a local stage /local compauter and save it to your local hard drive in the format you are expecting your server will easily have access to it.
4. Acquire that data from your web server and now it is now when you come to know how to deal with big size data in each http browser request.

Server part does'nt seem to be much difficult than the starting part.


NE
May 25 '13 #2
Hi Neoo8, I got your point and it was give me additional knowledge regarding to my question.

But I do have another question, what if we use c#(asp.net) rather than php, I know that it is possible to make a system that will access the cctv using internet. But I dont know how to start! what cctv camera can i use to connect in c# and every 1 hour the video will saved into mysql server.

Thanks in advance.
Jul 19 '13 #3
Dormilich
8,658 Expert Mod 8TB
I want to ask if cctv cameras can be possible to access using php language.
you’ll need some kind of middleware (on the local PC) that "translates" the camera’s data to something streamable and that connects your camera to a (TCP) socket PHP can connect to.
Jul 21 '13 #4
neo008
85
Hi Mhary Cristina, In case your problem is not already not solved-

If your target is just to view video images over internet at any remote location then you don't even require any sort of programming. You just need to provide and set-up static IP to your 'Camera-Recorder system' and it will let you view display in any supported browsers via http requests.
This is just a CCTV-Internet system you must be aware of.

On the other hand if you want to play with data and wishing to use per your thoughts like storing images every hour, then again firstly your system needs to be able to 'SERVE' your data over internet and just before/betwee/after providing data over internet/client you may use any server side scripting technique like php asp whatever. Also the client side techniques will do their tasks for browsers.

Now to access/touch/use camera's video data, your camera driver must be accessible anyway, like through dll or active x control.

1. You must select camera which provides you such things.
2. Choose scripting language which supports those libraries.
Jul 26 '13 #5
Dormilich
8,658 Expert Mod 8TB
and every 1 hour the video will saved into mysql server.
large binary data (like video data) should not be stored in any DB.
Jul 26 '13 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Next | last post by:
Hello, I sure could use someone's help : ) I need to authenticate users and securely upload files from laptops on the internet ( not on the same domain as server ) to a server on my domain....
1
by: Raichu | last post by:
Hi All, I'm new to VC++.net and I searched through the forums and couldn't find anything related to this. I'm trying to send a flat file from a VC++.net program to a PHP file residing on a...
2
by: Jonathan Woods | last post by:
Hi there, I have encountered problem of losing data sending over internet using web service. I consume web service that connected Oracle Database. I submit 687 SOAP Messages to 1 Web Method...
13
by: KiwiGenie | last post by:
I am trying to connect to the internet using a USB Ethernet adapter. It installs but won't connect to my dsl modem. The ethernet light on the modem doesn't even light up, though the same cable works...
0
by: Rahat Ali | last post by:
hi every one,i am doing a project now a days in which i want to know the data a clint or a local machine is receiving from internet or server also the bandwidth it is consuming.thanks
0
by: tarundevnani | last post by:
I have a file named file1.xml also under C:/tarun/file1.xml file1.xml looks like:- <?xml version="1.0" encoding="UTF-8" ?> - <elemNames> <name>elem1</name> </elemNames> Method 1:
4
by: saintme | last post by:
Hello all, I have a USB modem stick and a PoE network device. I want to connect the device to the Internet using the USB stick. The device has no other interfaces, so I must use its RJ-45 port. I...
2
by: yanksrock528 | last post by:
I am writing a program, and i would like to save an xml file that is on the internet now, to my computer in this csharp program. Something else that might help is if i could get the csharp xml...
1
by: apple sauce | last post by:
laptop runs vista. my isp is cox. modem is combination internet/phone jack modem by arris. my router is cisco. my laptop was connected to the modem and it would not access the internet. finally...
0
Rabbit
by: Rabbit | last post by:
I often use this to download a CSV to update data in a database. Option Compare Database Option Explicit Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.