Search results

  1. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    What webserver are you running? If you're running Apache, what is the output of: tail -n 25 /var/log/apache2/error.log
  2. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    The camera is remote from the webserver? I would use a different port other than 80 and redirect that to the camera. Like say Port 5000 -> Router -> Camera Port 80. Or use a VPN.
  3. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    Probably not a good idea to port forward direct to the camera. I've taken snapshots and the PTZ still works using SPSS, Joystick and in IE. It works fine each time.
  4. Go3Team

    Dahua Starlight Varifocal Bullet Z5 7-35mm (IPC-HFW5231E-Z5)

    I don't use BI. The sound comes in fine on the NVR & SPSS.
  5. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    You're welcome.
  6. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    $newnewfile = "images/$now-r.jpg"; should be $newnewfile = "/var/www/html/images/$now-r.jpg"; Did you say you were using nginx? Do you have a file /var/log/nginx/error.log? Can you give me the output of: tail -n 25 /var/log/nginx/error.log Edit #2: You also don't need this either...
  7. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    You can see the image file created in "/var/www/html/images"? You'll want to: If your *.php file is in /var/www/html: echo "<img src=\"images/$now-r.jpg\">"; If the php file is in /var/www/html/images: echo "<img src=\"$now-r.jpg\">";
  8. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    Can you see the images in the var/www/html/ folder?
  9. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    Are you using Apache? Apache isn't able to use files from /tmp unless you copy the file to /var/www/html/??? or create a symbolic link from /tmp/$file to /var/www/html/images/???. It's probably easier to create the symbolic link.
  10. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    Take out these 2 lines, I realized they were from an older version that I copy pasted. $newfile = "/tmp/$now.jpg"; file_put_contents($newfile, $now); You're going to need write permissions in your folder /var/www/html/images/ There's a few ways to do that, some easier than others...
  11. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    This should auto refresh every 5 seconds. Change the number 5 in: <meta http-equiv="refresh" content="5"> to however many seconds you need refreshed. 1 second may be a little optimistic. <!DOCTYPE html> <html> <head> <meta http-equiv="refresh" content="5"> <title>Dog Dog Cam</title>...
  12. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    I realized the first one was for the older Dahua cams where you didn't have to authenticate to get the screenshot. The 2nd allows for digest authentication which the newer Dahua cams need. I originally used the script so I could see how the dogs were doing while we were away. I shrunk the...
  13. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    You're welcome.
  14. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    Another way using curl: <!DOCTYPE html> <html> <head> <title>Dog Dog Cam</title> </head> <body> <?php $login = 'dookiehead'; $password = 'putsomestuffhereithink'; $url = 'http://10.0.0.65/cgi-bin/snapshot.cgi'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch...
  15. Go3Team

    how to get a snapshot using php for dahua SD49225T-HN

    Here's what I was using to change image size: <!DOCTYPE html> <html> <head> <title>Dog Dog Cam</title> </head> <body> <?php $orig = file_get_contents("http://10.0.0.49/cgi-bin/snapshot.cgi"); $im = imagecreatefromstring($orig); $now = date("U"); $newfile = "/tmp/$now.jpg"...
  16. Go3Team

    Dahua Starlight Varifocal Bullet Z5 7-35mm (IPC-HFW5231E-Z5)

    The audio sounds kind of bad if you're using the built in noise filter, I've disabled it: Example video:
  17. Go3Team

    Black Friday Discount From Andy

    I got mine in as well. Now I just got to put them up.
  18. Go3Team

    how to configure IVS (tripwire)?

    You're welcome. I had the same issue you did, and found it quite by accident.
  19. Go3Team

    Black Friday Discount From Andy

    I know right? Anytime I have a question or need an invoice, Andy always responds quickly - day or night.
  20. Go3Team

    how to configure IVS (tripwire)?

    Under Event: Smart Plan: Verify IVS is clicked (The light bulb). That got IVS working on my Z5.
  21. Go3Team

    5231-Z5 Bullet Hang/Slow

    Mine was doing the same thing around the same time. I don't think it was because it was switching from night to day, as none of my other cameras were even close to switching over.
  22. Go3Team

    Dahua Starlight Varifocal Bullet Z12 5.3-64mm (IPC-HFW5231E-Z12)

    It's a problem with ANY camera that has auto focus. With the settings needed at night for LPR, it's just too dark for auto focus to function.
  23. Go3Team

    Dahua Starlight Varifocal Bullet Z12 5.3-64mm (IPC-HFW5231E-Z12)

    The code I posted checks to verify that the focus is correct. If it's not, it adjusts the focus.
  24. Go3Team

    Who Watches The Watchers?

    You seem pretty sensitive to the subject. Maybe you have a penchant for diddling lot lizards in your back seat, or rolling drug dealers for their blow.
  25. Go3Team

    Who Watches The Watchers?

    ffmpeg command line: ffmpeg -hide_banner -nostats -thread_queue_size 1024 -rtsp_transport tcp -i rtsp://user:password@10.0.0.61:554/live -vf "drawtext=fontfile=/home/me/fonts/digital-7.ttf: textfile=/rd/timestamp: x=330: y=1010: fontsize=100: reload=1: fontcolor=yellow@0.8: box=1...
  26. Go3Team

    Dahua 2MP 25x Starlight IR PTZ Network Camera (SD49225T-HN)

    I run mine wired. There is a slight noticeable delay when controlling the PTZ. I imagine with wireless, that delay would be more so. That'd be a bit of a problem trying to follow a perp with it.
  27. Go3Team

    Dahua Starlight Varifocal Bullet Z12 5.3-64mm (IPC-HFW5231E-Z12)

    IIRC the focus is controlled by a step motor. That step motor has 644 steps from 0 to 1. The focus is currently @ 0.5 which would be step 322. Same for the zoom numbers.
  28. Go3Team

    5231-Z5 Bullet Hang/Slow

    Yes. Not for the cameras.
  29. Go3Team

    5231-Z5 Bullet Hang/Slow

    Mine was doing it every about every 12 hours until I reset it to default settings. I haven't had a problem since. It seemed like something was overloading it. The time would skip - jumping frames. It would also not automatically adjust as daylight would come. The screen would turn...
  30. Go3Team

    5231-Z5 Bullet Hang/Slow

    Are you using IVS on it? I turned IVS on mine and the same thing happened. I had to unplug it and plug it back in. I did a default settings on it and it's been doing fine.