Multiple overlay text items not being laid out in order for DS-2ZCN2007

markjd

n3wb
Aug 20, 2015
1
0
Hi guys


I am trying to display multiple overlay text items on a screen at different x and y positions, starting from x=0 y=0. When I try to move one of the text items further up the y coord, all the other text items are moved up the screen as well. The problem happens when I try to change the position of a text item via the built in hikvision internet browser software or via the api.

Any thoughts on what the problem might be?

attachment.php

attachment.php


Return of GET /ISAPI/System/Video/inputs/channels/1/overlays/text after I've moved the text item labelled text4 to the top of the screen:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<TextOverlayList version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<TextOverlay>
<id>1</id>
<enabled>true</enabled>
<positionX>0</positionX>
<positionY>32</positionY>
<displayText>text1</displayText>
</TextOverlay>
<TextOverlay>
<id>2</id>
<enabled>true</enabled>
<positionX>0</positionX>
<positionY>64</positionY>
<displayText>text2</displayText>
</TextOverlay>
<TextOverlay>
<id>3</id>
<enabled>true</enabled>
<positionX>0</positionX>
<positionY>96</positionY>
<displayText>text3</displayText>
</TextOverlay>
<TextOverlay>
<id>4</id>
<enabled>true</enabled>
<positionX>0</positionX>
<positionY>576</positionY>
<displayText>text4</displayText>
</TextOverlay>
</TextOverlayList>



Regards
Mark
 

Attachments

  • HIKVision-TextOverlayProblem1.png
    HIKVision-TextOverlayProblem1.png
    256 KB · Views: 23
  • HIKVision-TextOverlayProblem2.png
    HIKVision-TextOverlayProblem2.png
    256.5 KB · Views: 22