All AbelCam functionality has been terminated October 8th 2019
 
 
 
Navigation

Opinions
'Abelcam is the best webcam software I have ever used.
I even got live support from its creator!!
Who could ask for more? Fantastic!

 Iain Gil  more>>

 

Edit detail for IP PTZ Changes Version 4.2.0 revision 1 of 1

1
Editor: sse
Time: 2011/03/21 08:28:42 GMT+1
Note:

changed:
-
<h2>IP PTZ Changes</h2>
<p>AbelCam 4.2.0 brings new features for IP PTZ<br>
The file below is </p><ul>
<li>old fields and structure</li>
<li style="color: blue;">new and changed data</li>
<li style="color: green;">comments</li>
</ul>
<p>The example file is for the LevelOne FCS-0020 - this camera could only be controlled stepwise before this release.</p>


&lt;?xml version="1.0" encoding="utf-8"?&gt;<br>
&lt;!IPptzstruc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;<br>
  &lt;!CamType&gt;LevelOne FCS-0020&lt;/!CamType&gt;<br>
  &lt;!ControlCapabilities&gt;1&lt;/!ControlCapabilities&gt;<br>
  &lt;!MinPan&gt;-60&lt;/!MinPan&gt;<br>
  &lt;!MaxPan&gt;60&lt;/!MaxPan&gt;<br>
<span style="color: blue;">   &lt;!VerticalSteps&gt;20&lt;/!VerticalSteps&gt;</span> <span style="color: green;">1) number of tilt steps</span><br>
  &lt;!MinTilt&gt;-30&lt;/!MinTilt&gt;<br>
  &lt;!MaxTilt&gt;30&lt;/!MaxTilt&gt;<br>
<span style="color: blue;">   &lt;!HorizontalSteps&gt;40&lt;/!HorizontalSteps&gt;</span> <span style="color: green;">1) number of pan steps</span><br>
  &lt;!MinZoom&gt;0&lt;/!MinZoom&gt;<br>
  &lt;!MaxZoom&gt;0&lt;/!MaxZoom&gt;<br>
  &lt;!InitUrl&gt;/pt/ptctrl.cgi?mv=H&lt;/!InitUrl&gt;<br>
  &lt;!InitUrl2 /&gt;<br>
  &lt;!HomeUrl&gt;/pt/ptctrl.cgi?mv=H&lt;/!HomeUrl&gt;<br>
<span style="color: blue;">  &lt;!HomeWait&gt;1500&lt;/!HomeWait&gt;</span> <span style="color: green;">2) this time is now in milliseconds</span><br>
  &lt;!HomeUrlOnStartup&gt;true&lt;/!HomeUrlOnStartup&gt;<br>
  &lt;!HomeUrlOnPosZero&gt;true&lt;/!HomeUrlOnPosZero&gt;<br>
  &lt;!SetValuesUrl /&gt;<br>
  &lt;!GetValuesUrl /&gt;<br>
  &lt;!GetValuesTemplate /&gt;<br>
  &lt;!ValuesAreRelative&gt;false&lt;/!ValuesAreRelative&gt;<br>
  &lt;!ValuesAreRelativeToImage&gt;true&lt;/!ValuesAreRelativeToImage&gt;<br>
  &lt;!SupportsOvershoot&gt;true&lt;/!SupportsOvershoot&gt;<br>
  &lt;!GetPanUrl /&gt;<br>
  &lt;!SetPanUrl /&gt;<br>
<span style="color: blue;">  &lt;!SetPanUrlLeft&gt;/pt/ptctrl.cgi?mv=L,#PVALUE&lt;/!SetPanUrlLeft&gt;<br>
  &lt;!SetPanUrlRight&gt;/pt/ptctrl.cgi?mv=R,#PVALUE&lt;/!SetPanUrlRight&gt;</span> <span style="color: green;">3) either SetPanURL or and SetPanURLeft and SetPanURLRight can be used</span><br>
  &lt;!GetPanTemplate /&gt;<br>
  &lt;!GetTiltUrl /&gt;<br>
  &lt;!SetTiltUrl /&gt;<br>
