mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13313] [MERGED] Use nv15 as intermediate format for 2-pass rkrga scaling #13531
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/13313
Author: @gnattu
Created: 1/2/2025
Status: ✅ Merged
Merged: 1/3/2025
Merged by: @crobibero
Base:
release-10.10.z← Head:fix-rkrga-tonemap📝 Commits (4)
86737c1Use nv15 as intermediate format for 2-pass rkrga scaling9388012Clarify comments496777dForce the intermediate frame to be divisible by 49e1d438Clarify the format choice is a kernel driver bug📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs(+5 -1)📄 Description
It seems like RKRGA is expecting no zero padding bits during 2 pass scaling which distorts P010 frames after scale. This breaks trickplay image generation for HDR videos. Workaround this by specifying nv15 frame format.
This might cause issues with other ffmpeg implementations, as NV15 is not supported everywhere. However, rockchip users should use jellyfin-ffmpeg for proper hardware acceleration anyway.
Changes
Issues
Fixes this:

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