Jellyfin and FFMPEG with MPP HW Acceleration is available now

The Jellyfin maintainers effort now lead to this really good implementation of mpp in ffmpeg:

The wiki of this project covers everything regarding compilation, decoding, encoding, video filters and transcoding with ffmpeg.

For a HW accelerated Jellyfin there is a docker run command:

docker run -d \
 --name jellyfin \
 --privileged \
 --net=host \
 --restart=unless-stopped \
 --volume /path/to/config:/config \
 --volume /path/to/cache:/cache \
 --volume /path/to/media:/media \
 `for dev in dri dma_heap mali0 rga mpp_service \
    iep mpp-service vpu_service vpu-service \
    hevc_service hevc-service rkvdec rkvenc vepu h265e ; do \
   [ -e "/dev/$dev" ] && echo " --device /dev/$dev"; \
  done` \
 nyanmisaka/jellyfin:latest-rockchip
5 Likes

Just a little update if you want to use docker-compose:

version: "3.3"
services:
  jellyfin:
    image: nyanmisaka/jellyfin:latest-rockchip
    container_name: jellyfin
    privileged: true
    network_mode: host
    restart: always
    volumes:
      - /opt/jellyfin/config:/config
      - /opt/jellyfin/cache:/cache
      - /mnt/media:/media
    devices:
      - /dev/dri:/dev/dri
      - /dev/dma_heap:/dev/dma_heap
      - /dev/mali0:/dev/mali0
      - /dev/rga:/dev/rga
      - /dev/mpp_service:/dev/mpp_service
networks: {}
2 Likes