Hello. I’m trying to set up RTSP streaming with hardware encoding following the instructions at RTSP Streaming | Radxa Docs , but something’s going wrong. Video source USB webcam Logi MX Brio.
Launching server on a Rock 5C:
nohup ./mediamtx & gst-launch-1.0 -v v4l2src device=/dev/video0 do-timestamp=true ! videoconvert ! video/x-raw,width=1280,height=720,framerate=30/1,format=NV12 ! queue ! mpph265enc bps=512000 rc-mode=vbr ! rtspclientsink location=rtsp://192.168.0.98:8554/test
Receiving on the client (x64, Ubuntu 26.04):
gst-launch-1.0 rtspsrc location=rtsp://192.168.0.98:8554/test latency=100 drop-on-latency=true ! rtph265depay ! h265parse ! queue ! avdec_h265 ! videoconvert ! fpsdisplaysink sync=false text-overlay=true
Got only 1-3 FPS.
With software x264 enc stable 28-30 FPS.
Rock 5C:
nohup ./mediamtx & gst-launch-1.0 -v v4l2src device=/dev/video0 do-timestamp=true ! videoconvert ! video/x-raw,width=1280,height=720,framerate=30/1,format=NV12 ! queue ! mpph265enc bps=512000 rc-mode=vbr ! rtspclientsink location=rtsp://192.168.0.98:8554/test
I tried the test source - same thing. Same with GStreamer + gst-rtsp-server (test-launch from gst-rtsp-server/examples).
Using standard Radxa OS ROCK 5C Desktop System Image: Debian12 KDE b1 with all rsetup updates.