# 现象

  • 无法通过客户端直接播放,需要转码
  • 字幕列表没有我添加的外部字幕

# Log

[2022-06-13 16:56:15.421 +00:00] [ERR] [56] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "ffprobe"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.MediaInfoResolver.GetExternalStreamsAsync(Video video, Int32 startIndex, IDirectoryService directoryService, Boolean clearCache, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.AddExternalSubtitlesAsync(Video video, List`1 currentStreams, MetadataRefreshOptions options, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.Fetch(Video video, CancellationToken cancellationToken, MediaInfo mediaInfo, BlurayDiscInfo blurayInfo, MetadataRefreshOptions options)
   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)
[2022-06-13 16:56:22.468 +00:00] [INF] [56] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Starting Library Sync...
[2022-06-13 16:56:22.468 +00:00] [INF] [56] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: "LIBRARYSYNC" Added 0 items:  ""
[2022-06-13 16:56:22.591 +00:00] [INF] [56] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: "LIBRARYSYNC" Updated 1 items:  "b3542d63898d9493a047ab9ab041d76b"
[2022-06-13 16:56:22.591 +00:00] [INF] [56] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: "LIBRARYSYNC" Removed 0 items:  ""
[2022-06-13 16:56:22.591 +00:00] [INF] [56] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Finished Library Sync Taking "00:00:00.1225482"

# 解决方案

# 清除缓存

根据日志的标识查找文件 "b3542d63898d9493a047ab9ab041d76b"

/jellyfin/config/metadata/library/b3/b3542d63898d9493a047ab9ab041d76b

将 ass 字幕文件删除

# 调整字幕

使用 Aegisub 格式化 (另存文件即可)

# 刷新

刷新元数据 即可

# 其他问题

16:9 的视频四周都有黑边

# 网页版

控制台 - 常规 - 品牌 - 自定义 CSS 代码

.htmlvideoplayer {height: unset!important;}

# 客户端 (Jellyfin Media Player)

设置 - 客户端设置 - Video-Aspect

zoom