Jellyfin Forum
FFmpeg exited with code 187 - 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: FFmpeg exited with code 187 (/t-ffmpeg-exited-with-code-187)



FFmpeg exited with code 187 - testomat - 2025-06-07

Hi, im new to jellyfin and need help. When i play some videos, i got a playback fail.
I have a Lenovo M720q with i5 8500T CPU, running unraid and jellyfin in a docker container.

I attached an error log. Whenever you need more infos, just leave a message.
Thanks.


RE: FFmpeg exited with code 187 - theguymadmax - 2025-06-07

Post the ffmpeg logs and your docker file.


RE: FFmpeg exited with code 187 - testomat - 2025-06-07

Where i can find the ffmpeg logs ? I installed jellyfin via unraid app store. So how i can get the docker file ?


RE: FFmpeg exited with code 187 - testomat - 2025-06-07

I found the logs for the ffmpeg. See log.txt
.txt   Log.txt (Size: 6.1 KB / Downloads: 29)


RE: FFmpeg exited with code 187 - theguymadmax - 2025-06-07

I'm unfamiliar with unriad. But it sounds like you didn't pass the GPU into the container. It should be in the advanced view as described in this video: https://www.youtube.com/watch?v=_2Fz823YjUY&t=711s


RE: FFmpeg exited with code 187 - testomat - 2025-06-08

i added the parameter in the docker container --device=/dev/dri, but it doesn't work.
The /dri directory does not exist in jellyfin. Is it a problem with the user rights ?


RE: FFmpeg exited with code 187 - testomat - 2025-06-08

That was a good tip, thanks. I got the solution now.
I have to add two devices in my docker container for passthrough

--device /dev/dri/renderD128Confused-facedev/dri/renderD128
--device /dev/dri/card0Confused-facedev/dri/card0

Then it works. It can be closed here.