Jellyfin Forum
SOLVED: FFMPEG not found - 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: SOLVED: FFMPEG not found (/t-solved-ffmpeg-not-found)

Pages: 1 2


FFMPEG not found - Manthan - 2023-09-16

Hello,

I setup Jellyfin last night and I'm thankful to the devs/contributers for this software.

I'm not able to play any media. I have .mp4 and .ts type media, both throwing the same error. 

For some reason when I checked the FFMPEG path it was empty by default. It's also not detecting several versions of FFMPEG when I select the path or even the actual FFMPEG.exe. 
I also tried most recent custom version by Jellyfin. 

Server OS: Windows server core
Jellyfin Server: 10.8.10

Quote:[12:12:56] [INF] [39] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[12:12:56] [ERR] [39] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/06e734d2-c788-09f4-9f49-3edd78cd9262/live.m3u8.
System.ArgumentException: FFmpeg path not set.


Error: The client isn't compatible with the media and the server isn't sending a compatible media format.


RE: FFMPEG not found - skribe - 2023-09-16

The custom jellyfin ffmpeg fork is included in the Windows installer and should be installed alongside jellyfin already. Did you by any chance modify the path in the jellyfin config?


RE: FFMPEG not found - Manthan - 2023-09-16

It has this error since the first run so I thought it's actually missing and tried to add a path after downloading the FFMPEG which also errored Not Found.

When I try to set it the jellyfin folder where the custom jellyfin FFMPEG is I get the same Not Found error.

I can confirm the FFMPEG is there in the folder.


RE: FFMPEG not found - skribe - 2023-09-16

The default path on windows should look as in the attached image. If this is how it's set, and it's still not able to find it, and you've verified that it's there, then there may be a larger issue with Windows or something we need to look at. But check to make sure that this is the path as configured first.

   

It should simply say "ffmpeg" in the field.


RE: FFMPEG not found - Manthan - 2023-09-16

(2023-09-16, 07:49 PM)skribe Wrote: The default path on windows should look as in the attached image. If this is how it's set, and it's still not able to find it, and you've verified that it's there, then there may be a larger issue with Windows or something we need to look at. But check to make sure that this is the path as configured first.



It should simply say "ffmpeg" in the field.

It wasn't there, the field was empty, I tried to put 'ffmpeg' in there and hit save. I'm getting the same error.


RE: FFMPEG not found - skribe - 2023-09-16

And, to be clear, you have both ffmpeg and ffprobe in your jellyfin server folder as below, right?

   


RE: FFMPEG not found - Manthan - 2023-09-16

Absolutely


RE: FFMPEG not found - skribe - 2023-09-16

It might be easier to troubleshoot this in the troubleshooting channel in real time, but alternatively, go ahead and share your logs here. You can use a service like pastebin or something if you prefer. Let's see if there are any clues there.


RE: FFMPEG not found - Manthan - 2023-09-16

Quote:C:\Jellyfin>.\jellyfin.exe
[20:39:52] [INF] [1] Main: Jellyfin version: 10.8.10
[20:39:52] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\\Users\\Administrator\\AppData\\Local\\jellyfin\\log]"]
[20:39:52] [INF] [1] Main: Arguments: ["C:\\Jellyfin\\jellyfin.dll"]
[20:39:52] [INF] [1] Main: Operating system: Windows
[20:39:52] [INF] [1] Main: Architecture: X64
[20:39:52] [INF] [1] Main: 64-Bit Process: True
[20:39:52] [INF] [1] Main: User Interactive: True
[20:39:52] [INF] [1] Main: Processor count: 4
[20:39:52] [INF] [1] Main: Program data path: C:\Users\Administrator\AppData\Local\jellyfin
[20:39:52] [INF] [1] Main: Web resources path: C:\Jellyfin\jellyfin-web
[20:39:52] [INF] [1] Main: Application directory: C:\Jellyfin\
[20:39:53] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\Users\Administrator\AppData\Local\jellyfin\cache
[20:39:53] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[20:39:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[20:39:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
[20:39:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[20:39:55] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[20:39:56] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
[20:39:59] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.10.0
[20:39:59] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.10.0
[20:39:59] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.10.0
[20:39:59] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.10.0
[20:39:59] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.10.0
[20:40:00] [INF] [1] Main: Kestrel listening on Any IP4 Address
[20:40:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[20:40:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2023-09-16 02:00:00.000 -07:00, which is 05:19:59.0075851 from now.
[20:40:01] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg validation: The process returned no result
[20:40:01] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: ffmpeg
[20:40:01] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg:
[20:40:01] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: c1da31dd5b04450aa15b7d4a952bd5ac
[20:40:01] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.3646368
[20:40:01] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[20:40:01] [INF] [12] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory Z:\VMachines\Jellyfin Media\Movies
[20:40:01] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.2597942
[20:40:01] [INF] [1] Main: Startup complete 0:00:10.7859153
[20:40:04] [INF] [12] Emby.Server.Implementations.ScheduledTasks.TaskManager: StartupTrigger fired for task: Update Plugins
[20:40:04] [INF] [12] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task PluginUpdateTask
[20:40:04] [INF] [9] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Update Plugins
[20:40:04] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds
[20:40:04] [INF] [14] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[20:41:42] [INF] [10] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[20:41:42] [INF] [10] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
[20:41:42] [INF] [10] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged.
[20:41:49] [INF] [19] Jellyfin.Server.Implementations.Users.UserManager: Authentication request for Manthan has succeeded.
[20:41:49] [INF] [19] Emby.Server.Implementations.Session.SessionManager: Current/Max sessions for user Manthan: 0/0
[20:41:49] [INF] [19] Emby.Server.Implementations.Session.SessionManager: Creating new access token for user a3cad855-75ed-42a3-96fa-134e0d357b17
[20:41:49] [WRN] [19] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://192.168.2.238:8096/Users/authenticatebyname to 192.168.2.185 in 0:00:00.5910142 with Status Code 200
[20:41:49] [INF] [19] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.2.185 request
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'AccessSchedule' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ActivityLog' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'CustomItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'HomeSection' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ImageInfo' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ItemDisplayPreferences' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Permission' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Preference' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'ApiKey' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'Device' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'DeviceOptions' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:49] [WRN] [10] Microsoft.EntityFrameworkCore.Model.Validation: The entity type 'User' is configured to use schema 'jellyfin', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[20:41:57] [INF] [10] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.2.185 closed
[20:41:58] [INF] [15] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.2.185 request
[20:42:03] [ERR] [23] MediaBrowser.Providers.Movies.MovieMetadataService: Error in ffprobe



RE: FFMPEG not found - skribe - 2023-09-16

There are some case sensitivity issues with Windows at times. As a troubleshooting step, let's try setting the ffmpeg path to C:\Jellyfin\ffmpeg.exe and seeing if it works. Can you test that?