mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[10.11.0] HW accel trickplay not respecting threads #7431
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 @alex-stout on GitHub (Oct 20, 2025).
On new version 10.11.0.
I set thread count but my log has two thread args. The server seems to be only respecting the first.
Link to (I think the culprit line. It should strip out existing thread from the string):
1a1a24cfff/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs (L912)@nyanmisaka commented on GitHub (Oct 20, 2025):
Unlike software transcoding, hardware decoders generally don't support thread count, or setting a higher thread count doesn't yield any benefit but increases VRAM usage. Some HWA methods require two threads to avoid deadlock, so we set this internally based on experience.
@alex-stout commented on GitHub (Oct 20, 2025):
Gotcha. Thought I've seen multi-processes hitting the GPU before when generating trickplay images in the past.
So this log is expected with two
threadsargs?@nyanmisaka commented on GitHub (Oct 20, 2025):
Yes, that is normal. The former is for hardware decoder, and the latter is for software encoder.
@alex-stout commented on GitHub (Oct 20, 2025):
Cool thanks.