mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12270] [MERGED] Add software tonemap filter support #13123
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?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/12270
Author: @gnattu
Created: 7/14/2024
Status: ✅ Merged
Merged: 7/15/2024
Merged by: @crobibero
Base:
master← Head:sw-tonemap📝 Commits (4)
016dc9dAdd SIMD optimized software tonemap support1f32f95Add tonemapx to filter list2dee5b8Correctly specify format for tonemap518c166Prefer tonemapx during HDR image extraction📊 Changes
3 files changed (+53 additions, -10 deletions)
View changed files
📝
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs(+40 -4)📝
MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs(+1 -0)📝
MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs(+12 -6)📄 Description
This adds a fast SIMD optimized software tonemap filter support to the server. This filter currently does not support dolby vision reshaping and only support HDR10 and HLG inputs. With current veryfast libx264 settings we can expect 4K60 transcoding+tone mapping on a modern processor with 8 cores equivalent to Zen3/Golden Cove/Firestorm level performance.
Changes
Issues
Depends on ffmpeg pr https://github.com/jellyfin/jellyfin-ffmpeg/pull/407
The perf figures in the original post only reflects the initial implementation. The finalized perf figures are here: https://github.com/jellyfin/jellyfin-ffmpeg/pull/407#issuecomment-2198303178
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.