monlor / docker-xiaoya

💡使用 Docker Compose 以更优雅的方式来部署小雅服务,支持一键部署 Alist + Emby + Jellyfin,全平台支持,Linux/Windows/Mac/群晖,X86/Arm架构
Other
1.59k stars 253 forks source link

jellyfin启动失败 #68

Closed RangeZero closed 3 months ago

RangeZero commented 3 months ago

提交检查

描述 bug jellyfin启动失败,重复输出如下日志

jellyfin-1 | 等待alist启动完成... jellyfin-1 | 等待配置数据下载完成... jellyfin-1 | 等待媒体数据下载完成... jellyfin-1 | 开始自动更新alist地址... jellyfin-1 | [20:29:34] [INF] [1] Main: Jellyfin version: 10.9.5 jellyfin-1 | [20:29:34] [INF] [1] Main: Environment Variables: ["[JELLYFIN_ENABLED, true]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_DATA_DIR, /config]"] jellyfin-1 | [20:29:34] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll", "--datadir", "/config", "--cachedir", "/cache", "--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"] jellyfin-1 | [20:29:34] [INF] [1] Main: Operating system: Debian GNU/Linux 12 (bookworm) jellyfin-1 | [20:29:34] [INF] [1] Main: Architecture: X64 jellyfin-1 | [20:29:34] [INF] [1] Main: 64-Bit Process: True jellyfin-1 | [20:29:34] [INF] [1] Main: User Interactive: True jellyfin-1 | [20:29:34] [INF] [1] Main: Processor count: 8 jellyfin-1 | [20:29:34] [INF] [1] Main: Program data path: /config jellyfin-1 | [20:29:34] [INF] [1] Main: Log directory path: /config/log jellyfin-1 | [20:29:34] [INF] [1] Main: Config directory path: /config/config jellyfin-1 | [20:29:34] [INF] [1] Main: Cache path: /cache jellyfin-1 | [20:29:34] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web jellyfin-1 | [20:29:34] [INF] [1] Main: Application directory: /jellyfin/ jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Server.Migrations.MigrationRunner: Skipping migration 'CreateNetworkConfiguration' since it is already applied jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Server.Migrations.MigrationRunner: Skipping migration 'MigrateMusicBrainzTimeout' since it is already applied jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Server.Migrations.MigrationRunner: Skipping migration 'MigrateNetworkConfiguration' since it is already applied jellyfin-1 | [20:29:35] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache jellyfin-1 | [20:29:35] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of MediaBrowser.Common.Providers.SubtitleConfigurationFactory jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of MediaBrowser.Common.Net.NetworkConfigurationFactory jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of MediaBrowser.Controller.Library.MetadataConfigurationStore jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of Emby.Server.Implementations.Branding.BrandingConfigurationFactory jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of MediaBrowser.MediaEncoding.Configuration.EncodingConfigurationFactory jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of MediaBrowser.XbmcMetadata.Configuration.NfoConfigurationFactory jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of Jellyfin.Server.Migrations.MigrationsFactory jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Creating instance of Jellyfin.LiveTv.Configuration.LiveTvConfigurationFactory jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Networking.Manager.NetworkManager: Refreshing LAN information. jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN interface addresses as user provided no LAN details. jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Networking.Manager.NetworkManager: Refreshing interfaces. jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Networking.Manager.NetworkManager: Discovered 2 interfaces. jellyfin-1 | [20:29:35] [DBG] [1] Jellyfin.Networking.Manager.NetworkManager: Interfaces addresses: ["127.0.0.1", "172.18.0.4"] jellyfin-1 | [20:29:35] [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"] jellyfin-1 | [20:29:35] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: [] jellyfin-1 | [20:29:35] [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"] jellyfin-1 | [20:29:35] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.18.0.4"] jellyfin-1 | [20:29:35] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"] jellyfin-1 | [20:29:35] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist jellyfin-1 | [20:29:35] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: [] jellyfin-1 | [20:29:35] [DBG] [1] Emby.Server.Implementations.ApplicationHost: Found API endpoints in plugin MediaBrowser.Providers, Version=10.9.5.0, Culture=neutral, PublicKeyToken=null jellyfin-1 | Killed jellyfin-1 exited with code 0

重现步骤 jellyfin容器无法启动

预期行为 # 截图 如果适用,添加截图以帮助解释您的问题。 image

设备 (请填写以下信息):

其他信息 在此添加有关问题的任何其他上下文。

monlor commented 3 months ago

这看着像内存不够

RangeZero commented 3 months ago

这看着像内存不够

没开动态内存,划了4G内存给wsl,明天划8G看看,ip已经被阿里云拉黑了,试不了了

monlor commented 3 months ago

这看着像内存不够

没开动态内存,划了4G内存给wsl,明天划8G看看,ip已经被阿里云拉黑了,试不了了

装了emby的么?4g内存都不够?

RangeZero commented 3 months ago

这看着像内存不够

没开动态内存,划了4G内存给wsl,明天划8G看看,ip已经被阿里云拉黑了,试不了了

装了emby的么?4g内存都不够?

没,就alist+jellyfin,我也很奇怪

DDSDerek commented 3 months ago

这看着像内存不够

没开动态内存,划了4G内存给wsl,明天划8G看看,ip已经被阿里云拉黑了,试不了了

装了emby的么?4g内存都不够?

4G确实有可能不够,jellyfin启动一般能吃到3.5G或者更多

RangeZero commented 3 months ago

新测试结果如下: 使用环境:windows server 2022 , wsl2 , docker desktop 正常启动alist+jellyfin,占用内存见图 image

但jellyfin无法播放,疑似无法链接到alist,alist网页端可以正常播放

monlor commented 3 months ago

是所有视频都播放不了,还是部分资源?尝试用2346端口播放

RangeZero commented 3 months ago

新测试结果如下: 使用环境:windows server 2022 , wsl2 , docker desktop 正常启动alist+jellyfin,占用内存见图 image

但jellyfin无法播放,疑似无法链接到alist,alist网页端可以正常播放

是转码失败,ffmpeg无法启动 jellyfin-1 | [14:01:26] [DBG] [138] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Disposing stream resources jellyfin-1 | [14:01:26] [ERR] [138] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 1 jellyfin-1 | [14:01:26] [DBG] [138] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: File /config/transcodes/5df7337947cec14468fd3de372e465a9.m3u8 created or transcoding has finished jellyfin-1 | [14:01:26] [ERR] [138] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/523d8794-9036-cf34-48a7-8837c5c8d100/live.m3u8. jellyfin-1 | MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1 jellyfin-1 | at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) jellyfin-1 | 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) jellyfin-1 | at lambda_method1287(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [14:01:26] [DBG] [138] Jellyfin.Api.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://192.168.31.75:8096/videos/523d8794-9036-cf34-48a7-8837c5c8d100/live.m3u8?DeviceId=9761814a5cb0ada1489cd35f80fff561e99fbb5d&MediaSourceId=523d87949036cf3448a78837c5c8d100&VideoCodec=hevc,h264&AudioCodec=aac,mp3,ac3,eac3&VideoBitrate=8961318&AudioBitrate=192000&PlaySessionId=aae83eef8b8d46f18079cc35ac227dd4&api_key=ff894d3621a443dda6f8b6f6d13f36eb&RequireAvc=false&Tag=f2e6a34e1398b7b520b6876c466ad073&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported to 172.18.0.1 in 0:00:05.1339709 with Status Code 500 jellyfin-1 | [14:01:26] [DBG] [135] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated. jellyfin-1 | [14:01:26] [DBG] [135] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated. jellyfin-1 | [14:01:26] [INF] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -noautorotate -i "http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -sn -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url "hls/5df7337947cec14468fd3de372e465a9/" -hls_segment_filename "/config/transcodes/5df7337947cec14468fd3de372e465a9%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/config/transcodes/5df7337947cec14468fd3de372e465a9.m3u8" jellyfin-1 | [14:01:26] [DBG] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Launched FFmpeg process jellyfin-1 | [14:01:26] [DBG] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Waiting for the creation of /config/transcodes/5df7337947cec14468fd3de372e465a9.m3u8 jellyfin-1 | [14:01:27] [DBG] [138] Emby.Server.Implementations.Session.SessionWebSocketListener: Watching 1 WebSockets. jellyfin-1 | [14:01:31] [DBG] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Disposing stream resources jellyfin-1 | [14:01:31] [ERR] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 1 jellyfin-1 | [14:01:31] [DBG] [135] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: File /config/transcodes/5df7337947cec14468fd3de372e465a9.m3u8 created or transcoding has finished jellyfin-1 | [14:01:31] [ERR] [135] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL GET /videos/523d8794-9036-cf34-48a7-8837c5c8d100/live.m3u8. jellyfin-1 | MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1 jellyfin-1 | at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory) jellyfin-1 | 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) jellyfin-1 | at lambda_method1287(Closure, Object) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) jellyfin-1 | at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager) jellyfin-1 | at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager) jellyfin-1 | at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager) jellyfin-1 | at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) jellyfin-1 | at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext) jellyfin-1 | at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context) jellyfin-1 | at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager) jellyfin-1 | at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) jellyfin-1 | [14:01:31] [DBG] [135] Jellyfin.Api.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://192.168.31.75:8096/videos/523d8794-9036-cf34-48a7-8837c5c8d100/live.m3u8?DeviceId=9761814a5cb0ada1489cd35f80fff561e99fbb5d&MediaSourceId=523d87949036cf3448a78837c5c8d100&VideoCodec=hevc,h264&AudioCodec=aac,mp3,ac3,eac3&VideoBitrate=8961318&AudioBitrate=192000&PlaySessionId=aae83eef8b8d46f18079cc35ac227dd4&api_key=ff894d3621a443dda6f8b6f6d13f36eb&RequireAvc=false&Tag=f2e6a34e1398b7b520b6876c466ad073&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported to 172.18.0.1 in 0:00:05.1243018 with Status Code 500 jellyfin-1 | [14:01:31] [DBG] [135] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated. jellyfin-1 | [14:01:32] [DBG] [135] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated. jellyfin-1 | [14:01:32] [DBG] [135] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.

monlor commented 3 months ago

访问的哪个端口

monlor commented 3 months ago

我觉得没必要服务端转码哈,直接用2346端口

RangeZero commented 3 months ago

访问的哪个端口

没动端口,默认的5678, 估计是用不成了,解码没开硬件加速,server又没显卡,就到这吧

monlor commented 3 months ago

访问的哪个端口

没动端口,默认的5678, 估计是用不成了,解码没开硬件加速,server又没显卡,就到这吧

不是,你理解错了,2345是emby的代理端口,2346是jellyfin的,你用这两个端口访问不走服务端转码

RangeZero commented 3 months ago

访问的哪个端口

没动端口,默认的5678, 估计是用不成了,解码没开硬件加速,server又没显卡,就到这吧

不是,你理解错了,2345是emby的代理端口,2346是jellyfin的,你用这两个端口访问不走服务端转码

好,我晚点再试试

又被aliyun ban了 alist-1 | 2024/06/07 06:11:30.349150 ERROR RESTY Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408X]:443: connect: network is unreachable, Attempt 1 alist-1 | 2024/06/07 06:11:30.453834 ERROR RESTY Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408X]:443: connect: network is unreachable, Attempt 2 alist-1 | 2024/06/07 06:11:30.567488 ERROR RESTY Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408X]:443: connect: network is unreachable, Attempt 3 alist-1 | ERRO[2024-06-07 06:11:30] failed get enabled storages: Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408x]:443: connect: network is unreachable alist-1 | failed init storage alist-1 | github.com/alist-org/alist/v3/internal/op.initStorage alist-1 | /app/internal/op/storage.go:99 alist-1 | github.com/alist-org/alist/v3/internal/op.LoadStorage alist-1 | /app/internal/op/storage.go:80 alist-1 | github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1 alist-1 | /app/internal/bootstrap/storage.go:23 alist-1 | runtime.goexit alist-1 | /usr/lib/go/src/runtime/asm_amd64.s:1594 alist-1 | 2024/06/07 06:11:31.801257 ERROR RESTY Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408X]:443: connect: network is unreachable, Attempt 1 alist-1 | 2024/06/07 06:11:31.905963 ERROR RESTY Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408X]:443: connect: network is unreachable, Attempt 2 alist-1 | 2024/06/07 06:11:32.028366 ERROR RESTY Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408X]:443: connect: network is unreachable, Attempt 3 alist-1 | ERRO[2024-06-07 06:11:32] failed get enabled storages: Post "https://api.aliyundrive.com/v2/share_link/get_share_token": dial tcp [2408X]:443: connect: network is unreachable alist-1 | failed init storage alist-1 | github.com/alist-org/alist/v3/internal/op.initStorage alist-1 | /app/internal/op/storage.go:99 alist-1 | github.com/alist-org/alist/v3/internal/op.LoadStorage alist-1 | /app/internal/op/storage.go:80 alist-1 | github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1 alist-1 | /app/internal/bootstrap/storage.go:23 alist-1 | runtime.goexit alist-1 | /usr/lib/go/src/runtime/asm_amd64.s:1594

monlor commented 3 months ago

原来这是被阿里云ban了,我还以为是网络问题 😂,别重启alist太频繁

RangeZero commented 3 months ago

原来这是被阿里云ban了,我还以为是网络问题 😂,别重启alist太频繁

播放不了那个是没重启之前的。重启之前alist是能正常播放的,jellyfin放不了

改端口不是要reload嘛,改完就挂载不上了

monlor commented 3 months ago

不用改端口么,默认就帮你开通了这些端口5678 23245 2346 8096 6908

RangeZero commented 3 months ago

不用改端口么,默认就帮你开通了这些端口5678 23245 2346 8096 6908

alist网页版正常播放, jellyfin其他设置默认,端口2346播放依旧无法播放,jellyfin客户端提示不支持的视频 image

jellyfin-1 | [17:22:12] [DBG] [128] MediaBrowser.Providers.TV.EpisodeMetadataService: Running ProbeProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:12] [INF] [128] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i "http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format jellyfin-1 | [17:22:16] [DBG] [15] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated. jellyfin-1 | [tcp @ 0x55e7dafe1500] Connection to tcp://xiaoya.host:5678 failed: Connection timed out jellyfin-1 | http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv: Connection timed out jellyfin-1 | [17:22:17] [ERR] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in Probe Provider jellyfin-1 | MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null. jellyfin-1 | at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken) jellyfin-1 | at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken) jellyfin-1 | at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken) jellyfin-1 | at MediaBrowser.Providers.Manager.MetadataService2.RunCustomProvider(ICustomMetadataProvider1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken) jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Running EpisodeNfoProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Running TmdbEpisodeProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Running TrickplayProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.Manager.ProviderManager: Saving /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm to Nfo jellyfin-1 | [17:22:17] [DBG] [57] Emby.Server.Implementations.IO.LibraryMonitor: Ignoring change to /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).nfo jellyfin-1 | [17:22:17] [DBG] [57] Emby.Server.Implementations.IO.LibraryMonitor: Ignoring change to /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).nfo jellyfin-1 | [17:22:17] [INF] [136] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for lynoy. EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-libVLC, Path: http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Helpers.MediaInfoHelper: DirectPlay Result for Profile: AndroidTV-libVLC, Path: http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv, PlayMethod: null, AudioStreamIndex: null, SubtitleStreamIndex: null, Reasons: ContainerNotSupported jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=AndroidTV-libVLC, Path=http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported ) media:/videos/523d8794-9036-cf34-48a7-8837c5c8d100/stream?MediaSourceId=523d87949036cf3448a78837c5c8d100&api_key=&RequireAvc=false&Tag=f2e6a34e1398b7b520b6876c466ad073&TranscodeReasons=ContainerNotSupported jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://192.168.31.75:2346/Items/523d8794-9036-cf34-48a7-8837c5c8d100/PlaybackInfo?format=json to 172.18.0.1 in 0:00:05.8065662 with Status Code 200 jellyfin-1 | [17:22:17] [DBG] [15] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated. jellyfin-1 | [17:22:17] [DBG] [15] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.

monlor commented 3 months ago

不用改端口么,默认就帮你开通了这些端口5678 23245 2346 8096 6908

alist网页版正常播放, jellyfin其他设置默认,端口2346播放依旧无法播放,jellyfin客户端提示不支持的视频 image

jellyfin-1 | [17:22:12] [DBG] [128] MediaBrowser.Providers.TV.EpisodeMetadataService: Running ProbeProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:12] [INF] [128] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i "http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format jellyfin-1 | [17:22:16] [DBG] [15] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated. jellyfin-1 | [tcp @ 0x55e7dafe1500] Connection to tcp://xiaoya.host:5678 failed: Connection timed out jellyfin-1 | http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv: Connection timed out jellyfin-1 | [17:22:17] [ERR] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in Probe Provider jellyfin-1 | MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null. jellyfin-1 | at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken) jellyfin-1 | at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken) jellyfin-1 | at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken) jellyfin-1 | at MediaBrowser.Providers.Manager.MetadataService2.RunCustomProvider(ICustomMetadataProvider1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken) jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Running EpisodeNfoProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Running TmdbEpisodeProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.TV.EpisodeMetadataService: Running TrickplayProvider for /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm jellyfin-1 | [17:22:17] [DBG] [136] MediaBrowser.Providers.Manager.ProviderManager: Saving /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).strm to Nfo jellyfin-1 | [17:22:17] [DBG] [57] Emby.Server.Implementations.IO.LibraryMonitor: Ignoring change to /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).nfo jellyfin-1 | [17:22:17] [DBG] [57] Emby.Server.Implementations.IO.LibraryMonitor: Ignoring change to /media/每日更新/电视剧/国产剧/唐人街探案 (2020)/Season 2/唐人街探案 - S02E01 - 天使的旋律(一).nfo jellyfin-1 | [17:22:17] [INF] [136] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for lynoy. EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: AndroidTV-libVLC, Path: http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: False jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Helpers.MediaInfoHelper: DirectPlay Result for Profile: AndroidTV-libVLC, Path: http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv, PlayMethod: null, AudioStreamIndex: null, SubtitleStreamIndex: null, Reasons: ContainerNotSupported jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile=AndroidTV-libVLC, Path=http://xiaoya.host:5678/d/每日更新/电视剧/国产剧/唐人街探案2/01.mkv, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerNotSupported ) media:/videos/523d8794-9036-cf34-48a7-8837c5c8d100/stream?MediaSourceId=523d87949036cf3448a78837c5c8d100&api_key=&RequireAvc=false&Tag=f2e6a34e1398b7b520b6876c466ad073&TranscodeReasons=ContainerNotSupported jellyfin-1 | [17:22:17] [DBG] [136] Jellyfin.Api.Middleware.ResponseTimeMiddleware: Slow HTTP Response from http://192.168.31.75:2346/Items/523d8794-9036-cf34-48a7-8837c5c8d100/PlaybackInfo?format=json to 172.18.0.1 in 0:00:05.8065662 with Status Code 200 jellyfin-1 | [17:22:17] [DBG] [15] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated. jellyfin-1 | [17:22:17] [DBG] [15] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was successfully authenticated.

更新,之前的版本有bug

RangeZero commented 3 months ago

补充最新进度: alist+jellyfin 今天新版部署成功后, alist正常播放 jellyfin 8096端口正常播放;2346端口无法播放,提示错误。 image 内存占用见上图,部署建议至少给6G内存