Jellyfin Forum
Transcoding FFmpeg error 218 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Transcoding FFmpeg error 218 (/t-transcoding-ffmpeg-error-218)

Pages: 1 2 3


RE: Transcoding FFmpeg error 218 - TheDreadPirate - 2024-11-12

Can you share your docker compose?


RE: Transcoding FFmpeg error 218 - aazam476 - 2024-11-12

(2024-11-12, 01:53 PM)TheDreadPirate Wrote: Can you share your docker compose?

I am using Linuxserver's docker image, but the issue that is happening occurs when using either the official image or Linuxserver's image.

Code:
version: '3'
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    restart: unless-stopped
    env_file: stack.env
    runtime: nvidia
    volumes:
      - config:/config
      - /media/jellyfin/transcodes:/transcodes
      - /media/jellyfin/movies:/movies
      - /media/jellyfin/tvshows:/tvshows
    networks:
      - default
      - traefik
      - jellyfin
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
    labels:
      - traefik.enable=true
      - traefik.http.routers.jellyfin.rule=Host(`...`)
      - traefik.http.routers.jellyfin.entrypoints=websecure
      - traefik.http.routers.jellyfin.tls.certresolver=myresolver
      - traefik.http.services.jellyfin.loadbalancer.server.port=8096
volumes:
  config:
  cache:
networks:
  default:
  traefik:
    external: true
  jellyfin:
    external: true



RE: Transcoding FFmpeg error 218 - TheDreadPirate - 2024-11-12

I revisited your original post. I noticed you have decode acceleration enabled for HEVC, which your GPU does not support.

Dashboard > Playback > Transcoding. Check MPEG2, VC1, VP8, and H264 for the decode section. Uncheck everything else. This will cause those codecs to decode on the CPU instead of the GPU.


RE: Transcoding FFmpeg error 218 - aazam476 - 2024-11-12

After fixing a few other errors by restarting the docker stack and fixing folder permissions, it works! Thanks so much!