Nextcloud memories transcoding refuses to work

Nextcloud version (eg, 29.0.5): 30.0.0.14
Operating system and version (eg, Ubuntu 24.04): 22.04.5

The issue you are facing:

Transcoding refuses to work in next cloud, despite having all the green checkmarks for detecting the driver, ffmpeg, and ffprobe: https://imgur.com/a/GzrBJav

docker compose file: https://pastebin.com/tVVzt4mm

Example of the log error I keep getting when transcoding:

{“reqId”:“4vAGsRegMgLF4X394SRp”,“level”:3,“time”:“2024-10-03T21:06:01+00:00”,“remoteAddr”:“192.168.1.235”,“user”:“proxbox”,“app”:“memories”,“method”:“GET”,“url”:“/apps/memories/api/video/transcode/olb180sq2g00/343/1440p-000042.ts”,“message”:“Transcode failed: Transcoder returned 408”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0”,“version”:“30.0.0.14”,“data”:{“app”:“memories”}}

I can run ffmpeg from within the docker container itself by bashing into the console via portainer. I wonder if it’s not getting the right permissions or something from the renderD128 folder. This LXC is running as privileged, and I still passed through id mappings by editing the /etc/pve/lxc/100.conf file for the container. I will attach screenshots of the conf file, ls -ld /dev/dri on the container, and whatever else I think I need to provide. I have been at this for three days and nothing works. Probably would’ve been easier to run nextcloud bare metal, but I am not gonna install that over my proxmox install. I tried following every guide, reading every documentation, and nothing works. I desperately need help to get this working.

NOTE: I did follow this guide here: https://memories.gallery/hw-transcoding/#internal-transcoder

However I realized I now have two different intel drivers, my host is running a newer one. I think both host and container need to have the same driver. I compiled and installed the intel driver from their github on the host, so I will probably need to replicate those steps on the container as well. That could be why potentially, transcoding still didn’t work. Am I missing anything for my docker compose file?

I have meet the same issue as you have.
I just enter the container and chmod of renderD128.
it works but a little bit tiring. every time I restart my container, the privilege is reset.

Add the docs say, don’t use internal transcoder unless you really need to.