jellyfin / jellyfin

The Free Software Media System
https://jellyfin.org
GNU General Public License v2.0
30.97k stars 2.86k forks source link

[Question]: New media files are not being played. #11696

Open rohitghali opened 2 weeks ago

rohitghali commented 2 weeks ago

Please describe your bug

New media doesn't play. Old media works just fine. New ones show up in the server, but won't play.

Reproduction Steps

Upgraded from 10.8 to 10.9.1. New media files are not being played. They're being scanned and updated fine, but playback is not working.

Jellyfin Version

10.9.0

if other:

No response

Environment

- OS: Windows 11
- Linux Kernel:
- Virtualization:
- Clients: Android app, web browser, findroid.
- Browser:
- FFmpeg Version:
- Playback Method: Any method. Jellyfin web, android app, findroid etc.
- Hardware Acceleration: Yes
- GPU Model: 
- Plugins: Basic ones enabled
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

[2024-05-17 10:42:33.497 -04:00] [INF] [17] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting null with args "-analyzeduration 200M -probesize 1G -i file:\"MediaFilePathName.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-17 10:42:33.501 -04:00] [ERR] [17] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider"
System.InvalidOperationException: Cannot start process because a file name has not been provided.
   at System.Diagnostics.Process.Start()
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StartProcess(ProcessWrapper process)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-05-17 10:42:33.684 -04:00] [INF] [25] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "admin". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-05-17 10:42:33.689 -04:00] [ERR] [25] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Items/84b848552600576299468f8d419f6b8f/PlaybackInfo".
System.NullReferenceException: Object reference not set to an instance of an object.
   at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem(MediaSourceInfo item, MediaOptions options)
   at MediaBrowser.Model.Dlna.StreamBuilder.GetOptimalVideoStream(MediaOptions options)
   at Jellyfin.Api.Helpers.MediaInfoHelper.SetDeviceSpecificData(BaseItem item, MediaSourceInfo mediaSource, DeviceProfile profile, ClaimsPrincipal claimsPrincipal, Nullable`1 maxBitrate, Int64 startTimeTicks, String mediaSourceId, Nullable`1 audioStreamIndex, Nullable`1 subtitleStreamIndex, Nullable`1 maxAudioChannels, String playSessionId, Guid userId, Boolean enableDirectPlay, Boolean enableDirectStream, Boolean enableTranscoding, Boolean allowVideoStreamCopy, Boolean allowAudioStreamCopy, IPAddress ipAddress)
   at Jellyfin.Api.Controllers.MediaInfoController.GetPostedPlaybackInfo(Guid itemId, Nullable`1 userId, Nullable`1 maxStreamingBitrate, Nullable`1 startTimeTicks, Nullable`1 audioStreamIndex, Nullable`1 subtitleStreamIndex, Nullable`1 maxAudioChannels, String mediaSourceId, String liveStreamId, Nullable`1 autoOpenLiveStream, Nullable`1 enableDirectPlay, Nullable`1 enableDirectStream, Nullable`1 enableTranscoding, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, PlaybackInfoDto playbackInfoDto)
   at lambda_method3134(Closure, Object)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
   at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
   at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
   at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
   at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
   at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[2024-05-17 10:42:43.684 -04:00] [INF] [36] Trakt.Helpers.LibraryManagerEventsHelper: Timer elapsed - processing queued items
[2024-05-17 10:42:43.689 -04:00] [INF] [36] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Remove to process
[2024-05-17 10:42:43.692 -04:00] [INF] [36] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Add to process
[2024-05-17 10:42:43.694 -04:00] [INF] [36] Trakt.Helpers.LibraryManagerEventsHelper: Processing 1 movies with event type Update
[2024-05-17 10:42:43.913 -04:00] [INF] [25] Trakt.Helpers.LibraryManagerEventsHelper: No episodes with event type Remove to process
[2024-05-17 10:42:43.916 -04:00] [INF] [25] Trakt.Helpers.LibraryManagerEventsHelper: No episodes with event type Add to process
[2024-05-17 10:42:43.918 -04:00] [INF] [25] Trakt.Helpers.LibraryManagerEventsHelper: No episodes with event type Update to process
[2024-05-17 10:42:43.923 -04:00] [INF] [25] Trakt.Helpers.LibraryManagerEventsHelper: No shows with event type Remove to process
[2024-05-17 10:42:43.925 -04:00] [INF] [25] Trakt.Helpers.LibraryManagerEventsHelper: No shows with event type Add to process
[2024-05-17 10:42:43.928 -04:00] [INF] [25] Trakt.Helpers.LibraryManagerEventsHelper: No shows with event type Update to process
[2024-05-17 10:43:00.380 -04:00] [INF] [36] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:43:30.392 -04:00] [INF] [40] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:44:00.403 -04:00] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:44:30.405 -04:00] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:45:00.410 -04:00] [INF] [15] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:45:30.420 -04:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:45:49.335 -04:00] [INF] [15] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-17 10:46:00.430 -04:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:46:01.322 -04:00] [INF] [15] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-17 10:46:30.431 -04:00] [INF] [20] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:47:00.433 -04:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:47:04.249 -04:00] [WRN] [20] Jellyfin.Networking.Manager.NetworkManager: "71.126.165.56": External request received, no matching external bind address found, trying internal addresses.
[2024-05-17 10:47:04.256 -04:00] [WRN] [20] Jellyfin.Networking.Manager.NetworkManager: "71.126.165.56": External request received, but no external interface found. Need to route through internal network.
[2024-05-17 10:47:25.324 -04:00] [INF] [20] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-17 10:47:30.435 -04:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:48:00.452 -04:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:48:13.323 -04:00] [INF] [16] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-17 10:48:30.464 -04:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:48:37.331 -04:00] [INF] [20] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-17 10:49:00.464 -04:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:49:01.323 -04:00] [INF] [25] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-17 10:49:30.479 -04:00] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:50:00.485 -04:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-05-17 10:50:25.325 -04:00] [INF] [25] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-17 10:50:30.492 -04:00] [INF] [25] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

image

Code of Conduct

jellyfin-bot commented 2 weeks ago

Hi, it seems like your issue report has the following item(s) that need to be addressed:

This is an automated message, currently under testing. Please file an issue here if you encounter any problems.

rohitghali commented 2 weeks ago

My ffmpeg path is empty and non editable FYI. Here's a screenshot of it: image

gnattu commented 2 weeks ago

How did you install Jellyfin and which package did you download?

If you go to the Jellyfin install folder, is ffmpeg there?

My ffmpeg path is empty and non editable FYI.

It is not editable because it is not safe to change the executable path on the web and we removed that functionality, this field is now read only.

But this should not be empty, if it is empty it means jellyfin cannot find ffmpeg.

rohitghali commented 2 weeks ago

How did you install Jellyfin and which package did you download?

If you go to the Jellyfin install folder, is ffmpeg there?

My ffmpeg path is empty and non editable FYI.

It is not editable because it is not safe to change the executable path on the web and we removed that functionality, this field is now read only.

But this should not be empty, if it is empty it means jellyfin cannot find ffmpeg.

Downloaded from the jellyfin website. Regular installable exe file. Yes. ffmpeg and ffprobe exists inside the jellyfin server folder. I also have an ffmpeg in PATH. My ffmpeg path field is definitely empty. That's what's baffling.

My main issue is, newly added media is not being able to play. I'm getting the error mentioned above. Here's the latest log with the playback error if required.

[2024-05-18 10:34:00.557 -04:00] [INF] [10] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting null with args "-analyzeduration 200M -probesize 1G -i file:\"D:\Unsorted\mediafile.mkv" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format" [2024-05-18 10:34:00.563 -04:00] [ERR] [10] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "Probe Provider" System.InvalidOperationException: Cannot start process because a file name has not been provided. at System.Diagnostics.Process.Start() at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StartProcess(ProcessWrapper process) at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken) at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken) at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService2.RunCustomProvider(ICustomMetadataProvider1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken) [2024-05-18 10:34:00.643 -04:00] [INF] [15] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "admin". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-05-18 10:34:00.708 -04:00] [INF] [23] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2024-05-18 10:34:00.717 -04:00] [ERR] [23] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/84b84855-2600-5762-9946-8f8d419f6b8f/live.m3u8". System.ArgumentNullException: Value cannot be null. (Parameter '_mediaEncoder.EncoderPath') at System.ArgumentNullException.Throw(String paramName) at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName) at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName) at System.ArgumentException.ThrowIfNullOrEmpty(String argument, String paramName) at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable1 framerate, Nullable1 maxFramerate, Nullable1 copyTimestamps, Nullable1 startTimeTicks, Nullable1 width, Nullable1 height, Nullable1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable1 subtitleMethod, Nullable1 maxRefFrames, Nullable1 maxVideoBitDepth, Nullable1 requireAvc, Nullable1 deInterlace, Nullable1 requireNonAnamorphic, Nullable1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable1 videoStreamIndex, Nullable1 context, Dictionary2 streamOptions, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 enableSubtitlesInManifest) at lambda_method1344(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) [2024-05-18 10:34:00.886 -04:00] [INF] [10] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.9.2" playing "Movie name". Stopped at "0" ms [2024-05-18 10:34:01.265 -04:00] [INF] [23] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop tracker found, processing stop : "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEyNC4wLjAuMCBTYWZhcmkvNTM3LjM2IEVkZy8xMjQuMC4wLjB8MTcxNTI2MzUxMzUxMg11-3d8ce2f1aed34791b0a12d37ec8ab191-84b848552600576299468f8d419f6b8f" [2024-05-18 10:34:01.271 -04:00] [INF] [23] Jellyfin.Plugin.PlaybackReporting.Data.PlaybackTracker: PlaybackTracker : Adding Stop Event : 05/18/2024 10:34:01 [2024-05-18 10:34:01.280 -04:00] [INF] [23] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB [2024-05-18 10:34:06.550 -04:00] [INF] [23] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "127.0.0.1" closed [2024-05-18 10:34:10.666 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: Timer elapsed - processing queued items [2024-05-18 10:34:10.677 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Remove to process [2024-05-18 10:34:10.686 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No movies with event type Add to process [2024-05-18 10:34:10.692 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: Processing 3 movies with event type Update [2024-05-18 10:34:10.868 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No episodes with event type Remove to process [2024-05-18 10:34:10.873 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No episodes with event type Add to process [2024-05-18 10:34:10.878 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No episodes with event type Update to process [2024-05-18 10:34:10.883 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No shows with event type Remove to process [2024-05-18 10:34:10.885 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No shows with event type Add to process [2024-05-18 10:34:10.888 -04:00] [INF] [10] Trakt.Helpers.LibraryManagerEventsHelper: No shows with event type Update to process [2024-05-18 10:34:13.840 -04:00] [INF] [23] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "96.241.146.19" request [2024-05-18 10:34:19.992 -04:00] [INF] [10] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : session Not Found [2024-05-18 10:34:19.997 -04:00] [INF] [10] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: StartPlaybackTimer : Exited

image image

gnattu commented 2 weeks ago

My main issue is, newly added media is not being able to play

This is because jellyfin has trouble finding your ffmpeg

If you manually add --ffmpeg and specify the path of the ffmepg come with jellyfin like --ffmpeg D:\jellyfin\ffmpeg.exe, will it work?

rohitghali commented 1 week ago

My main issue is, newly added media is not being able to play

This is because jellyfin has trouble finding your ffmpeg

If you manually add --ffmpeg and specify the path of the ffmepg come with jellyfin like --ffmpeg D:\jellyfin\ffmpeg.exe, will it work?

Need some help. I started it in the terminal, but couldn't connect to the existing server. Here's the log.

C:\Program Files\Jellyfin\Server> .\jellyfin.exe --ffmpeg "C:\CustomPrograms\ffmpeg\bin\ffmpeg.exe" [09:20:35] [INF] [1] Main: Jellyfin version: 10.9.2 [09:20:35] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\Users\rohit\AppData\Local\jellyfin\log]"] [09:20:35] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--ffmpeg", "C:\CustomPrograms\ffmpeg\bin\ffmpeg.exe"] [09:20:35] [INF] [1] Main: Operating system: Microsoft Windows 10.0.22631 [09:20:35] [INF] [1] Main: Architecture: X64 [09:20:35] [INF] [1] Main: 64-Bit Process: True [09:20:35] [INF] [1] Main: User Interactive: True [09:20:35] [INF] [1] Main: Processor count: 8 [09:20:35] [INF] [1] Main: Program data path: C:\Users\rohit\AppData\Local\jellyfin [09:20:35] [INF] [1] Main: Log directory path: C:\Users\rohit\AppData\Local\jellyfin\log [09:20:35] [INF] [1] Main: Config directory path: C:\Users\rohit\AppData\Local\jellyfin\config [09:20:35] [INF] [1] Main: Cache path: C:\Users\rohit\AppData\Local\jellyfin\cache [09:20:35] [INF] [1] Main: Web resources path: C:\Program Files\Jellyfin\Server\jellyfin-web [09:20:35] [INF] [1] Main: Application directory: C:\Program Files\Jellyfin\Server\ [09:20:35] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration"] [09:20:35] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\Users\rohit\AppData\Local\jellyfin\cache [09:20:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: [] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["192.168.1.159", "127.0.0.1"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: [] [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.9.2.0 [09:20:37] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase", "FixPlaylistOwner", "MigrateRatingLevels"] [09:20:37] [INF] [1] Main: Kestrel is listening on 0.0.0.0 [09:20:38] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks [09:20:38] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Generate Trickplay Images set to fire at 2024-05-21 03:00:00.000 -04:00, which is 17:39:21.5336497 from now. [09:20:38] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-05-21 02:00:00.000 -04:00, which is 16:39:21.5199707 from now. [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavutil version 59.17 (56.70) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavcodec version 61.5 (58.134) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavformat version 61.3 (58.76) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavdevice version 61.2 (58.13) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavfilter version 10.2 (7.110) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswscale version 8.2 (5.9) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswresample version 5.2 (3.9) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libpostproc version 58.2 (55.9) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 4.4 [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"] [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"] [09:20:38] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. [09:20:38] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale"] [09:20:39] [INF] [8] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [ERR] [8] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket. [09:20:39] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. [09:20:39] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: tonemap_cuda with option GPU accelerated HDR to SDR tonemapping is not available [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "dxva2", "qsv", "d3d11va", "opencl", "vulkan", "d3d12va"] [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavutil version 59.17 (56.70) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavcodec version 61.5 (58.134) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavformat version 61.3 (58.76) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavdevice version 61.2 (58.13) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavfilter version 10.2 (7.110) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswscale version 8.2 (5.9) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswresample version 5.2 (3.9) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libpostproc version 58.2 (55.9) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: C:\CustomPrograms\ffmpeg\bin\ffmpeg.exe [09:20:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: be7fd5aea5f94f5f9552a716e1fba6c7 [09:20:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete [09:20:39] [INF] [1] Main: Startup complete 0:00:04.4955545 [09:20:40] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:40] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:40] [INF] [9] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:40] [ERR] [9] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket. [09:20:41] [INF] [6] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean up collections and playlists Completed after 0 minute(s) and 0 seconds [09:20:42] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds [09:20:43] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:43] [INF] [8] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:43] [INF] [8] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:43] [ERR] [6] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.

TimGels commented 5 days ago

My main issue is, newly added media is not being able to play

This is because jellyfin has trouble finding your ffmpeg If you manually add --ffmpeg and specify the path of the ffmepg come with jellyfin like --ffmpeg D:\jellyfin\ffmpeg.exe, will it work?

Need some help. I started it in the terminal, but couldn't connect to the existing server. Here's the log.

C:\Program Files\Jellyfin\Server> .\jellyfin.exe --ffmpeg "C:\CustomPrograms\ffmpeg\bin\ffmpeg.exe" [09:20:35] [INF] [1] Main: Jellyfin version: 10.9.2 [09:20:35] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\Users\rohit\AppData\Local\jellyfin\log]"] [09:20:35] [INF] [1] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--ffmpeg", "C:\CustomPrograms\ffmpeg\bin\ffmpeg.exe"] [09:20:35] [INF] [1] Main: Operating system: Microsoft Windows 10.0.22631 [09:20:35] [INF] [1] Main: Architecture: X64 [09:20:35] [INF] [1] Main: 64-Bit Process: True [09:20:35] [INF] [1] Main: User Interactive: True [09:20:35] [INF] [1] Main: Processor count: 8 [09:20:35] [INF] [1] Main: Program data path: C:\Users\rohit\AppData\Local\jellyfin [09:20:35] [INF] [1] Main: Log directory path: C:\Users\rohit\AppData\Local\jellyfin\log [09:20:35] [INF] [1] Main: Config directory path: C:\Users\rohit\AppData\Local\jellyfin\config [09:20:35] [INF] [1] Main: Cache path: C:\Users\rohit\AppData\Local\jellyfin\cache [09:20:35] [INF] [1] Main: Web resources path: C:\Program Files\Jellyfin\Server\jellyfin-web [09:20:35] [INF] [1] Main: Application directory: C:\Program Files\Jellyfin\Server [09:20:35] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration", "MigrateMusicBrainzTimeout", "MigrateNetworkConfiguration"] [09:20:35] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: C:\Users\rohit\AppData\Local\jellyfin\cache [09:20:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: [] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["192.168.1.159", "127.0.0.1"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"] [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist [09:20:36] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: [] [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.9.2.0 [09:20:37] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.9.2.0 [09:20:37] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["DisableTranscodingThrottling", "CreateLoggingConfigHeirarchy", "MigrateActivityLogDatabase", "RemoveDuplicateExtras", "MigrateUserDatabase", "MigrateDisplayPreferencesDatabase", "RemoveDownloadImagesInAdvance", "MigrateAuthenticationDatabase", "FixPlaylistOwner", "MigrateRatingLevels"] [09:20:37] [INF] [1] Main: Kestrel is listening on 0.0.0.0 [09:20:38] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks [09:20:38] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Generate Trickplay Images set to fire at 2024-05-21 03:00:00.000 -04:00, which is 17:39:21.5336497 from now. [09:20:38] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2024-05-21 02:00:00.000 -04:00, which is 16:39:21.5199707 from now. [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavutil version 59.17 (56.70) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavcodec version 61.5 (58.134) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavformat version 61.3 (58.76) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavdevice version 61.2 (58.13) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavfilter version 10.2 (7.110) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswscale version 8.2 (5.9) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswresample version 5.2 (3.9) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libpostproc version 58.2 (55.9) [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version 4.4 [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"] [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"] [09:20:38] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:38] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. [09:20:38] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. [09:20:38] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale"] [09:20:39] [INF] [8] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [ERR] [8] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket. [09:20:39] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:39] [INF] [17] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was challenged. [09:20:39] [WRN] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Filter: tonemap_cuda with option GPU accelerated HDR to SDR tonemapping is not available [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "dxva2", "qsv", "d3d11va", "opencl", "vulkan", "d3d12va"] [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavutil version 59.17 (56.70) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavcodec version 61.5 (58.134) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavformat version 61.3 (58.76) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavdevice version 61.2 (58.13) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libavfilter version 10.2 (7.110) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswscale version 8.2 (5.9) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libswresample version 5.2 (3.9) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found libpostproc version 58.2 (55.9) [09:20:39] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: C:\CustomPrograms\ffmpeg\bin\ffmpeg.exe [09:20:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: be7fd5aea5f94f5f9552a716e1fba6c7 [09:20:39] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete [09:20:39] [INF] [1] Main: Startup complete 0:00:04.4955545 [09:20:40] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:40] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:40] [INF] [9] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:40] [ERR] [9] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket. [09:20:41] [INF] [6] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean up collections and playlists Completed after 0 minute(s) and 0 seconds [09:20:42] [INF] [17] Emby.Server.Implementations.ScheduledTasks.TaskManager: Update Plugins Completed after 0 minute(s) and 0 seconds [09:20:43] [INF] [6] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:43] [INF] [8] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:43] [INF] [8] Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token. [09:20:43] [ERR] [6] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Invalid token. URL GET /socket.

Have you tried using a different browser or incognito to connect to the web interface? The error mentions invalid tokens, perhaps the browser stored old ones.