<span style="color: blue;">  &lt;!SetTiltUrlUp&gt;/pt/ptctrl.cgi?mv=U,#TVALUE&lt;/!SetTiltUrlUp&gt;<br>
  &lt;!SetTiltUrlDown&gt;/pt/ptctrl.cgi?mv=D,#TVALUE&lt;/!SetTiltUrlDown&gt;</span> <span style="color: green;">3) either SetTiltUrl or and SetTiltUrlUp and SetTiltUrlDown can be used</span><br>
  &lt;!GetTiltTemplate /&gt;<br>
  &lt;!GetZoomUrl /&gt;<br>
  &lt;!SetZoomUrl /&gt;<br>
<span style="color: blue;">  &lt;!SetZoomUrlOut /&gt;<br>
  &lt;!SetZoomUrlIn /&gt;</span> <span style="color: green;">2) either !SetZoomUrl or SetZoomUrlOut and !SetZoomUrlIn can be used</span><br>
  &lt;!GetZoomTemplate /&gt;<br>
  &lt;!StepUpUrl&gt;/pt/ptctrl.cgi?mv=U,5&lt;/!StepUpUrl&gt;<br>
  &lt;!StepDownUrl&gt;/pt/ptctrl.cgi?mv=D,5&lt;/!StepDownUrl&gt;<br>
<span style="color: blue;">  &lt;!StepTiltWait&gt;500&lt;/!StepTiltWait&gt;</span> <span style="color: green;">4) this time is now in milliseconds</span><br>
  &lt;!StepLeftUrl&gt;/pt/ptctrl.cgi?mv=L,5&lt;/!StepLeftUrl&gt;<br>
  &lt;!StepRightUrl&gt;/pt/ptctrl.cgi?mv=R,5&lt;/!StepRightUrl&gt;<br>
<span style="color: blue;">  &lt;!StepPanWait&gt;500&lt;/!StepPanWait&gt;</span> <span style="color: green;">4) this time is now in milliseconds</span><br>
  &lt;!KeepAlive&gt;0&lt;/KeepAlive&gt;<br>
<span style="color: blue;">  &lt;!PanWaitFactor&gt;2000&lt;/!PanWaitFactor&gt;<br>
  &lt;!TiltWaitFactor&gt;2000&lt;/!TiltWaitFactor&gt;</span> <span style="color: green;">5) these times is now in milliseconds</span><br>
  &lt;!MaxMovePan&gt;120&lt;/!MaxMovePan&gt;<br>
  &lt;!MaxMoveTilt&gt;60&lt;/!MaxMoveTilt&gt;<br>
  &lt;!PanFactor&gt;1&lt;/!PanFactor&gt;<br>
  &lt;!TiltFactor&gt;1&lt;/!TiltFactor&gt;<br>
  &lt;!HomePan&gt;0&lt;/!HomePan&gt;<br>
  &lt;!HomeTilt&gt;0&lt;/!HomeTilt&gt;<br>
  &lt;!OffsetPan&gt;0&lt;/!OffsetPan&gt;<br>
  &lt;!OffsetTilt&gt;0&lt;/!OffsetTilt&gt;<br>
  &lt;!ImageHeight&gt;480&lt;/!ImageHeight&gt;<br>
  &lt;!ImageWidth&gt;640&lt;/!ImageWidth&gt;<br>
  &lt;!InvertedCalcModePan&gt;false&lt;/!InvertedCalcModePan&gt;<br>
  &lt;!InvertedCalcModeTilt&gt;false&lt;/!InvertedCalcModeTilt&gt;<br>
  &lt;!IgnoreHTTPErrors&gt;true&lt;/!IgnoreHTTPErrors&gt;<br>
