mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Bug] Transcoding gets stuck in a loop when resuming playback on LG WebOS client #7234
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 @adgh-dev on GitHub (Aug 9, 2025).
Description of the bug
When playing a media file with DTS audio on an LG WebOS client, the server identifies the client as a "Web" player and initiates an audio transcode (even though the device natively supports DTS audio). Playback works fine initially.
However, if playback is stopped mid-way and then resumed after a significant delay (e.g., a few hours or a day), the transcoding process enters an infinite loop over a small segment of the video. On the client (LG TV), the image freezes, but the playback timer may flicker or not advance. On the server dashboard, the transcode process is shown to be repeatedly playing the same few seconds of the file (e.g., looping between 30:54 and 31:02).
This issue seems to be related to how Jellyfin handles resuming a stale transcoding session.
Jellyfin server is deployed in a docker container running on top of Ubuntu server 24.04. Local network connection between client and server.
Reproduction steps
What is the current bug behavior?
Video freezes while transcoding audio, when resumed at mid point after stopped for hours/days.
What is the expected correct behavior?
The media file should resume transcoding and playing from the point where it was stopped, regardless of how long the pause was.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
Server version 10.10.7 Web version 10.10.7 Build version 10.10.7
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
This issue appears to be caused by the server trying to resume a transcode session where the temporary transcode segments from the previous session may have been cleaned up or are otherwise inaccessible.
The root of the problem is that the LG WebOS client is treated as a generic web client and is not profiled to direct play DTS, which modern LG OLED TVs fully support. A potential workaround/solution could be to update the WebOS device profile to allow DTS direct play, avoiding the transcode altogether. However, the bug with resuming a transcode session remains valid.
server-log.txt
transcode-log.txt
@jfrancisco-neto commented on GitHub (Aug 10, 2025):
This happened to me too and doesn't even need to wait long, just try to skip forward a big video file.
@nyanmisaka commented on GitHub (Aug 10, 2025):
You can give 10.11-RC4 a try and see if there is any change.
@jfrancisco-neto commented on GitHub (Aug 12, 2025):
10.11.0-rc4 Fixed the issue for me but add some issues with audio. The previously stream didn't have any issues with audio and now it says the audio channel is not compatible and need to transcode it:
@adgh-dev commented on GitHub (Aug 12, 2025):
@jfrancisco-neto wasn't it transcoding audio before? The reported issue is strictly related to audio transcoding
@nyanmisaka do you have some pointers on testing non-released/RC versions? I run jellyfin server in docker container, so would need a registry where I can fetch the RC from
@nyanmisaka commented on GitHub (Aug 12, 2025):
Read the changelog, back up your data, then switch from
jellyfin/jellyfintojellyfin/jellyfin:10.11.0-rc4and wait for the database migration to complete.https://hub.docker.com/r/jellyfin/jellyfin/tags?name=10.11
@jellyfin-bot commented on GitHub (Dec 11, 2025):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (Jan 1, 2026):
This issue was closed due to inactivity.