Jellyfin Forum
Playback stops with MediaBrowser.MediaEncoding.Attachments.AttachmentExtract - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Playback stops with MediaBrowser.MediaEncoding.Attachments.AttachmentExtract (/t-playback-stops-with-mediabrowser-mediaencoding-attachments-attachmentextract)



Playback stops with MediaBrowser.MediaEncoding.Attachments.AttachmentExtract - bornav - 2025-09-21

So to start of i created an isolated jellyfin instance with fresh installation to make sure it is not configuration related, and with some files it just dies for some reason during playback, sometimes there are some errors, sometimes it's just crickets in the logs, i can provide both the server and the file in question, but i doubt it's file related since playback of that same file locally is not a problem/does not seem to be a problem
im running latest jellyfin:10.10.7 in k8s, did not set up on this instance any gpu accelaration options so just cpu, and resource issues should not be an issue, 128Gb ram 32 vcpu

it does direct playback by default, but if i force transcode, it still dies but after some time

some logs extracted from the attached files that may be related:

Code:
[11:27:32] [WRN] [29] MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor: Unable to cache media attachments for File:/config/temp-video/TESTVIDEO/S01E08.mkv
MediaBrowser.Common.FfmpegException: ffmpeg media attachment extraction failed for file:"/config/temp-video/TESTVIDEO/S01E08.mkv"
  at MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor.CacheAllAttachmentsInternal(String mediaPath, String inputFile, MediaSourceInfo mediaSource, List`1 extractableAttachmentIds, CancellationToken cancellationToken)
  at MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor.CacheAllAttachments(String mediaPath, String inputFile, MediaSourceInfo mediaSource, CancellationToken cancellationToken)

[matroska,webm @ 0x55dcd0b4c880] Could not find codec parameters for stream 6 (Attachment: none): unknown codec
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options


Code:
[11:27:33] [WRN] [30] MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor: Unable to cache media attachments for File:/config/temp-video/TESTVIDEO/S01E08.mkv
MediaBrowser.Common.FfmpegException: ffmpeg media attachment extraction failed for file:"/config/temp-video/TESTVIDEO/S01E08.mkv"
  at MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor.CacheAllAttachmentsInternal(String mediaPath, String inputFile, MediaSourceInfo mediaSource, List`1 extractableAttachmentIds, CancellationToken cancellationToken)
  at MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor.CacheAllAttachments(String mediaPath, String inputFile, MediaSourceInfo mediaSource, CancellationToken cancellationToken)



pod logs
.txt   file-open-playback-5-ish-seconds-die.txt (Size: 122.96 KB / Downloads: 19)

logs from ui:
.txt   Log1.txt (Size: 20.55 KB / Downloads: 9)
.txt   Log2.txt (Size: 50.71 KB / Downloads: 12)
.txt   Log3.txt (Size: 20.4 KB / Downloads: 9)
.txt   Log4.txt (Size: 119.16 KB / Downloads: 13)

playback setting displayed in ui before playback stop:     

and all the logs that i can get from the dashboard, for some reason it spawns multiple ones


if any additional info is necessary i could gladly provide it, same with the file in question