<span style="color: blue;">  &lt;!CamExpectsInteger&gt;true&lt;/!CamExpectsInteger&gt;</span> <span style="color: green;">when this is set, the camera will only receive integers</span><br>
<span style="color: blue;">  &lt;!PTZDebug&gt;false&lt;/!PTZDebug&gt;</span> <span style="color: green;">6) Extensive debugging</span><br>
<span style="color: blue;">  &lt;Version&gt;1&lt;/Version&gt;</span> <span style="color: green;">7) config file version</span><br>
&lt;/!IPptzstruc&gt;<br>
<p>
1) before this was fixed to 40 for both pan and tilt. If you have a wide pan range, you'll want to increase this value.</p><p>
Steps are used in the JavaScript and the Java pages for keyboard control. Cursor keys move the camera 2 steps.</p><p>
2) worst case - how long does the camera take for a home move</p><p>
3) some cameras require different urls for left/right, up/down, zoom in/out. This is now supported</p><p>
4) this is the time for one step in milliseconds for cameras that can only move stepwise.</p><p>
5) this time is now for a full end to end move. This is easier to measure than shorter moves.</p><p>
6) !PTZDebug has to be configured manually in the config file. If it's set to True and debug logging is on, <br>
the debug log will contain lots of information about positioning. Some lines will be tagged <b>csv</b> and can be filtered and used<br>
to generate graphs to understand better what's going on.</p><p>
7) this version is used to update the config file. If Version &lt; 1, all time values will be multiplied with 1000 to convert seconds to milliseconds.</p>

<h3>more IP PTZ Changes</h3>
<p>All !URLs can now make one or two requests to the camera.</p>
<p>If a URL with this format<br>
URL1;X;URL2<br>
is found, the IP mover will behave as follows:
</p><ul><li>request URL1 
</li><li>pause for X milliseconds
</li><li>request URL2
</li></ul>

<p>This will allow to control the foscam type cameras stepwise, eg a foscam up step:<br>
/decoder_control.cgi?command=0;1000;/decoder_control.cgi?command=1</p>
<p>Max/!MinPan and Max/!MinTilt must be evaluated, simply by moving to one end and counting the steps until the other end is reached.</p>

IP PTZ Changes

AbelCam 4.2.0 brings new features for IP PTZ
The file below is

  • old fields and structure
  • new and changed data
  • comments

The example file is for the LevelOne FCS-0020 - this camera could only be controlled stepwise before this release.

