Text Overlay and Image Overlay

DirkJensen

Getting the hang of it
Joined
Jul 14, 2017
Messages
33
Reaction score
54
Location
nowhere
Hi,

i am wondering if i can control the Dahua Image and Text Overlay with a http Request. And if i can do together.
Does anyone have experience how to set the Overlay Image and Overlay Text with a http Request.

I could find this Thread to change the Text Overlay with a Request.
->> Temperature Overlay in Dahua Cameras

But how can i do for all the 5 possible lines with only one Request. And what is the maximum number of characters per line?

Have a nice day
Dirk
 

nvrsk

n3wb
Joined
Feb 21, 2019
Messages
3
Reaction score
1
Location
Russia
5 lines of text used in Dahua configuration are made with 1 CustomTitle with the help of pipe "|" symbol like this:
Code:
?action=setConfig&VideoWidget[0].CustomTitle[1].Text=text1|text2|text3|text4|text5
but you always can use more custom titles if you turn them ON like this:
Code:
?action=setConfig&VideoWidget[0].CustomTitle[0].EncodeBlend=true&VideoWidget[0].CustomTitle[0].PreviewBlend=true
?action=setConfig&VideoWidget[0].CustomTitle[0].Text=new%20text%20line
this turns ON CustomTitle[0] and sets text to "new text line".
there are 0-3 custom titles available.

there is also other attributes you can try with CustomTitle such as coloring:
Code:
table.VideoWidget[0].CustomTitle[2].BackColor[0]=0
table.VideoWidget[0].CustomTitle[2].BackColor[1]=0
table.VideoWidget[0].CustomTitle[2].BackColor[2]=0
table.VideoWidget[0].CustomTitle[2].BackColor[3]=128
table.VideoWidget[0].CustomTitle[2].EncodeBlend=false
table.VideoWidget[0].CustomTitle[2].FrontColor[0]=255
table.VideoWidget[0].CustomTitle[2].FrontColor[1]=255
table.VideoWidget[0].CustomTitle[2].FrontColor[2]=255
table.VideoWidget[0].CustomTitle[2].FrontColor[3]=0
table.VideoWidget[0].CustomTitle[2].PreviewBlend=false
table.VideoWidget[0].CustomTitle[2].Rect[0]=5321
table.VideoWidget[0].CustomTitle[2].Rect[1]=7450
table.VideoWidget[0].CustomTitle[2].Rect[2]=7931
table.VideoWidget[0].CustomTitle[2].Rect[3]=7868
table.VideoWidget[0].CustomTitle[2].Text=sample%20text
 
Joined
Nov 22, 2019
Messages
1
Reaction score
0
Location
Houston
Hi, sorry for opening this back up but I am trying to learn how to add 5 line text to this pos catcher I have. The seller said it can be done but they are making me purchase a separate camera. Is there a way I can see the url or code they are using since I can see only one line of text right now. Thanks
 
Top