[PR #6327] [MERGED] Add support for cuda tonemap and overlay #10913

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6327
Author: @nyanmisaka
Created: 7/19/2021
Status: Merged
Merged: 8/30/2021
Merged by: @cvium

Base: masterHead: tonemap-overlay


📝 Commits (6)

  • aaab6a3 add tests for FFmpeg 4.4 and 4.3.2
  • 3beda02 add support for cuda tonemap and overlay
  • 19e3c38 Apply suggestions from code review
  • d4f09c6 Apply suggestions from code review
  • a84dc79 Merge branch 'master' into tonemap-overlay
  • ae031fd Merge branch 'master' into tonemap-overlay

📊 Changes

8 files changed (+508 additions, -106 deletions)

View changed files

📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+298 -91)
MediaBrowser.Controller/MediaEncoding/FilterOptionType.cs (+23 -0)
📝 MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs (+13 -1)
📝 MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs (+93 -9)
📝 MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs (+35 -4)
📝 MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs (+17 -0)
📝 tests/Jellyfin.MediaEncoding.Tests/EncoderValidatorTests.cs (+5 -1)
📝 tests/Jellyfin.MediaEncoding.Tests/EncoderValidatorTestsData.cs (+24 -0)

📄 Description

Web changes
https://github.com/jellyfin/jellyfin-web/pull/2794

FFmpeg changes
https://github.com/jellyfin/jellyfin-ffmpeg/pull/70 is required for new cuda support

Changes

  • add support for FFmpeg 4.4
  • add BT.2390 EETF to tonemap algorithms
  • improve the performance of opencl tonemap
  • add support for cuda tonemap(HDR10/HLG to SDR)
  • add support for cuda overlay(PGSSUB graphical subtitle burn-in)

Issues
should fix https://github.com/jellyfin/jellyfin/issues/5067


🔄 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/6327 **Author:** [@nyanmisaka](https://github.com/nyanmisaka) **Created:** 7/19/2021 **Status:** ✅ Merged **Merged:** 8/30/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `tonemap-overlay` --- ### 📝 Commits (6) - [`aaab6a3`](https://github.com/jellyfin/jellyfin/commit/aaab6a351876880fe1f240b356de7c319f3bd01b) add tests for FFmpeg 4.4 and 4.3.2 - [`3beda02`](https://github.com/jellyfin/jellyfin/commit/3beda02d925c74c7a7083eaee733537f3396ec92) add support for cuda tonemap and overlay - [`19e3c38`](https://github.com/jellyfin/jellyfin/commit/19e3c38fa8766e1dccb21d80224ae87cecf42df4) Apply suggestions from code review - [`d4f09c6`](https://github.com/jellyfin/jellyfin/commit/d4f09c6c9b142081064c4008bc1e84fb17c81ad8) Apply suggestions from code review - [`a84dc79`](https://github.com/jellyfin/jellyfin/commit/a84dc794c6960a8a6e1dc0660e15a030e0f51305) Merge branch 'master' into tonemap-overlay - [`ae031fd`](https://github.com/jellyfin/jellyfin/commit/ae031fdd28cac50a50e6713d64fa92ddd496aaf2) Merge branch 'master' into tonemap-overlay ### 📊 Changes **8 files changed** (+508 additions, -106 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+298 -91) ➕ `MediaBrowser.Controller/MediaEncoding/FilterOptionType.cs` (+23 -0) 📝 `MediaBrowser.Controller/MediaEncoding/IMediaEncoder.cs` (+13 -1) 📝 `MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs` (+93 -9) 📝 `MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs` (+35 -4) 📝 `MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs` (+17 -0) 📝 `tests/Jellyfin.MediaEncoding.Tests/EncoderValidatorTests.cs` (+5 -1) 📝 `tests/Jellyfin.MediaEncoding.Tests/EncoderValidatorTestsData.cs` (+24 -0) </details> ### 📄 Description **Web changes** https://github.com/jellyfin/jellyfin-web/pull/2794 **FFmpeg changes** https://github.com/jellyfin/jellyfin-ffmpeg/pull/70 is required for new cuda support **Changes** - add support for FFmpeg 4.4 - add BT.2390 EETF to tonemap algorithms - improve the performance of opencl tonemap - add support for cuda tonemap(HDR10/HLG to SDR) - add support for cuda overlay(PGSSUB graphical subtitle burn-in) **Issues** should fix https://github.com/jellyfin/jellyfin/issues/5067 --- <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:29:04 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10913