From f5a2645ffcb0e68e8e849bc3e4616c0e71ddcf7f Mon Sep 17 00:00:00 2001 From: Mitchell R Date: Sun, 10 May 2026 04:11:43 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20force=20sw=20decode=20for=20H265=20?= =?UTF-8?q?=E2=80=94=20Pi5=20hw=20decoder=20rejects=20960x1080?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiosk/prototype.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kiosk/prototype.sh b/kiosk/prototype.sh index 5bbaf4d..702ccc0 100644 --- a/kiosk/prototype.sh +++ b/kiosk/prototype.sh @@ -174,7 +174,7 @@ launch_cameras() { local launched=false for depay_chain in \ "rtph264depay ! h264parse ! avdec_h264" \ - "rtph265depay ! h265parse ! avdec_h265" \ + "rtph265depay ! h265parse ! avdec_h265 max-threads=4" \ ; do echo " trying: ${depay_chain%% *}..." timeout 5 gst-launch-1.0 \ @@ -201,7 +201,8 @@ launch_cameras() { done if [[ "$launched" == "false" ]]; then - echo " fallback: uridecodebin" + echo " fallback: uridecodebin (sw decode)" + GST_PLUGIN_FEATURE_RANK=v4l2slh265dec:0,v4l2slh264dec:0 \ gst-launch-1.0 \ uridecodebin uri="$rtsp_uri" caps="video/x-raw" \ ! videoconvert ! waylandsink fullscreen=true \