mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
"Auto" encoding present always defaults to veryfast for QSV hardware encoding #6687
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 @alechouse97 on GitHub (Jan 26, 2025).
Description of the bug
I've been playing with the QSV hardware encoding options and have discovered that, when setting
Encoding presettoAuto, theveryfastpreset is always chosen, even when a much slower preset would be able to exceed the required framerate. This has persisted across multipleThe logs below show an example where
veryfastis selected and the transcoding framerate is > 200 fps. I then set the preset toslower, and the framerate was ~35 fps, still greater than the 24 fps playback. This has persisted across multiple titles with different encodings and bitrates.How does jellyfin decide on the encoding preset when
autois selected? Is it based on hardware or the title being played?I searched a little bit, and it looks like it might always be set to
veryfastunless otherwise specified? This starts on line 1498 ofjellyfin/MediaBrowser.Controller/MediaEncoding//EncodingHelper.csReproduction steps
What is the current bug behavior?
ffmpeg encoding preset always set to
veryfastwhen usinghevc_qsvWhat is the expected correct behavior?
I would expect jellyfin to select the slowest preset that can still maintain the target framerate (perhaps with some safety factor).
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
10.10.5
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@felix920506 commented on GitHub (Jan 26, 2025):
working as intended.
@alechouse97 commented on GitHub (Jan 26, 2025):
@felix920506 - could you provide some more information on what the
Autooption does?