Jak není?V tom návodu toho fakt moc není.
tu máš nejaké nastavenie pre PTZ kameru iného výrobcu:
Si to uprav podľa svojej kamery...<Camera id="199">
<Makes>
<Make Name="Dahua" Model="SD59230S" />
</Makes>
<CommandURL>/cgi-bin/</CommandURL>
<Commands>
<Left>ptz.cgi?action=start&channel=0&code= Left&arg1=0&arg2=1&arg3=0</Left>
<Right>ptz.cgi?action=start&channel=0&code =Right&arg1=0&arg2=1&arg3=0</Right>
</Commands>
<ExtendedCommands>
<Command Name="action=Preset 1">ptz.cgi?action=start&channel=0&code=Got oPreset&arg1=0&arg2=1&arg3=0</Command>
<Command Name="action=Preset 2">ptz.cgi?action=start&channel=0&code=Got oPreset&arg1=0&arg2=2&arg3=0</Command>
<Command Name="action=Preset 3">ptz.cgi?action=start&channel=0&code=Got oPreset&arg1=0&arg2=3&arg3=0</Command>
</ExtendedCommands>
</Camera>
prípadne ešte:
I got feedback back from iSpy and putting a stop command in their XML file did the trick. Here's a tested XML section to include in the iSpy PTZ2.xml file and submitted it to them so hopefully they'll just include it in future releases. I don't have the camera up anymore, but tested it on my desk. It tracked my hand. PTZ even at 30fps was very responsive and accurate, more so than from the browser interface. As long as you hold the arrow keys in iSpy it went in that direction. I set the speed slow, but if you want faster PTZing or tracking, change arg2 to higher number where 1 is the slowest, 8 is the fastest.
<Camera id="199">
<Makes>
<Make Name="Dahua" Model="SD59230S" />
</Makes>
<CommandURL>/cgi-bin/</CommandURL>
<Commands>
<Left>ptz.cgi?action=start&channel=0&code= Left&arg1=0&arg2=1&arg3=0</Left>
<Right>ptz.cgi?action=start&channel=0&code =Right&arg1=0&arg2=1&arg3=0</Right>
<Stop>ptz.cgi?action=stop&channel=0&code=R ight&arg1=0&arg2=1&arg3=0</Stop>
<Up>ptz.cgi?action=start&channel=0&code=Up &arg1=0&arg2=1&arg3=0</Up>
<Down>ptz.cgi?action=start&channel=0&code= Down&arg1=0&arg2=1&arg3=0</Down>
<ZoomOut>ptz.cgi?action=start&channel=0&co de=ZoomWide&arg1=0&arg2=1&arg3=0</Zoom Out>
<ZoomIn>ptz.cgi?action=start&channel=0&cod e=ZoomTele&arg1=0&arg2=1&arg3=0</ZoomI n>
<LeftDown>ptz.cgi?action=start&channel=0&c ode=LeftDown&arg1=0&arg2=1&arg3=0</Lef tDown>
<RightDown>ptz.cgi?action=start&channel=0& code=RightDown&arg1=0&arg2=1&arg3=0</R ightDown>
<LeftUp>ptz.cgi?action=start&channel=0&cod e=LeftUp&arg1=0&arg2=1&arg3=0</LeftUp>
<RightUp>ptz.cgi?action=start&channel=0&co de=RightUp&arg1=0&arg2=1&arg3=0</Right Up>
</Commands>
<ExtendedCommands>
<Command Name="action=Preset 1">ptz.cgi?action=start&channel=0&code=Got oPreset&arg1=0&arg2=1&arg3=0</Command>
<Command Name="action=Preset 2">ptz.cgi?action=start&channel=0&code=Got oPreset&arg1=0&arg2=2&arg3=0</Command>
<Command Name="action=Preset 3">ptz.cgi?action=start&channel=0&code=Got oPreset&arg1=0&arg2=3&arg3=0</Command>
</ExtendedCommands>
</Camera>