Skip to content

Commit

Permalink
docs: update hw transcoding
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Oct 17, 2023
1 parent dc146d0 commit 65b1de8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/hw-transcoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ sudo -u www-data \

### Docker installations

!!! danger "Use an en external transcoder"

If you need hardware transcoding and use Docker, it can be significantly easier to use an external transcoder. See [above](#external-transcoder) for instructions.

If you use Docker, you need to:

1. Pass the `/dev/dri` device to the container. In `docker-compose.yml`:
Expand All @@ -113,7 +117,7 @@ If you use Docker, you need to:
1. Make sure the right drivers are installed. This can be done using a custom Dockerfile, for example

```Dockerfile
FROM nextcloud:latest
FROM nextcloud:stable-fpm

RUN apt-get update && \
apt-get install -y lsb-release && \
Expand Down Expand Up @@ -143,11 +147,11 @@ If you use Docker, you need to:

### Nextcloud AIO

See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-transcoding-for-nextcloud
See the instructions [here](https://github.com/nextcloud/all-in-one#how-to-enable-hardware-transcoding-for-nextcloud).

### linuxserver/nextcloud image
### Linuxserver Nextcloud image

You can add the following to the `docker-compose.yml` file to install the drivers:
This image is based on Alpine. You can add the following to the `docker-compose.yml` file to install the drivers.

```yaml
devices:
Expand Down

0 comments on commit 65b1de8

Please sign in to comment.