USB Webcam Video on RZ/V2N
Capture video from a USB webcam on the SolidRun RZ/V2N HummingBoard IIoT and stream it to a remote PC over Ethernet, or display it locally on the 7" MIPI LCD — using GStreamer and VLC.
🎥 Streaming USB Webcam Video on RZ/V2N
📋 Overview
🛠️ Hardware
Component
Details
📦 Prerequisites
🟢 On the RZ/V2N (Yocto image)
💻 On the PC (receiver)
🔍 Detecting the camera
Step 1 · Confirm USB enumeration
Step 2 · Load the UVC driver (if not auto-loaded)
Step 3 · Identify the V4L2 capture node
Step 4 · List supported formats
🎦 Camera
Native formats
Useful resolutions
🌐 Option A — Stream over Ethernet to a remote PC
Architecture
📤 A.1 — Sender: Logitech C922 (MJPEG 1280×720 @ 30 fps)
📤 A.2 — Sender: SF-SQ8A987-86 (MJPEG 1920×1080 @ 30 fps)
📤 A.3 — Sender: SF-SQ8A987-86 (H.264 1920×1080 @ 30 fps — lower bandwidth)
📥 A.4 — Receiver: GStreamer (MJPEG)
📥 A.5 — Receiver: GStreamer (H.264)
🎬 A.6 — Receiver: VLC (via SDP file)
🎬 A.7 — Receiver: VLC (direct RTP URL)
🖥️ Option B — Display locally on the 7" LCD
Architecture
🔧 B.1 · Set the Weston environment
🎥 B.2 · Local preview pipeline (works for both cameras)
🚀 B.3 · Make the preview a one-shot script
🔀 B.4 · Stream over Ethernet and preview locally at the same time
📊 Performance notes
🌐 Network streaming
🎦 Camera
📐 Resolution
🧬 Codec
📡 Bitrate (approx)
🧠 RZ/V2N CPU
📝 Notes
🖥️ Local LCD preview
📐 Resolution
🎬 Behavior on 1024×600 panel
🔧 Troubleshooting
❌ modprobe: ERROR: could not insert 'uvcvideo': Exec format error
modprobe: ERROR: could not insert 'uvcvideo': Exec format error❌ Stream is choppy · "A lot of buffers are being dropped"
⚠️ Could not bind to zwp_linux_dmabuf_v1
Could not bind to zwp_linux_dmabuf_v1⚠️ uvcvideo: Non-zero status (-71) in video completion handler
uvcvideo: Non-zero status (-71) in video completion handler❌ Device '/dev/videoX' is not a capture device. Capabilities: 0x4a00000
Device '/dev/videoX' is not a capture device. Capabilities: 0x4a00000❌ Receiver shows a black window — no video
⚠️ fpsdisplaysink reports impossibly low fps
fpsdisplaysink reports impossibly low fps❌ Camera enumerates but no /dev/video* appears
/dev/video* appears🚀 Quick reference
🟢 On the RZ/V2N
Task
Command / Section
💻 On the PC
Task
Command / Section
Last updated