mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 19:06:34 +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
|
||||
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+=($!)
|
||||
|
|
|
|||
Loading…
Reference in a new issue