#camera #video #visca #ptz

grafton-visca

Rust based VISCA over IP implementation for controlling PTZ Cameras

3 unstable releases

new 0.2.1 Sep 15, 2024
0.2.0 Aug 15, 2024
0.1.0 Aug 12, 2024

#57 in Multimedia

Download history 237/week @ 2024-08-12

237 downloads per month

Apache-2.0

86KB
951 lines

grafton-visca

Rust based VISCA over IP implementation for controlling PTZ Cameras

Currently only PTZOptics G2 VISCA over IP Commands are implemented but it might very well work with other cameras that use the VISCA protocol. If there is interest we could abstract the commands to make it easier to add other camera types.

** Impotant Note: This is a work in progress and is not yet ready for production use. I am only validating the byte sequences as I use the commands so many have not been checked against the documentation. **

Make sure to check out our blog article introducing this library: Controlling PTZ Cameras with Rust

Installation

Add the following to Cargo.toml under [dependencies]:

grafton-visca = "*"

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss what you would like to change.

About

This is a project by the Grafton Machine Shed

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file for more details.

Dependencies

~1.3–2MB
~41K SLoC