Jump to content
oh6hfx

Dahua IPC-HDB3200C ftp path, snapshot url, X - axis?

Recommended Posts

Good morning!

 

I changed the port in my snapshot URL and it still works. I use the HTTP port of the camera. (mine 8082).

http://ip-address:8082/onvif/media_service/snapshot

 

Also I made a .PHP script which moves all the jpgs under the directory tree in a same folder and the deletes the multi-level

dir structure.

 

Now this starts to look better. I need still resolve how I could upload to my Buffalo NAS when there is no possibility to put

slash in the ftp path.

 

Johannes

 

Dear Johannes,

I'm try to do same things with PHP, could you please share some code to get my on the way?

Thanks in advance!!

 

Grinch

Share this post


Link to post
Share on other sites

 

Nice info! So I did try this on 3 cameras, with different success.

 

IPC-HDB3200C

Software Version

2.103.0000.0.R, build : 2012-07-24

WEB Version

3.0.0.0

With this unit, I can access with no problems both URLs:

http://192.168.1.25/onvif/media_service/snapshot

http://192.168.1.25:9988/onvif/media_service/snapshot

 

IPC-HFW2100

Software Version

2.100.0001.0.R, build : 2012-10-31

WEB Version

3.0.0.0

With this unit, I get a 404 error not found when I try with web port 80, but it does work fine on 9988:

http://192.168.1.26:9988/onvif/media_service/snapshot

 

IPC-HFW3200S (rebranded version)

Software Version

2.103.0000.1.R, build : 2013-01-18

WEB Version

3.0.0.0

With this unit both URLs will give me the following error.

 

<?xml version="1.0" encoding="UTF-8"?>
-<SOAP-ENV:Envelope xmlns:tae="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:ns2="http://www.placeholder.org/ver10/tmp/wsdl" xmlns:ns1="http://www.placeholder.org/ver10/tmp/schema" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
-<SOAP-ENV:Body>
 -<SOAP-ENV:Fault>
  <faultcode>SOAP-ENV:Client</faultcode>
  <faultstring>HTTP GET method not implemented</faultstring>
 </SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Strange that the newer camera will not allow this. Any ideas on how to do it? Would I need to update the firmware, or is there some hidden setting I can change?

Share this post


Link to post
Share on other sites
IPC-HFW2100

Software Version

2.100.0001.0.R, build : 2012-10-31

WEB Version

3.0.0.0

With this unit, I get a 404 error not found when I try with web port 80, but it does work fine on 9988:

http://192.168.1.26:9988/onvif/media_service/snapshot

 

So I updated the IPC-HFW2100 with the following version:

Software Version

2.210.0001.0.R, build : 2013-05-17

WEB Version

3.2.1.105704

 

Now I can access both port 80 and 9988, like with the IPC-HDB3200C, but on both ports I get the same message that the IPC-HFW3200S gives me, that HTTP GET method not implemented... Maybe on newest firmwares this comes disabled by default (so that noone can get a screenshot of the camera without authentification) and there is some way to enable it?

Share this post


Link to post
Share on other sites

I have two cameras:

 

IPC-HBD3200C

Software Version2.103.0000.0.T, build : 2012-09-11WEB Version3.0.0.0

 

and

 

IPC-HFW2100

Wer. Firmware.2.103.0000.1.R, build : 2013-01-18 Wersja WEB3.0.0.0

 

When I want to get snapshot I have info "HTTP GET method not implemented" with both cameras.

 

Can you help me with solution or new firmware ?

Share this post


Link to post
Share on other sites

It does work with the new version, spent months of nagging Dahua until they told me the secret, unfortunately, it's a secret that may have to wait until I get home on Sunday as I have the new string at home on my desktop.

 

I was just playing with it yesterday. Was trying to figure out how to put it in an IMG tag, but wouldn't display. I've done this before, but I have to look back through one of my websites where I did this with a different camera.

Share this post


Link to post
Share on other sites
It does work with the new version, spent months of nagging Dahua until they told me the secret, unfortunately, it's a secret that may have to wait until I get home on Sunday as I have the new string at home on my desktop.

 

I was just playing with it yesterday. Was trying to figure out how to put it in an IMG tag, but wouldn't display. I've done this before, but I have to look back through one of my websites where I did this with a different camera.

 

Any information you can provide here would be greatly appreciated! After upgrading, the camera is no longer visable on our weather underground page.

 

Thanks,

David

Share this post


Link to post
Share on other sites

My IPC-HDB3200C camera, has two stream. Mainstream - 1080p and Substrem - D1.

On Software Version 2.103.0000.0.T, build : 2012-09-11WEB she saw the same area on D1 as 1080p. But now on new Software Version 2.210.0001.0.R, build : 2013-05-17, WEB Version 3.2.1.105704; on D1 (SubStream) I see less area as 1080p.

Is it a new software version where on D1 resolution I can see the same area as 1080p ?

Propably D1 = 4:3 , 1080p = 16:9 proportions.

Share this post


Link to post
Share on other sites

