diff options
| author | gnattu <gnattuoc@me.com> | 2024-05-08 13:50:03 +0800 |
|---|---|---|
| committer | gnattu <gnattuoc@me.com> | 2024-07-17 00:47:22 +0800 |
| commit | 68bfabbaba2fc6f7b5b6cd63b388f4669a476713 (patch) | |
| tree | 0f3220a6486bf2c03811461ea9e71d7398eec149 /Jellyfin.Server.Implementations/Trickplay | |
| parent | c050abf3e848a3dc0968b18baaee5d0ffb54b334 (diff) | |
Add option to extract keyframe only during trickplay image generation
This would be significantly faster than decoding every frame, but it does have compatibility issues. Not all decoders support this mode, notably the VP9 decoder, CUVID decoders, and QSV decoders.
Some videos with very long key-frame intervals may also perform poorly with this mode, as the image timing could become too inaccurate to reflect the actual frame.
Signed-off-by: gnattu <gnattuoc@me.com>
Diffstat (limited to 'Jellyfin.Server.Implementations/Trickplay')
| -rw-r--r-- | Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs index efdfc745f..69c402f63 100644 --- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs +++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs @@ -168,6 +168,7 @@ public class TrickplayManager : ITrickplayManager options.ProcessThreads, options.Qscale, options.ProcessPriority, + options.EnableKeyFrameOnlyExtraction, _encodingHelper, cancellationToken).ConfigureAwait(false); |
