From 2904ff53dda24d568d68f2f72f2c6812ef59a30d Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Fri, 3 Nov 2023 00:33:00 +0100 Subject: [PATCH] changing decode pipelines --- systemd/rock3_h264_decode.service | 2 +- systemd/rock3_h265_decode.service | 2 +- systemd/rock3_mjpeg_decode.service | 2 +- systemd/{rock5_qopenhd copy.service => rock3_qopenhd.service} | 2 +- systemd/rock5_h264_decode.service | 2 +- systemd/rock5_h265_decode.service | 2 +- systemd/rock5_mjpeg_decode.service | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename systemd/{rock5_qopenhd copy.service => rock3_qopenhd.service} (91%) diff --git a/systemd/rock3_h264_decode.service b/systemd/rock3_h264_decode.service index e0a3c9c90..4e6076330 100644 --- a/systemd/rock3_h264_decode.service +++ b/systemd/rock3_h264_decode.service @@ -5,7 +5,7 @@ Description=rock_h264_decode User=root # Video decode via mpp, started by QOpenHD if needed (and stopped if needed) -ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H264' ! rtph264depay ! h264parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=102" +ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H264' ! rtph264depay ! h264parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=54 force-modesetting=true" Restart=always RestartSec=2 diff --git a/systemd/rock3_h265_decode.service b/systemd/rock3_h265_decode.service index 5dd2bde9b..e84d50b9e 100644 --- a/systemd/rock3_h265_decode.service +++ b/systemd/rock3_h265_decode.service @@ -5,7 +5,7 @@ Description=rock_h265_decode User=root # Video decode via mpp, started by QOpenHD if needed (and stopped if needed) -ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H265' ! rtph265depay ! h265parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=54" +ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H265' ! rtph265depay ! h265parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=54 force-modesetting=true" Restart=always RestartSec=1 diff --git a/systemd/rock3_mjpeg_decode.service b/systemd/rock3_mjpeg_decode.service index 6eae58574..e35c317ef 100644 --- a/systemd/rock3_mjpeg_decode.service +++ b/systemd/rock3_mjpeg_decode.service @@ -5,7 +5,7 @@ Description=rock_mjpeg_decode User=root # Video decode via mpp, started by QOpenHD if needed (and stopped if needed) -ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)26, clock-rate=(int)90000, media=(string)video, encoding-name=(string)JPEG' ! rtpjpegdepay ! jpegdec ! queue ! kmssink plane-id=54" +ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)26, clock-rate=(int)90000, media=(string)video, encoding-name=(string)JPEG' ! rtpjpegdepay ! jpegdec ! queue ! kmssink plane-id=54 force-modesetting=true" Restart=always RestartSec=1 diff --git a/systemd/rock5_qopenhd copy.service b/systemd/rock3_qopenhd.service similarity index 91% rename from systemd/rock5_qopenhd copy.service rename to systemd/rock3_qopenhd.service index ea8303487..d8bfe7c9a 100644 --- a/systemd/rock5_qopenhd copy.service +++ b/systemd/rock3_qopenhd.service @@ -6,7 +6,7 @@ After=multi-user.target Type=simple Environment="QT_QPA_EGLFS_KMS_ATOMIC=1" Environment="QT_LOGGING_RULES=qt.qpa.egl*=true" -Environment="QT_QPA_EGLFS_KMS_PLANE_INDEX=5" +Environment="QT_QPA_EGLFS_KMS_PLANE_INDEX=1" Environment="QT_QPA_EGLFS_FORCE888=1" Environment="QT_QPA_EGLFS_SWAPINTERVAL=0" Environment="QT_QPA_EGLFS_KMS_CONFIG=/usr/local/share/qopenhd/rock_qt_eglfs_kms_config.json" diff --git a/systemd/rock5_h264_decode.service b/systemd/rock5_h264_decode.service index f465d0bf5..4e6076330 100644 --- a/systemd/rock5_h264_decode.service +++ b/systemd/rock5_h264_decode.service @@ -5,7 +5,7 @@ Description=rock_h264_decode User=root # Video decode via mpp, started by QOpenHD if needed (and stopped if needed) -ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H264' ! rtph264depay ! h264parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=54" +ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H264' ! rtph264depay ! h264parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=54 force-modesetting=true" Restart=always RestartSec=2 diff --git a/systemd/rock5_h265_decode.service b/systemd/rock5_h265_decode.service index dae7589fd..e84d50b9e 100644 --- a/systemd/rock5_h265_decode.service +++ b/systemd/rock5_h265_decode.service @@ -5,7 +5,7 @@ Description=rock_h265_decode User=root # Video decode via mpp, started by QOpenHD if needed (and stopped if needed) -ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H265' ! rtph265depay ! h265parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=102" +ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H265' ! rtph265depay ! h265parse ! mppvideodec format=23 fast-mode=true ! queue ! kmssink plane-id=54 force-modesetting=true" Restart=always RestartSec=1 diff --git a/systemd/rock5_mjpeg_decode.service b/systemd/rock5_mjpeg_decode.service index d9460e7f1..e35c317ef 100644 --- a/systemd/rock5_mjpeg_decode.service +++ b/systemd/rock5_mjpeg_decode.service @@ -5,7 +5,7 @@ Description=rock_mjpeg_decode User=root # Video decode via mpp, started by QOpenHD if needed (and stopped if needed) -ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)26, clock-rate=(int)90000, media=(string)video, encoding-name=(string)JPEG' ! rtpjpegdepay ! jpegdec ! queue ! kmssink plane-id=102" +ExecStart=/bin/sh -c "gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)26, clock-rate=(int)90000, media=(string)video, encoding-name=(string)JPEG' ! rtpjpegdepay ! jpegdec ! queue ! kmssink plane-id=54 force-modesetting=true" Restart=always RestartSec=1