Got my Dahua 2100 to ftp to a Buffalo.

 

Set the ftp directory to "array1", set the Buffalo username to the Camera Device name. Awkward, but it works.

Share this post


Link to post
Share on other sites

We used to have a lot of Buffalo in the Los Angeles county on Catalina Island but they shipped most off to Wyoming. Man, if I can connect a Dahua camera to a Buffalo, that would be so cool, the Buffulo Cam.

 

236491_1.jpg

Share this post


Link to post
Share on other sites

Also I made a .PHP script which moves all the jpgs under the directory tree in a same folder and the deletes the multi-level dir structure.

Johannes

 

Johannes, it would be great if you would share your .php with us.

Share this post


Link to post
Share on other sites

I could solve the issue with multi-level structure on the ftp by myself. There's no need to do it with a php script.

 

I exported the settings from the camera and opened it with wordPad:

 

Now you find the following:

Files","Name":"ReadWrite","OverWrite":true,"PicturePathRule":"%y-%M-%d/%s[%E][%O@%S][%R].jpg","RecordPathRule":"%y-%M-%d/%c/dav/%h/%h.%m.%s-%h.%m.%s[%E][%O@%S][%R].dav"},{"Channels":[{"MaxPictures":0,"Path":null}],"FileHoldTime":0,"Memo":"For FTP Files","Name":"FTP","OverWrite":true,"PicturePathRule":"%y-%M-%d/%s[%E][%O@%S][%R].jpg","RecordPathRule":"%y-%M-%d/%c/dav/%h/%h.%m.%s-%h.%m.%s[%E][%O@%S][%R].dav"}],"Comm":[{"Address":8,"Attribute":[

 

I only need the picture path, so i reduced the 2 entries like in the text above to the path: "%y-%M-%d/%s[%E][%O@%S][%R].jpg[/b]"

 

 

Maybe it's helpful for someone...

Cheers

Share this post


Link to post
Share on other sites

9989 is not a port used in stable DAHUA firmware releases. You should review that, as it might expose a security flow in your camera.

Share this post


Link to post
Share on other sites
9989 is not a port used in stable DAHUA firmware releases. You should review that, as it might expose a security flow in your camera.

 

 

I got that addy from a dahua tech in their forums

 

I don't have that port open, that's just to watch snapshot with smart TV from my local net. Who will want a snapshot from outside your local net while there are so many apps that will give you live feed?

Share this post


Link to post
Share on other sites

This one has been working for a long time on Dahua cameras to grab a picture for use on a web site.

Also a nice function if you have a bad line, this command can be used in any known browser also on smartphones.

Latest known firmware for most cameras here in Europe are General_IPC-HX3(2)XXX_Eng_P_V2.212.0001.0.R.20131224

http://IP-adress or hostname:port/cgi-bin/snapshot.cgi

If default http (80) port is used ":port" are not needed

 

P.S. You can also get live stream in e.g. VLC player with the following string:

The last "subtype=1" mean that subtream from camera are used.

The last "subtype=0" mean that mainstream from camera are used.

 

rtsp://user:password@IP-adress or hostname:554/cam/realmonitor?channel=1&subtype=1(0)

 

Coolcruiser

Share this post


Link to post
Share on other sites

If you would like to hide the camera DDNS/IP Address and User Credentials when displaying images for your camera in web pages. Please see this:

 

http://foscam.us/forum/showing-secure-methods-using-php-to-display-your-ip-cameras-t8721.html

 

The above will work with any IP Camera or Imaging device that allows Snapshots/Images to be pulled using HTTP or HTTPS.

 

IMHO. It's never a good idea to expose your IP Cameras information unless you are willing and able to deal with any abuse that can take place when doing so.

 

Don

Share this post


Link to post
Share on other sites
On 1/16/2014 at 8:53 AM, lipperland said:

I could solve the issue with multi-level structure on the ftp by myself. There's no need to do it with a php script.

 

I exported the settings from the camera and opened it with wordPad:

 

Now you find the following:

Files","Name":"ReadWrite","OverWrite":true,"PicturePathRule":"%y-%M-%d/%s[%E][%O@%S][%R].jpg","RecordPathRule":"%y-%M-%d/%c/dav/%h/%h.%m.%s-%h.%m.%s[%E][%O@%S][%R].dav"},{"Channels":[{"MaxPictures":0,"Path":null}],"FileHoldTime":0,"Memo":"For FTP Files","Name":"FTP","OverWrite":true,"PicturePathRule":"%y-%M-%d/%s[%E][%O@%S][%R].jpg","RecordPathRule":"%y-%M-%d/%c/dav/%h/%h.%m.%s-%h.%m.%s[%E][%O@%S][%R].dav"}],"Comm":[{"Address":8,"Attribute":[

 

I only need the picture path, so i reduced the 2 entries like in the text above to the path: "%y-%M-%d/%s[%E][%O@%S][%R].jpg[/b]"

 

 

Maybe it's helpful for someone...

Cheers

Hi lipperland how did you manage to export de setting from your camera?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×