<?xml version="1.0" encoding="utf-8"?>
<IPptzstruc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CamType>LevelOne FCS-0020</CamType>
<ControlCapabilities>1</ControlCapabilities>
<MinPan>-60</MinPan>
<MaxPan>60</MaxPan>
<VerticalSteps>20</VerticalSteps> 1) number of tilt steps
<MinTilt>-30</MinTilt>
<MaxTilt>30</MaxTilt>
<HorizontalSteps>40</HorizontalSteps> 1) number of pan steps
<MinZoom>0</MinZoom>
<MaxZoom>0</MaxZoom>
<InitUrl>/pt/ptctrl.cgi?mv=H</InitUrl>
<InitUrl2 />
<HomeUrl>/pt/ptctrl.cgi?mv=H</HomeUrl>
<HomeWait>1500</HomeWait> 2) this time is now in milliseconds
<HomeUrlOnStartup>true</HomeUrlOnStartup>
<HomeUrlOnPosZero>true</HomeUrlOnPosZero>
<SetValuesUrl />
<GetValuesUrl />
<GetValuesTemplate />
<ValuesAreRelative>false</ValuesAreRelative>
<ValuesAreRelativeToImage>true</ValuesAreRelativeToImage>
<SupportsOvershoot>true</SupportsOvershoot>
<GetPanUrl />
<SetPanUrl />
<SetPanUrlLeft>/pt/ptctrl.cgi?mv=L,#PVALUE</SetPanUrlLeft>
<SetPanUrlRight>/pt/ptctrl.cgi?mv=R,#PVALUE</SetPanUrlRight>
3) either SetPanURL? or and SetPanURLeft? and SetPanURLRight? can be used
<GetPanTemplate />
<GetTiltUrl />
<SetTiltUrl />
<SetTiltUrlUp>/pt/ptctrl.cgi?mv=U,#TVALUE</SetTiltUrlUp>
<SetTiltUrlDown>/pt/ptctrl.cgi?mv=D,#TVALUE</SetTiltUrlDown>
3) either SetTiltUrl? or and SetTiltUrlUp? and SetTiltUrlDown? can be used
<GetTiltTemplate />
<GetZoomUrl />
<SetZoomUrl />
<SetZoomUrlOut />
<SetZoomUrlIn />
2) either SetZoomUrl or SetZoomUrlOut? and SetZoomUrlIn can be used
<GetZoomTemplate />
<StepUpUrl>/pt/ptctrl.cgi?mv=U,5</StepUpUrl>
<StepDownUrl>/pt/ptctrl.cgi?mv=D,5</StepDownUrl>
<StepTiltWait>500</StepTiltWait> 4) this time is now in milliseconds
<StepLeftUrl>/pt/ptctrl.cgi?mv=L,5</StepLeftUrl>
<StepRightUrl>/pt/ptctrl.cgi?mv=R,5</StepRightUrl>
<StepPanWait>500</StepPanWait> 4) this time is now in milliseconds
<KeepAlive>0</KeepAlive?>
<PanWaitFactor>2000</PanWaitFactor>
<TiltWaitFactor>2000</TiltWaitFactor>
5) these times is now in milliseconds
<MaxMovePan>120</MaxMovePan>
<MaxMoveTilt>60</MaxMoveTilt>
<PanFactor>1</PanFactor>
<TiltFactor>1</TiltFactor>
<HomePan>0</HomePan>
<HomeTilt>0</HomeTilt>
<OffsetPan>0</OffsetPan>
<OffsetTilt>0</OffsetTilt>
<ImageHeight>480</ImageHeight>
<ImageWidth>640</ImageWidth>
<InvertedCalcModePan>false</InvertedCalcModePan>
<InvertedCalcModeTilt>false</InvertedCalcModeTilt>
<IgnoreHTTPErrors>true</IgnoreHTTPErrors>
<CamExpectsInteger>true</CamExpectsInteger> when this is set, the camera will only receive integers
<PTZDebug>false</PTZDebug> 6) Extensive debugging
<Version>1</Version> 7) config file version
</IPptzstruc>

1) before this was fixed to 40 for both pan and tilt. If you have a wide pan range, you'll want to increase this value.

Steps are used in the JavaScript? and the Java pages for keyboard control. Cursor keys move the camera 2 steps.

2) worst case - how long does the camera take for a home move

3) some cameras require different urls for left/right, up/down, zoom in/out. This is now supported

4) this is the time for one step in milliseconds for cameras that can only move stepwise.

5) this time is now for a full end to end move. This is easier to measure than shorter moves.

6) PTZDebug has to be configured manually in the config file. If it's set to True and debug logging is on,
the debug log will contain lots of information about positioning. Some lines will be tagged csv and can be filtered and used
to generate graphs to understand better what's going on.

7) this version is used to update the config file. If Version < 1, all time values will be multiplied with 1000 to convert seconds to milliseconds.

more IP PTZ Changes

All URLs can now make one or two requests to the camera.

If a URL with this format
URL1;X;URL2
is found, the IP mover will behave as follows:

  • request URL1
  • pause for X milliseconds
  • request URL2

This will allow to control the foscam type cameras stepwise, eg a foscam up step:
/decoder_control.cgi?command=0;1000;/decoder_control.cgi?command=1

Max/MinPan and Max/MinTilt must be evaluated, simply by moving to one end and counting the steps until the other end is reached.