fix: use uridecodebin with video caps filter for codec-agnostic RTSP

This commit is contained in:
Mitchell R 2026-05-10 04:10:33 +02:00
parent 2588611501
commit 888dc4a4e5
No known key found for this signature in database

View file

@ -171,8 +171,8 @@ launch_cameras() {
# Try hardware decode first (Pi5 V4L2), fall back to software
gst-launch-1.0 \
rtspsrc location="$rtsp_uri" latency=300 protocols=tcp \
! rtph264depay ! h264parse ! decodebin \
uridecodebin uri="$rtsp_uri" \
caps="video/x-raw" \
! videoconvert ! waylandsink fullscreen=true \
2>&1 &
pids+=($!)