Skip to content

Commit

Permalink
changing decode pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Nov 2, 2023
1 parent c2bccc2 commit 2904ff5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion systemd/rock3_h264_decode.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion systemd/rock3_h265_decode.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion systemd/rock3_mjpeg_decode.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion systemd/rock5_h264_decode.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion systemd/rock5_h265_decode.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion systemd/rock5_mjpeg_decode.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2904ff5

Please sign in to comment.