mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 21:26:33 +00:00
fix: use uridecodebin with video caps filter for codec-agnostic RTSP
This commit is contained in:
parent
2588611501
commit
888dc4a4e5
1 changed files with 2 additions and 2 deletions
|
|
@ -171,8 +171,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 \
|
uridecodebin uri="$rtsp_uri" \
|
||||||
! rtph264depay ! h264parse ! decodebin \
|
caps="video/x-raw" \
|
||||||
! videoconvert ! waylandsink fullscreen=true \
|
! videoconvert ! waylandsink fullscreen=true \
|
||||||
2>&1 &
|
2>&1 &
|
||||||
pids+=($!)
|
pids+=($!)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue