Hi would like to use a SD22204UEN to create a live web stream and have the camera move gracefully between different positions.
I have saved these presets and when moving between them in a tour with the speed set to "1" the movement is pretty nice, but once the P/T position is reached the zoom then is adjusted at full speed, which is somewhat jarring. I would prefer the zoom to change during the P/T movement and for it to happen much slower.
I would like to read the latest HTTP API from Dahua but I am waiting for them to hopefully email it to me now that I have completed their NDA form...
For now I have been looking at some older documents from Amcrest and Dahua that I found elsewhere...
By using the "Continuously" code found in the Amcrest docs I can see that the camera can indeed make nice and subtle pan/tilt/zoom movements simultaneously...
This command moves the camera in all PTZ at a very slow speed for 5 seconds
Of course, trying to plan specific potions to hit using this method and just relying on a movement time duration is not going to work reliably, so I am still looking for a way to hit a particular position...
The "PositionABS" seems promising, however like the tour functionality, the P/T movement happens first and the zoom happens only once the camera reaches the correct position.
The Amcrest PDF suggests a an additional "&arg4=" can be used to set a speed of movement, but I have not been able to get this to work and in fact once I set this, only the P value seems to be used by the camera.
I noticed if I trigger a brief "Continuously" zoom command moments before issuing a "PositionABS" command then this does affect the speed at which the final zoom operates, but I still can't find a way to slow down the P/T movement anyway and I would prefer for the zoom to occur during the P/T movement anyway.
Any ideas for other commands I could try? It's mostly a shame that the Arg4 isn't working for me on PositionABS because it seems like that would get me pretty close.
I have saved these presets and when moving between them in a tour with the speed set to "1" the movement is pretty nice, but once the P/T position is reached the zoom then is adjusted at full speed, which is somewhat jarring. I would prefer the zoom to change during the P/T movement and for it to happen much slower.
I would like to read the latest HTTP API from Dahua but I am waiting for them to hopefully email it to me now that I have completed their NDA form...
For now I have been looking at some older documents from Amcrest and Dahua that I found elsewhere...
By using the "Continuously" code found in the Amcrest docs I can see that the camera can indeed make nice and subtle pan/tilt/zoom movements simultaneously...
This command moves the camera in all PTZ at a very slow speed for 5 seconds
http://CAM-IP/cgi-bin/ptz.cgi?action=start&channel=1&code=Continuously&arg1=1&arg2=1&arg3=1&arg4=5
Of course, trying to plan specific potions to hit using this method and just relying on a movement time duration is not going to work reliably, so I am still looking for a way to hit a particular position...
The "PositionABS" seems promising, however like the tour functionality, the P/T movement happens first and the zoom happens only once the camera reaches the correct position.
http://CAM-IP/cgi-bin/ptz.cgi?action=start&channel=1&code=PositionABS&arg1=180&arg2=20&arg3=40
The Amcrest PDF suggests a an additional "&arg4=" can be used to set a speed of movement, but I have not been able to get this to work and in fact once I set this, only the P value seems to be used by the camera.
I noticed if I trigger a brief "Continuously" zoom command moments before issuing a "PositionABS" command then this does affect the speed at which the final zoom operates, but I still can't find a way to slow down the P/T movement anyway and I would prefer for the zoom to occur during the P/T movement anyway.
Any ideas for other commands I could try? It's mostly a shame that the Arg4 isn't working for me on PositionABS because it seems like that would get me pretty close.