Rename the Stream panel to Output throughout the app, menu, sidebar, and docs since the S3 does not support network streaming. Remove the UVC toggle section from the output panel and the recording section from the console panel, along with all controller wiring for both. Replace emoji sidebar icons for Color and Output with Unicode geometric shapes that render correctly in Qt. Wire the Help > Documentation menu action to open the GitLab repository URL. Update the GUI guide to match all panel and menu changes.
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.



