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--10513)



Transcoding FFmpeg error 218 - foobar1452 - 2025-02-02

Hi everyone!

I'm still a complete jellyfin beginner, but today I installed it on my Unraid 7.0 server (with a 12th generation Intel processor) in a docker environment. Together with {apps we don't talk about - TDP}.

All containers seem to work at first glance. I've already played a few mp4 movies on Jellyfin. However, it went wrong as soon as I wanted to play an mkv movie.

I then continued searching and tried to configure hardware transcoding properly.

I followed a few tutorials to install everything. I also configured (I think) HW transcoding properly (as in the tutorial). The GPU of my processor is accessible from docker. When I try to load a mkv movie I can see with the intel-gpu-top tool that a process is created. However, this process disappears from view within a second. In the logs it seems to be an error 218.

An example: 
Quote:Error processing request. URL "GET" "/videos/633356e9-c88a-1285-04e2-2d044006acb8/hls1/main/-1.mp4".
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 218
  at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String

My knowledge is limited on this topic, so I hope you guys can help me out.. Thanks in advance!  Upside-down-face

----

I followed the following tutorial to install everything, including Jellyfin:

https://flemmingss.com/a-minimal-configuration-step-by-step-guide-to-media-automation-in-unraid-using-radarr-sonarr-prowlarr-jellyfin-jellyseerr-and-qbittorrent/

And specifically followed this github page for the hardware transcoding:

https://github.com/IlTossico/Jellyfin-unRaid-Intel_Transcoding

My Jellyfin log can be found here:

https://1drv.ms/t/c/e2b1e3b1a13016db/ERyUE2rnx8RJsdgMOaIT3AkBnXOnWuqVa7-6Fw56yWLnLg?e=tjeeoP

My settings for the docker container for Jellyfin are configured as follows:

https://1drv.ms/i/c/e2b1e3b1a13016db/ERb6G4H2f4hGvcV0FeUhSdIBB9L0e94h6WlXokDpAbqT7g?e=6Pzynu


RE: Transcoding FFmpeg error 218 - TheDreadPirate - 2025-02-03

You enabled AV1 encoding, which your iGPU does not support. It only supports AV1 DEcoding.

Uncheck "Allow encoding in AV1 format".


RE: Transcoding FFmpeg error 218 - foobar1452 - 2025-02-03

(Yesterday, 12:32 AM)TheDreadPirate Wrote: You enabled AV1 encoding, which your iGPU does not support.  It only supports AV1 DEcoding.

Uncheck "Allow encoding in AV1 format".

Thanks. You're a lifesaver!  Ok-hand