• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Jellyfish server wont start becuase access to FFMPEG is denied

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfish server wont start becuase access to FFMPEG is denied

    Chyyl09
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #1
    2025-01-21, 09:16 PM (This post was last modified: 2025-01-21, 09:31 PM by Chyyl09. Edited 1 time in total.)
    This is my first time installing Jellyfin and I just used the standard Windows installer.
    I have already preinstalled an instance of FFMPEG for encoding, but I am very inexperienced with media streaming and encoding in general.

    Whenever I try to launch the Jellfin server, whether it be by the tray app or by the console. It always fails to launch. Looking at the logs the error is pretty consistent:

    Quote:[2025-01-21 15:56:09.553 -05:00] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Error validating encoder
    System.ComponentModel.Win32Exception (5): An error occurred trying to start process 'C:\ffmpeg\bin' with working directory 'C:\Program Files\Jellyfin\Server'. Access is denied.
      at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
      at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.GetProcessOutput(String path, String arguments, Boolean readStdErr, String testKey)
      at MediaBrowser.MediaEncoding.Encoder.EncoderValidator.ValidateVersion()
    [2025-01-21 15:56:09.562 -05:00] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: "C:\ffmpeg\bin"
    [2025-01-21 15:56:09.563 -05:00] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Path set by "command line or environment variable" is invalid
    [2025-01-21 15:56:09.566 -05:00] [FTL] [1] Main: Error while starting server
    MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg
      at Emby.Server.Implementations.ApplicationHost.RunStartupTasksAsync()
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)

    I've tried running the application as an administrator and even tried to give it greater permissions but it still spits out the same error.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-21, 09:26 PM (This post was last modified: 2025-01-21, 09:26 PM by TheDreadPirate. Edited 1 time in total.)
    Uninstall the version ffmpeg you install separate from Jellyfin. Jellyfin comes with a customized version of ffmpeg bundled with the server.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Chyyl09
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    Country:United States
    #3
    2025-01-21, 09:30 PM
    Will I be able to use the Jellyfin provided ffmpeg to also encode separate of streaming via the Jellfin server?
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,142
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #4
    2025-01-21, 09:39 PM
    Just remove the ffmpeg path from your system environmental variables:

    In the start menu or a run box type “sysdm.cpl” and open that up.
    Navigate to Advanced -> Environment Variables
    In User Variables - click Path, then choose edit. Check for "C:\ffmpeg\bin" and delete if found.
    Do the same thing for the System Variables.
    Restart your computer.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2025-01-22, 03:52 PM
    You can also do what theguymadmax suggested.

    To answer your specific question, yes. You can use jellyfin-ffmpeg for encoding outside of Jellyfin. I do this all the time.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode