ptzsimA PTZ camera for your test bench.
Test camera control without camera hardware. Connect over ONVIF, VISCA, Pelco-D or NDI and watch the same simulated camera respond.
Test camera control without camera hardware. Connect over ONVIF, VISCA, Pelco-D or NDI and watch the same simulated camera respond.
The camera looks at a landscape with mountains, a house, a UFO beaming up a cow, billboards with VISCA and ONVIF commands and more, each at fixed pan/tilt coordinates. Drive your client there and check by eye that it lands where it should. Some details only show up when you zoom in.
See the camera scene for every viewpoint with its VISCA packets and ONVIF values.
The simulator shares position, motion and presets across its interfaces, so you can test a client against the same camera from different protocols.
| Protocol | Standard (version) | Interface | Specification |
|---|---|---|---|
| ONVIF | Core Spec v26.06, PTZ Service v25.12, Imaging v18.12 | SOAP over HTTP with WS-Discovery | Core, PTZ, Imaging |
| VISCA | Sony VISCA command list v2.00; VISCA over IP per the Sony manuals | Sony VISCA over IP, TCP, UDP or a pseudo terminal | Command list v2.00, Axis interface description |
| Pelco-D | De-facto standard (Pelco "D" Protocol) | Serial RS-485 via a pseudo terminal | Pelco "D" Protocol manual, Fujifilm SX400 specification |
| NDI | NDI SDK PTZ metadata (ntk_ptz_*) | Optional NDI source with PTZ control and a test picture | NDI PTZ and control messages |
The full list of supported standards with versions and references is in the guide under supported standards.
With Python 3.8 or newer:
git clone https://github.com/stritti/ptz-simulator.git
cd ptz-simulator
python3 -m ptzsim serve --onvifSee the guide for more ways to run the simulator, additional transports and authentication options.