Skip to content

Instantly share code, notes, and snippets.

@hdo
Last active August 29, 2015 14:06
Show Gist options
  • Save hdo/42fd73767ff8da4fb5f1 to your computer and use it in GitHub Desktop.
Save hdo/42fd73767ff8da4fb5f1 to your computer and use it in GitHub Desktop.
ONVIF GetProfiles for Dahua IPC-HFW2100 with Firmware 2.2 (2013)
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:ns1="http://www.placeholder.org/ver10/tmp/schema" xmlns:ns2="http://www.placeholder.org/ver10/tmp/wsdl" xmlns:tae="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<trt:GetProfilesResponse>
<trt:Profiles fixed="true" token="000">
<tt:Name>MediaProfile_000</tt:Name>
<tt:VideoSourceConfiguration token="000">
<tt:Name>VideoSourceConfig_000</tt:Name>
<tt:UseCount>2</tt:UseCount>
<tt:SourceToken>000</tt:SourceToken>
<tt:Bounds height="288" width="352" y="0" x="0" />
</tt:VideoSourceConfiguration>
<tt:VideoEncoderConfiguration token="000">
<tt:Name>VideoEncoderConfig_000</tt:Name>
<tt:UseCount>1</tt:UseCount>
<tt:Encoding>H264</tt:Encoding>
<tt:Resolution>
<tt:Width>1280</tt:Width>
<tt:Height>720</tt:Height>
</tt:Resolution>
<tt:Quality>4</tt:Quality>
<tt:RateControl>
<tt:FrameRateLimit>25</tt:FrameRateLimit>
<tt:EncodingInterval>50</tt:EncodingInterval>
<tt:BitrateLimit>6144</tt:BitrateLimit>
</tt:RateControl>
<tt:H264>
<tt:GovLength>50</tt:GovLength>
<tt:H264Profile>Main</tt:H264Profile>
</tt:H264>
<tt:Multicast>
<tt:Address>
<tt:Type>IPv4</tt:Type>
<tt:IPv4Address>0.0.0.0</tt:IPv4Address>
</tt:Address>
<tt:Port>4000</tt:Port>
<tt:TTL>64</tt:TTL>
<tt:AutoStart>false</tt:AutoStart>
</tt:Multicast>
<tt:SessionTimeout>PT10S</tt:SessionTimeout>
</tt:VideoEncoderConfiguration>
<tt:VideoAnalyticsConfiguration token="000">
<tt:Name>VideoAnalyticsConfig_000</tt:Name>
<tt:UseCount>2</tt:UseCount>
<tt:AnalyticsEngineConfiguration>
<tt:AnalyticsModule Type="tt:CellMotionEngine" Name="tt:CellMotionEngine">
<tt:Parameters>
<tt:SimpleItem Value="48" Name="Sensitivity" />
<tt:ElementItem Name="Layout">
<tt:CellLayout Columns="22" Rows="18">
<tt:Transformation>
<tt:Translate x="-1.0" y="-1.0" />
<tt:Scale x="0.00625" y="0.00834" />
</tt:Transformation>
</tt:CellLayout>
</tt:ElementItem>
</tt:Parameters>
</tt:AnalyticsModule>
<tt:AnalyticsModule Type="tt:TamperEngine" Name="tt:TamperEngine">
<tt:Parameters>
<tt:SimpleItem Value="48" Name="Sensitivity" />
<tt:ElementItem Name="Field">
<ns1:PolygonConfiguration>
<ns1:Polygon>
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
</ns1:Polygon>
</ns1:PolygonConfiguration>
</tt:ElementItem>
<tt:ElementItem Name="Transform">
<tt:Transformation>
<tt:Translate x="-1.0" y="-1.0" />
<tt:Scale x="0.001250" y="0.001667" />
</tt:Transformation>
</tt:ElementItem>
</tt:Parameters>
</tt:AnalyticsModule>
</tt:AnalyticsEngineConfiguration>
<tt:RuleEngineConfiguration>
<tt:Rule Type="tt:CellMotionDetector" Name="tt:CellMotionDetector">
<tt:Parameters>
<tt:SimpleItem Value="zwA=" Name="ActiveCells" />
<tt:SimpleItem Value="1000" Name="AlarmOffDelay" />
<tt:SimpleItem Value="1000" Name="AlarmOnDelay" />
<tt:SimpleItem Value="4" Name="MinCount" />
</tt:Parameters>
</tt:Rule>
<tt:Rule Type="tt:TamperDetector" Name="tt:TamperDetector">
<tt:Parameters>
<tt:ElementItem Name="Field">
<ns1:PolygonConfiguration>
<ns1:Polygon>
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
</ns1:Polygon>
</ns1:PolygonConfiguration>
</tt:ElementItem>
</tt:Parameters>
</tt:Rule>
</tt:RuleEngineConfiguration>
</tt:VideoAnalyticsConfiguration>
</trt:Profiles>
<trt:Profiles fixed="true" token="001">
<tt:Name>MediaProfile_001</tt:Name>
<tt:VideoSourceConfiguration token="000">
<tt:Name>VideoSourceConfig_000</tt:Name>
<tt:UseCount>2</tt:UseCount>
<tt:SourceToken>000</tt:SourceToken>
<tt:Bounds height="288" width="352" y="0" x="0" />
</tt:VideoSourceConfiguration>
<tt:VideoEncoderConfiguration token="001">
<tt:Name>VideoEncoderConfig_001</tt:Name>
<tt:UseCount>1</tt:UseCount>
<tt:Encoding>H264</tt:Encoding>
<tt:Resolution>
<tt:Width>704</tt:Width>
<tt:Height>576</tt:Height>
</tt:Resolution>
<tt:Quality>4</tt:Quality>
<tt:RateControl>
<tt:FrameRateLimit>15</tt:FrameRateLimit>
<tt:EncodingInterval>30</tt:EncodingInterval>
<tt:BitrateLimit>1024</tt:BitrateLimit>
</tt:RateControl>
<tt:H264>
<tt:GovLength>30</tt:GovLength>
<tt:H264Profile>Main</tt:H264Profile>
</tt:H264>
<tt:Multicast>
<tt:Address>
<tt:Type>IPv4</tt:Type>
<tt:IPv4Address>239.0.1.1</tt:IPv4Address>
</tt:Address>
<tt:Port>4001</tt:Port>
<tt:TTL>64</tt:TTL>
<tt:AutoStart>false</tt:AutoStart>
</tt:Multicast>
<tt:SessionTimeout>PT10S</tt:SessionTimeout>
</tt:VideoEncoderConfiguration>
<tt:VideoAnalyticsConfiguration token="000">
<tt:Name>VideoAnalyticsConfig_000</tt:Name>
<tt:UseCount>2</tt:UseCount>
<tt:AnalyticsEngineConfiguration>
<tt:AnalyticsModule Type="tt:CellMotionEngine" Name="tt:CellMotionEngine">
<tt:Parameters>
<tt:SimpleItem Value="48" Name="Sensitivity" />
<tt:ElementItem Name="Layout">
<tt:CellLayout Columns="22" Rows="18">
<tt:Transformation>
<tt:Translate x="-1.0" y="-1.0" />
<tt:Scale x="0.00625" y="0.00834" />
</tt:Transformation>
</tt:CellLayout>
</tt:ElementItem>
</tt:Parameters>
</tt:AnalyticsModule>
<tt:AnalyticsModule Type="tt:TamperEngine" Name="tt:TamperEngine">
<tt:Parameters>
<tt:SimpleItem Value="48" Name="Sensitivity" />
<tt:ElementItem Name="Field">
<ns1:PolygonConfiguration>
<ns1:Polygon>
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
</ns1:Polygon>
</ns1:PolygonConfiguration>
</tt:ElementItem>
<tt:ElementItem Name="Transform">
<tt:Transformation>
<tt:Translate x="-1.0" y="-1.0" />
<tt:Scale x="0.001250" y="0.001667" />
</tt:Transformation>
</tt:ElementItem>
</tt:Parameters>
</tt:AnalyticsModule>
</tt:AnalyticsEngineConfiguration>
<tt:RuleEngineConfiguration>
<tt:Rule Type="tt:CellMotionDetector" Name="tt:CellMotionDetector">
<tt:Parameters>
<tt:SimpleItem Value="zwA=" Name="ActiveCells" />
<tt:SimpleItem Value="1000" Name="AlarmOffDelay" />
<tt:SimpleItem Value="1000" Name="AlarmOnDelay" />
<tt:SimpleItem Value="4" Name="MinCount" />
</tt:Parameters>
</tt:Rule>
<tt:Rule Type="tt:TamperDetector" Name="tt:TamperDetector">
<tt:Parameters>
<tt:ElementItem Name="Field">
<ns1:PolygonConfiguration>
<ns1:Polygon>
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
<Point x="0" y="0" />
</ns1:Polygon>
</ns1:PolygonConfiguration>
</tt:ElementItem>
</tt:Parameters>
</tt:Rule>
</tt:RuleEngineConfiguration>
</tt:VideoAnalyticsConfiguration>
</trt:Profiles>
</trt:GetProfilesResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment