2 hours ago
SRT subtitles are rendered by the browser directly, not by Jellyfin. In testing this issue in the past, Firefox was, by far, the worst offender when it came to subtitle desync.
What I noticed was that the videos that I had encoded did NOT have this issue. Other videos I had, that I did not re-encode, had desync issues sometimes. The way I was able to resolve the issue was to remux those videos and ensure that the container timestamps were correct.
Try that out on one of the files you are having issues with.
What I noticed was that the videos that I had encoded did NOT have this issue. Other videos I had, that I did not re-encode, had desync issues sometimes. The way I was able to resolve the issue was to remux those videos and ensure that the container timestamps were correct.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/path/to/video.mkv" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mkv
Try that out on one of the files you are having issues with.