These settings are working in zoneminder 1.30.4 for my Dericam S2-32G.
<General>
Source Type: Ffmpeg
<Source>
Source Path: rtsp://<user>:<password>@IPAddress:554/11
Remote Method: TCP
Target colorspace: 24 bit color
Capture Width (pixels): 1920
Capture Height (pixels): 1080
Orientation: Normal
Deinterlacing: Disabled
<Control>
Controllable: <ticked>
Control Type: Netcat ONVIF
Control Device: <username>:<password>
Control Address: IPAddress:8080