From a4e762c297367fd1f6d5b5d5a870d5dfaed44aa7 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 22 Aug 2023 23:49:11 +0200 Subject: [PATCH] update links to memories docs Signed-off-by: Simon L --- Containers/nextcloud/start.sh | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Containers/nextcloud/start.sh b/Containers/nextcloud/start.sh index b990d6c5..58330db3 100644 --- a/Containers/nextcloud/start.sh +++ b/Containers/nextcloud/start.sh @@ -34,7 +34,7 @@ fi # Check if /dev/dri device is present and apply correct permissions set -x if ! [ -f "/dev-dri-group-was-added" ] && [ -n "$(find /dev -maxdepth 1 -mindepth 1 -name dri)" ] && [ -n "$(find /dev/dri -maxdepth 1 -mindepth 1 -name renderD128)" ]; then - # From https://github.com/pulsejet/memories/wiki/QSV-Transcoding#docker-installations + # From https://memories.gallery/hw-transcoding/#docker-installations GID="$(stat -c "%g" /dev/dri/renderD128)" groupadd -g "$GID" render2 || true # sometimes this is needed GROUP="$(getent group "$GID" | cut -d: -f1)" diff --git a/readme.md b/readme.md index 7b2c0eeb..e9c710f1 100644 --- a/readme.md +++ b/readme.md @@ -644,7 +644,7 @@ The [facerecognition app](https://apps.nextcloud.com/apps/facerecognition) requi ### How to enable hardware-transcoding for Nextcloud? ⚠️⚠️⚠️ Warning: this only works if the `/dev/dri` device is present on the host! If it does not exists on your host, don't proceed as otherwise the Nextcloud container will fail to start! If you are unsure about this, better do not proceed with the instructions below. -The [memories app](https://apps.nextcloud.com/apps/memories) allows to enable hardware transcoding for videos. In order to use that, you need to add `--env NEXTCLOUD_ENABLE_DRI_DEVICE=true` to the docker run command of the mastercontainer (but before the last line `nextcloud/all-in-one:latest`! If it was started already, you will need to stop the mastercontainer, remove it (no data will be lost) and recreate it using the docker run command that you initially used) which will mount the `/dev/dri` device into the container. Additionally, you need to add required packets to the Nextcloud container by using [this feature](https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container) and adding the required Alpine packages that are documented [here](https://github.com/pulsejet/memories/wiki/QSV-Transcoding). +The [memories app](https://apps.nextcloud.com/apps/memories) allows to enable hardware transcoding for videos. In order to use that, you need to add `--env NEXTCLOUD_ENABLE_DRI_DEVICE=true` to the docker run command of the mastercontainer (but before the last line `nextcloud/all-in-one:latest`! If it was started already, you will need to stop the mastercontainer, remove it (no data will be lost) and recreate it using the docker run command that you initially used) which will mount the `/dev/dri` device into the container. Additionally, you need to add required packets to the Nextcloud container by using [this feature](https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container) and adding the required Alpine packages that are documented [here](https://memories.gallery/hw-transcoding/#va-api). ### Huge docker logs If you should run into issues with huge docker logs, you can adjust the log size by following https://docs.docker.com/config/containers/logging/local/#usage. However for the included AIO containers, this should usually not be needed because almost all of them have the log level set to warn so they should not produce many logs.