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

sup @meco is this compose up to date?
do you need to install this driver? https://github.com/tsukumijima/libmali-rockchip/
is network mode host and privileged required?

follow this official guide from jellyfin: https://jellyfin.org/docs/general/administration/hardware-acceleration/rockchip/. The driver depends on which OS (kernel) you’re using and you don’t need to use the forked Jellyfin anymore as it’s all in the official version now.

Thanks for the quick reply

i saw the guide there’s no compose file but guess i can convert it with composerize

what driver changes one could be aware if using armbian vs the official image?