CameraStack is a cross-platform camera stack with one rule for its ports: the same core on every chipset. The Sophgo SG2002 is the newest reference port, joining NVIDIA Jetson, Raspberry Pi and the Axera AX630C, and it moves the stack forward on two fronts: it is the most fully featured C producer port so far, and it brought the ONVIF PTZ service into the core.
PTZ joins the core
The hardware for this port is Seeed Studio’s reCamera Gimbal 2002w, a gimbal camera built on the SG2002 with a 5 MP OV5647 sensor riding on two motorised axes. That made it the natural place to add PTZ: the ONVIF PTZ service was built for this port and proven end to end here, with PTZ requests from any ONVIF client driving the gimbal in real time.
A producer with the lot
On a platform with no GStreamer, a CameraStack port uses the C producer model: a custom adapter written in C straight against the vendor SDK, which here means the Cvitek/Sophgo MPI video pipeline, VI capture through the ISP, VPSS scaling, VENC hardware encode. The SG2002 producer implements the vendor-specific feature set in full: on-demand IDR keyframes, OSD text overlay, JPEG snapshots, live frame rate and bitrate changes while clients stay connected, and encoder pause, engaging the hardware codecs only while someone is actually streaming, which matters on a device with a power budget.
The core comes for free
Everything else arrives with the shared portable ONVIF and RTSP core, at no cost to the port: the full RTSP transport family (interleaved TCP, UDP, HTTP tunnelling, WebSocket and multicast), metadata streaming, events including the ONVIF ImageTooDark tampering topic, and the full service set, Device, DeviceIO, Media, Media2 (Profile S and Profile T), PTZ, Events, Imaging and Analytics. The producer only has to handle the specifics of the Sophgo video pipeline SDK.
Building a product on the SG2002? The port details are on the SG2002 chipset page, and evaluation builds are available: get in touch.