Jellyfin Docker compose - RasPi 4

Hello,

I would like to use the docker compose file from jellyfin - LinuxServer.io but don’t know how to enable the Hardware Acceleration Enhancements " OpenMAX (Raspberry Pi)" and “V4L2 (Raspberry Pi)”.

Can someone please tell how to integrate this in the provided docker compose?
Is this correct?

---
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
    volumes:
      - /mnt/swap/jellyfin/library:/config
      - /mnt/data/media:/data/media
      - /opt/vc/lib:/opt/vc/lib
    ports:
      - 8096:8096
    devices:
      - dev/vcsm:/dev/vcsm
      - /dev/vchiq:/dev/vchiq
      - /dev/video10:/dev/video10
      - /dev/video11:/dev/video11
      - /dev/video12:/dev/video12
    restart: unless-stopped

Maybe this would also be an option to include all options with # in front of the docker compose to enable such features like Hardware Acceleration Enhancements for users.

What do you think?

closing due to dupe, Jellyfin Docker compose - Raspberry Pi 4 - General / Docker - LinuxServer.io

do not post dupe threads. if someone has interest in responding to you, they will.