• 你们有遇到过NAS放视频放一会就会中断的情形吗?
  • 发布于 2个月前
  • 131 热度
    6 评论
  • Scys
  • 5 粉丝 56 篇博客
  •   
最近忽然出现的这个问题,不论是飞牛、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.

用户评论
  • 黄月英
  • 楼主用的是什么硬盘,如果是机械硬盘的随机读写性能较低,多用户同时访问或高码率视频播放时易出现IO瓶颈
  • 2025/5/19 16:45:00 [ 0 ] [ 0 ] 回复
  • 王晶
  • 要不试下
    直接 smb 用 win 或者 mac 的文件管理器里播放看看
    还断不断,如果还是断的话只能怀疑网络或者硬盘了
    或者你直接从机子到电脑上拷个 100G 文件看看
  • 2025/5/19 9:00:00 [ 0 ] [ 0 ] 回复
  • 卧龙生
  • CEBBCt  2025-05-19 08:46
    你说有没有可能是盘的问题?

    确实有可能,我以前有遇到过 Windows 系统下硬盘自动休眠的问题,主要是在使用中途就休眠了。改成从不休眠就好了。

  • 2025/5/19 8:51:00 [ 0 ] [ 0 ] 回复