Choose the supported USB workflow
the tab is Usb-Camera, for supported Pi 4/5 workflows. Do not assume the same USB pipeline is available on Pi Zero 2W/Pi 3.
Radxa: use Usb Camera-1. This first USB stream is shared with Cockpit.
Automatic format choice
The detector chooses from the camera’s advertised formats and frame rates. General USB output is limited to 1080p and at most 30 fps; a lower-rate camera cannot supply true missing frames. Hardware encoding/decoding is preferred where the board and input format support it.
Pi 4 and Pi 5 do not have the same encoding hardware. Radxa uses its Rockchip video path. No single USB-format list guarantees compatibility with every camera.
Raspberry: USB camera in five steps
Pi 4 / Pi 5: 1 Detect → 2 set resolution/bitrate → 3 set receiver IP/port → 4 Play → 5 check the console and picture. Press the adjacent SET after each dropdown or endpoint change. Color/HDR buttons apply their action directly where supported; contrast, brightness and flips use SET. In Cockpit, select USB Cam to control this same pipeline. Use 127.0.0.1:8020 for its browser view. This Raspberry tab has Play and UDP destinations; the Radxa codec/RTSP buttons shown in the next guide are not present here.
Radxa: USB Camera-1 in five steps
ROCK 4D / ZERO 3W / ZERO 3E: 1 detect, 2 apply settings, 3 choose UDP and apply both endpoint fields, 4 start H.264/H.265, 5 verify the result. Stop stops this stream. Cockpit and Camera-1 share these settings. Local UDP goes to 127.0.0.1:8020. An external IP redirects the same stream. For the alternative RTSP workflow, choose SEND TCP RTSP and open rtsp://RADXA_IP:8554/live in a compatible receiver. Replace RADXA_IP with the board’s reachable address. Contrast, brightness and flips each use SET; color/HDR effects depend on the camera/pipeline.
Start in five steps
- Connect a compatible USB camera/data cable.
- Press USB CAM DETECT / Usb Cam Detect. Read the detected format/source in the action display.
- Set Resolution and Baudrate, using SET for each.
- Set the destination IP/port:
127.0.0.1:8020for Cockpit, or a reachable external receiver. Apply both with SET. - Press Play on Raspberry, or Play H264 / Play H265 on Radxa. Confirm the actual picture; use Stop when finished.
All image controls
Black & White / Normal Color / Hyper Saturation, HDR Off / On, Contrast, Brightness, Flip vertical / horizontal adjust the selected pipeline where supported. Dropdowns require their SET button. The status console reports source, output settings, endpoint and player state.
Radxa transport controls
Choose SEND UDP RTP for the IP/port destination, including Cockpit. SEND TCP RTSP uses the displayed rtsp://RADXA_IP:8554/live address in a compatible RTSP receiver. The Raspberry tab shown here has UDP destination controls and no equivalent RTSP buttons.
Use the same camera from Cockpit
On Raspberry select USB Cam; on Radxa use the first USB camera controls. Resolution, bitrate and image changes refer to the same stream whichever panel you use. Cockpit Play brings the stream back to its local browser endpoint.
No picture?
Check detection first, then source, codec, destination and receiver. A camera can be detected without a video stream running. Avoid directing another camera to the same local port. Routing explained in Video routing.