Skip to main content

Jellyfin (linuxserver)

---
version: "3.3"
services:
   jellyfin:
    image: lscr.io/linuxserver/jellyfin
    container_name: jellyfin
    environment:
      - PUID=998
      - PGID=100
      - TZ=Europe/Paris
    # - JELLYFIN_PublishedServerUrl=192.168.x.x #optional
    volumes:
      - /srv/path/Files/Jellyfin/config:/config
      - /srv/path/Files/Jellyfin/tvshows:/data/tvshows
      - /srv/path/Files/Jellyfin/movies:/data/movies
      - /srv/path/Music:/data/music
    # - /opt/vc/lib:/opt/vc/lib #optional
    ports:
      - 8096:8096
    # - 8920:8920 #optional
    # - 7359:7359/udp #optional
    # - 1900:1900/udp #optional
   # devices:
    # - /dev/dri:/dev/dri #optional
    # - /dev/vcsm:/dev/vcsm #optional
    # - /dev/vchiq:/dev/vchiq #optional
    # - /dev/video10:/dev/video10 #optional
    # - /dev/video11:/dev/video11 #optional
    # - /dev/video12:/dev/video12 #optional
     restart: unless-stopped

Full HD h264 is the absolut maximum a Raspberry Pi 4 can handle for transcoding. Everything above must be played directly because the hardware isn't good enough.
https://www.reddit.com/r/jellyfin/comments/rqzecj/how_to_get_jellyfin_to_transcode_on_raspberry_pi_4/