5 lines of text used in Dahua configuration are made with 1 CustomTitle with the help of pipe "|" symbol like this:
?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...