SitePoint Sponsor

User Tag List

Results 1 to 21 of 21

Thread: PHP & DVR

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP & DVR

    hi all ,

    i'm trying to connect to DVR camera by using PHP and execute some commands like saving image and so on ,

    i have sample camera

    79:134:158:86

    username : admin

    password : 00000000

    how to do this please

    regards

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    Is there an API to the camera software, is it web based? Does it respond to socket requests? How much do you actually know about the camera?
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i dont know that much , thats why im here and asking your help

    can you please access to camera , maybe u have answer

  4. #4
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    Did the camera come with any documentation? Model #, etc. As a lot of info should be within the documentation, and once you know how to access each piece of functionality, programming it, won't be terribly difficult.
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  5. #5
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it has SDK doc , and maybe i can execute the command by calling dll , but i have no idea how ,if you want i can send you SDK doc.
    i have read it , but i did not understand it


    Here below the dll usage investigation I did to get the data from the DVR:

    1- QTSocketStartUp to initialize the dll global and static data.
    2- QTOpen to setup the connection with the DVR; passing the parameters of the cameras as specified by the documentation sent. One importance tip here is that there should be a window handle to be passed. The window handle should be created and the WndProc should be overridden to receive the user defined messages from the dll. A workaround for this for the web implementation is using a silent window to process the messages and send the results for the web form/page.

  6. #6
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    If you attach the SDK doc to this thread, might be able to get a few people to help you look into it. There are several people here that I think would be up to the challenge.
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  7. #7
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  8. #8
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any help please ?

  9. #9
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    I need the attachment to get approved, so I haven't been able to download it yet.
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  10. #10
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can i do anything please ? if you want , i can send it to u by email my email is : mnkiweb@gmail.com

  11. #11
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any body can help please?

  12. #12
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    I downloaded the attachment and it contains a kml file that is nothing but XML, that doesn't really describe any type of SDK... Did you attach the correct file?
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  13. #13
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i apologize ..wrong attachments , i cant attach the sdk , because ,its 4 M , can i have your email please in order to send you the SDK ?

    many thanks

  14. #14
    SitePoint Addict kduv's Avatar
    Join Date
    May 2012
    Location
    Maui, HI
    Posts
    211
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Post the model/manufacturer of the camera. I'm sure we can find documentation on it online somewhere.
    Keith
    Freelance web developer
    http://www.duvalltech.com/

  15. #15
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  16. #16
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    From my quick overview of the SDK and the Network Protocol, you need a much strong language than PHP to handle this. All of the SDK and Network Protocol refer to things that would be used in C, C++, Java, or something along those lines.
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  17. #17
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what do u advice please ? i want to manage DVR camera thought web application

  18. #18
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    Everything I read in the attachments seem to be related to the DVR and not specifically the camera. Can you tell us which camera you bought?

    From what I can tell from http://www.advcctv.com.sg/uploads/fi...4000series.pdf, if you bought a camera that works with the DVR, it should be plug n play, and it seems the DVR has its' own web interface built in...
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  19. #19
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i want to make my own web application , i will connect to DVR , then save backup , frames or photo , and search on them later ...

    is there any work around ?

  20. #20
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,810
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    Not without a low level application running in the background that your web application can talk to. You may want to look to see if someone else has created a commercial product that does this already, as it will require a significant amount of work.
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  21. #21
    SitePoint Enthusiast
    Join Date
    Sep 2008
    Posts
    99
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, MANY THANKS FOR EVERYTHING


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •