最近忽然出现的这个问题,不论是飞牛、Jellyfin 、Emby ,用什么播放器都一样,后台日志在下面,看样子像是网络问题?机器 CPU 是 12300T ,按道理是都能解码的。
[11:32:40] [ERR] [30] Microsoft.AspNetCore.Server.Kestrel: Connection id "0HNCGV9BFTUA4", Request id "0HNCGV9BFTUA4:00000001": An unhandled exception was thrown by the application.
System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (25 of 581499).
[11:32:40] [ERR] [21] Jellyfin.Drawing.ImageProcessor: Error encoding image
System.IO.IOException: Input/output error
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at Jellyfin.Drawing.Skia.SkiaEncoder.Decode(String path, Boolean forceCleanBitmap, Nullable`1 orientation, SKEncodedOrigin& origin)
at Jellyfin.Drawing.Skia.SkiaEncoder.GetBitmap(String path, Boolean autoOrient, Nullable`1 orientation)
at Jellyfin.Drawing.Skia.SkiaEncoder.EncodeImage(String inputPath, DateTime dateModified, String outputPath, Boolean autoOrient, Nullable`1 orientation, Int32 quality, ImageProcessingOptions options, ImageFormat outputFormat)
at Jellyfin.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options)
[11:32:40] [ERR] [21] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: Input/output error : '/media/link/tv/综艺/我是歌手 (2013)/Season 10/我是歌手 - S10E01 - 第 1 集.jpg'. URL GET /Items/3cf04b49a9e827a7b294450a94d87c55/Images/Primary.
[11:32:40] [ERR] [21] Microsoft.AspNetCore.Server.Kestrel: Connection id "0HNCGV9BFTUA0", Request id "0HNCGV9BFTUA0:00000007": An unhandled exception was thrown by the application.
直接 smb 用 win 或者 mac 的文件管理器里播放看看
还断不断,如果还是断的话只能怀疑网络或者硬盘了
或者你直接从机子到电脑上拷个 100G 文件看看
确实有可能,我以前有遇到过 Windows 系统下硬盘自动休眠的问题,主要是在使用中途就休眠了。改成从不休眠就好了。