Disabled GitLab unique domain feature (hash suffix) in favor of the cleaner sethhillbrand.gitlab.io/yolocam-linux URL.
YoloCam S3 Linux Tools
Linux control suite for the YoloCam S3 USB webcam by YoloLiv (Yunxi Technology). Provides a CLI tool and a PySide6 GUI for full camera parameter control over the Yunxi protobuf protocol.
Hardware
The YoloCam S3 (VID:PID 46f8:0855) is a composite USB device exposing:
- CDC NCM network interface (192.168.126.10) for camera control
- UVC video class interface for live video feed
The camera runs BusyBox Linux on a HiSilicon HI3519DV500 SoC (aarch64, musl libc).
Repository Structure
yolocam-lib/ Shared Python library (protocol, params, client, CLUT)
yolocam-ctl/ CLI tool for camera control
yolocam-gui/ PySide6 GUI application
docs/ User and technical documentation
Quick Start
Prerequisites
- Linux with USB support for CDC NCM
- Python 3.10+
- uv (
curl -LsSf https://astral.sh/uv/install.sh | sh)
Installation
make install
This creates an isolated virtual environment at ~/.local/share/yolocam/venv,
installs all three packages in editable mode, and symlinks yolocam-ctl and
yolocam-gui to ~/.local/bin/.
For the GUI, also install PySide6 and OpenCV from system packages:
make install-gui-deps
Plug in the YoloCam S3 via USB. The CDC NCM interface should auto-configure via DHCP (host gets 192.168.126.11).
CLI
yolocam-ctl status # Check camera connection
yolocam-ctl list # List all parameters
yolocam-ctl get brightness # Read a parameter
yolocam-ctl set brightness 60 # Set a parameter
yolocam-ctl iso 400 # Set ISO
yolocam-ctl shutter 1000 # Set shutter to 1/1000s
yolocam-ctl monitor # Watch real-time notifications
GUI
yolocam-gui
The GUI auto-connects to the camera and displays the UVC video feed alongside parameter controls for exposure, white balance, focus, zoom, color grading, and audio.
Documentation
See the docs/ directory for:
Protocol Overview
The camera is controlled via TCP on port 12345 using a custom dual-envelope wire
format wrapping protobuf Message payloads. All communication happens over the
CDC NCM USB network interface.
Wire format:
OUTER (8B): [0x08] [client_type] [0x00] [0x00] [LE32 inner_size]
INNER (6B): [0xA5] [BE32 proto_size] [XOR header_checksum]
PAYLOAD: [serialized protobuf Message]
TRAILER (2B):[XOR data_checksum] [0x5A]
See Protocol Technical Reference for complete details.
License
This project is licensed under the GNU General Public License v3.0
or later. See the LICENSE file in each sub-project for the full license text.



