fix: depay h264 before decodebin to avoid audio pad linking failure

This commit is contained in:
Mitchell R 2026-05-10 04:09:01 +02:00
parent 9827e456b3
commit 2588611501
No known key found for this signature in database

View file

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