FFMPEG is sometimes not found on Windows #556

Closed
opened 2026-02-06 19:50:08 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @LogicalPhallacy on GitHub (Apr 2, 2019).

Originally assigned to: @LogicalPhallacy on GitHub.

Describe the bug
On the Jellyfin 10.3-RC jellyfin seems unable to find ffmpeg (shipped with it) without manual intervention

To Reproduce

  1. Install Jellyfin on windows
  2. Try and transcode something

Expected behavior
Jellyfin should search in the path, in its own directory, and in any common install locations for ffmpeg (that last one isn't really a thing on windows)

System (please complete the following information):

  • OS: Windows
  • Jellyfin Version: 10.3.0-rc1
Originally created by @LogicalPhallacy on GitHub (Apr 2, 2019). Originally assigned to: @LogicalPhallacy on GitHub. **Describe the bug** On the Jellyfin 10.3-RC jellyfin seems unable to find ffmpeg (shipped with it) without manual intervention **To Reproduce** 1. Install Jellyfin on windows 2. Try and transcode something **Expected behavior** Jellyfin should search in the path, in its own directory, and in any common install locations for ffmpeg (that last one isn't really a thing on windows) **System (please complete the following information):** - OS: Windows - Jellyfin Version: 10.3.0-rc1
OVERLORD added the backendbugregression labels 2026-02-06 19:50:08 +03:00
Author
Owner

@ploughpuff commented on GitHub (Apr 3, 2019):

What do you mean by "shipped with it" please?

The search order is xml config file, command line switch and finally $PATH.

Out of interest, where is the required binary located?

@ploughpuff commented on GitHub (Apr 3, 2019): What do you mean by "shipped with it" please? The search order is xml config file, command line switch and finally $PATH. Out of interest, where is the required binary located?
Author
Owner

@LogicalPhallacy commented on GitHub (Apr 3, 2019):

We ship the windows builds of Jellyfin with a zeranoe ffmpeg build in the
jellyfin directory. The new search order prevents that included binary from
being detected which causes problems for windows installs. I am working on
a PR to append the jellyfin install directory where we keep that binary by
default on windows to the PATH variable from within the context of the
Jellyfin process which should resolve the issue in a nonimpactful way that
is compliant with how Windows and *Nix operate.

On Tue, Apr 2, 2019 at 2:29 PM ploughpuff notifications@github.com wrote:

What do you mean by "shipped with it" please?

The search order is xml config file, command line switch and finally $PATH.

Out of interest, where is the required binary located?


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/jellyfin/jellyfin/issues/1185#issuecomment-479211351,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqZgts4L23M0XX3InsVtzl0XAO_nKv--ks5vc8u4gaJpZM4cXGHf
.

@LogicalPhallacy commented on GitHub (Apr 3, 2019): We ship the windows builds of Jellyfin with a zeranoe ffmpeg build in the jellyfin directory. The new search order prevents that included binary from being detected which causes problems for windows installs. I am working on a PR to append the jellyfin install directory where we keep that binary by default on windows to the PATH variable from within the context of the Jellyfin process which should resolve the issue in a nonimpactful way that is compliant with how Windows and *Nix operate. On Tue, Apr 2, 2019 at 2:29 PM ploughpuff <notifications@github.com> wrote: > What do you mean by "shipped with it" please? > > The search order is xml config file, command line switch and finally $PATH. > > Out of interest, where is the required binary located? > > — > You are receiving this because you were assigned. > Reply to this email directly, view it on GitHub > <https://github.com/jellyfin/jellyfin/issues/1185#issuecomment-479211351>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AqZgts4L23M0XX3InsVtzl0XAO_nKv--ks5vc8u4gaJpZM4cXGHf> > . >
Author
Owner

@Bond-009 commented on GitHub (Apr 3, 2019):

IMO the proper solution is just passing the exe name and let windows figure out if it’s in PATH or the current dir.

@Bond-009 commented on GitHub (Apr 3, 2019): IMO the proper solution is just passing the exe name and let windows figure out if it’s in PATH or the current dir.
Author
Owner

@ploughpuff commented on GitHub (Apr 3, 2019):

IMO the proper solution is just passing the exe name and let windows figure out if it’s in PATH or the current dir.

Well, the current approach was taken to allow the full path to the ffmpeg binary to be traced in the log file and appear on the transcode UI page.

@ploughpuff commented on GitHub (Apr 3, 2019): > IMO the proper solution is just passing the exe name and let windows figure out if it’s in PATH or the current dir. Well, the current approach was taken to allow the full path to the ffmpeg binary to be traced in the log file and appear on the transcode UI page.
Author
Owner

@daves00 commented on GitHub (Apr 3, 2019):

On a Windows platform search order should always start with it's own directory. This was specified by M$ quite some while ago.

@daves00 commented on GitHub (Apr 3, 2019): On a Windows platform search order should always start with it's own directory. This was specified by M$ quite some while ago.
Author
Owner

@joshuaboniface commented on GitHub (Apr 20, 2019):

Should be fixed in 10.3.0 release.

@joshuaboniface commented on GitHub (Apr 20, 2019): Should be fixed in 10.3.0 release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#556