[PR #5534] [CLOSED] Add hwupload filter when sofware decoding and QSV encoding #10549

Closed
opened 2026-02-07 06:22:18 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5534
Author: @knackebrot
Created: 3/15/2021
Status: Closed

Base: masterHead: master


📝 Commits (3)

  • 19a4065 Add hwupload filter when sofware decoding and QSV encoding
  • d100b2d Only add hwupload when qsv encoding
  • cbdd211 Merge branch 'master' of github.com:jellyfin/jellyfin

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+3 -3)

📄 Description

Fixes green bars when transcoding MPEG-4 ASP (XviD) files.

Before:
/usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i Big.Buck.Bunny.avi -c:v h264_qsv -preset:v medium -vf 'vpp_qsv=w=640:h=360:format=nv12' -b:v 5M output_broken360.mp4
image

After:
/usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i Big.Buck.Bunny.avi -c:v h264_qsv -preset:v medium -vf 'hwupload=extra_hw_frames=64,vpp_qsv=w=640:h=360:format=nv12' -b:v 5M output360.mp4
image

Please backport this to release-10.7.z after merge.


🔄 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/5534 **Author:** [@knackebrot](https://github.com/knackebrot) **Created:** 3/15/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`19a4065`](https://github.com/jellyfin/jellyfin/commit/19a4065009c2ba1b3b18a0490f903262c74e8012) Add hwupload filter when sofware decoding and QSV encoding - [`d100b2d`](https://github.com/jellyfin/jellyfin/commit/d100b2d902480e37d6a52abe80a4013622b666af) Only add hwupload when qsv encoding - [`cbdd211`](https://github.com/jellyfin/jellyfin/commit/cbdd211a7901aa1290f8580384857fbf11a43e75) Merge branch 'master' of github.com:jellyfin/jellyfin ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+3 -3) </details> ### 📄 Description Fixes green bars when transcoding MPEG-4 ASP (XviD) files. Before: ` /usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i Big.Buck.Bunny.avi -c:v h264_qsv -preset:v medium -vf 'vpp_qsv=w=640:h=360:format=nv12' -b:v 5M output_broken360.mp4 ` ![image](https://user-images.githubusercontent.com/24361046/111091879-a0f2ea80-8534-11eb-9e16-f9e125944d44.png) After: ` /usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -i Big.Buck.Bunny.avi -c:v h264_qsv -preset:v medium -vf 'hwupload=extra_hw_frames=64,vpp_qsv=w=640:h=360:format=nv12' -b:v 5M output360.mp4 ` ![image](https://user-images.githubusercontent.com/24361046/111091907-be27b900-8534-11eb-9ba8-dde9284a034c.png) Please backport this to release-10.7.z after merge. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:22:18 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10549