mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Subtitle extraction fails for bigger files when media library is mounted using rclone. #7219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KarkaLT on GitHub (Aug 5, 2025).
Description of the bug
After installing Jellyfin subtitle extract plugin and running the subtitle extract task, some movies fail to extract subtitles. This happens with bigger files (usually 4K remuxes) and when the media library is mounted using rclone.
Reproduction steps
What is the current bug behavior?
Movie subtitles fail to be extracted.
What is the expected correct behavior?
Movie subtitles extract successfully.
Jellyfin Server version
10.10.0+
Specify version number
10.10.7
Specify the build version
f4b8aa0ed
Environment
Jellyfin logs
FFmpeg logs
Additional information
I think that this problem arises because of a time out in the extraction process. When I run the same command that the Jellyfin logs generate, the process completes without a problem, and the subtitles are extracted correctly.
6d4efe6523/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs (L683)After looking at the code, I've noticed this line that has a 30-min timeout for the started ffmpeg process. This probably is the reason for extraction failure.