[PR #9595] Add advanced options for Intel QSV encoders #11986

Open
opened 2025-12-22 09:03:04 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/9595
Author: @knackebrot
Created: 4/4/2023
Status: 🔄 Open

Base: masterHead: qsvenc-advanced-options


📝 Commits (1)

  • 1b65c01 Add advanced options for Intel QSV encoders

📊 Changes

2 files changed (+156 additions, -6 deletions)

View changed files

📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+84 -6)
📝 MediaBrowser.Model/Configuration/EncodingOptions.cs (+72 -0)

📄 Description

In my testing, enabling LookAhead and ExtBRC increases VMAF score by ~3 in low-bitrate scenarios (89 vs 92 for 1080p at 3Mbit) and Trellis by further ~0.2. The improvement largely depends on the content and I didn't find any sample that would suffer.

Please note the actual parameters QSV applies internally for an encoding session depend on various factors, such as GPU generation, driver version and other supplied parameters, such as preset and low_power. For instance, LookAhead didn't seem to have an effect for me on a Gen9 GPU when combined with low_power.

More info on that here: https://github.com/intel/media-delivery/blob/master/doc/quality.rst

Changes

  • Add options for LookAhead, ExtBrc, B-Pyramid, Adaptive I/B frames and Trellis
  • Add extra_hw_frames to input if LookAhead is enabled
  • Add calculation of the number of extra_hw_frames in filters (increased by LookAheadDepth) - still needs testing which ones actually need to be increased

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/9595 **Author:** [@knackebrot](https://github.com/knackebrot) **Created:** 4/4/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `qsvenc-advanced-options` --- ### 📝 Commits (1) - [`1b65c01`](https://github.com/jellyfin/jellyfin/commit/1b65c019288380239fcbbc0a0b9da073acbea93a) Add advanced options for Intel QSV encoders ### 📊 Changes **2 files changed** (+156 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+84 -6) 📝 `MediaBrowser.Model/Configuration/EncodingOptions.cs` (+72 -0) </details> ### 📄 Description In my testing, enabling LookAhead and ExtBRC increases VMAF score by ~3 in low-bitrate scenarios (89 vs 92 for 1080p at 3Mbit) and Trellis by further ~0.2. The improvement largely depends on the content and I didn't find any sample that would suffer. Please note the actual parameters QSV applies internally for an encoding session depend on various factors, such as GPU generation, driver version and other supplied parameters, such as `preset` and `low_power`. For instance, LookAhead didn't seem to have an effect for me on a Gen9 GPU when combined with `low_power`. More info on that here: https://github.com/intel/media-delivery/blob/master/doc/quality.rst **Changes** - Add options for LookAhead, ExtBrc, B-Pyramid, Adaptive I/B frames and Trellis - Add extra_hw_frames to input if LookAhead is enabled - Add calculation of the number of extra_hw_frames in filters (increased by LookAheadDepth) - still needs testing which ones actually need to be increased --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo added the
pull-request
label 2025-12-22 09:03:04 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#11986
No description provided.