Jellyfin Forum
Fresh install on Centos, unable to find FFmepg when its right where it should be... - 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: Fresh install on Centos, unable to find FFmepg when its right where it should be... (/t-fresh-install-on-centos-unable-to-find-ffmepg-when-its-right-where-it-should-be)



Fresh install on Centos, unable to find FFmepg when its right where it should be... - WalkOffTheEdge - 2023-07-31

Hi all, new Jellyfin install here on Centos 7.  I have had no issues with setting up the service and it seems to be running just fine.  As a test I copied a few videos into a storage area, pointed Jellyfin at it and am not able to get any of them to play.  They all respond with this message:

This client isn't compatible with the media and the server isn't sending a compatible media format.

After doing some digging this seems to have something to do with FFmpeg, so I checked up on that and am still confused; not only is FFmpeg installed, it is right where it should be in /bin but Jellyfin does not agree for some reason.

To verify I checked the default location of /bin and both FFmpeg and FFprobe are there:

# ls -l /bin/ffmpeg
-rwxr-xr-x. 1 root root 221304 Apr  4  2019 /bin/ffmpeg

# ls -l /bin/ffprobe
-rwxr-xr-x. 1 root root 137696 Apr  4  2019 /bin/ffprobe

And when I try to add this path in the 'Playback' section of the dashboard it is not found no matter if I specify just /bin or /bin//ffmpeg (its not clear on what is needed, just the path or also the executable, both options give me the same error):


We're unable to find FFmpeg using the path you've entered. FFprobe is also required and must exist in the same folder. These components are normally bundled together in the same download. Please check the path and try again.

But both files are RIGHT there - why is Jellyfin telling me they are not?

For what its worth I dont have issues on any of these videos using other means; VLC plays them on my PC, and they were previously served up from Windows 10 using the Media Streaming (which I am trying to get way from) so I do no see the videos themselves as suspect.  Also made sure I am not using hardware acceleration.  

What am I missing here, is it a permissions issue? I even changed the ownership of ffmpeg and ffprobe to jellyfin, I still get the same error.  Any clues as to why Jellyfin thinks these files are not in the path specified when they clearly are?

TIA


RE: Fresh install on Centos, unable to find FFmepg when its right where it should be... - cthunsfrd - 2023-07-31

I had the same issue before and solved by building and installing jellyfinffmpeg.

https://github.com/jellyfin/jellyfin-ffmpeg


RE: Fresh install on Centos, unable to find FFmepg when its right where it should be... - TheDreadPirate - 2023-07-31

Is that the ffmpeg that comes with Jellyfin? Mine are located in

Quote:/usr/lib/jellyfin-ffmpeg/ffmpeg
/usr/lib/jellyfin-ffmpeg/ffprobe

The version of ffmpeg that comes with jellyfin IS NOT the same as standard ffmpeg. The Jellyfin devs have their own version with additional patches applied.