-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use Metal tonemap instead of OpenCL #11198
Conversation
|
Mark as draft until decisions are made about whether this will be included in 10.9. |
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
e3cc4ce to
bc5dbfb
Compare
Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: gnattu <gnattuoc@me.com>
|
It's probably worth mentioning that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we will have to tag a jf-ffmpeg 6.0.1-5 before RC1 to match this changes.
|
@gnattu You may also want to modify this string and their translations. (to OpenCL/CUDA/Metal or just GPGPU) https://github.com/jellyfin/jellyfin-web/blob/fa6981cb7fe1f1e976b0989363a54654df83d2f5/src/strings/en-us.json#L42 |
Changes
As discussed in jellyfin/jellyfin-ffmpeg#357, the current OpenCL kernel runs extremely slow on Apple Silicon. This change updates the filter chain to use the Metal implementation of the tone map filter to handle Dolby Vision Profile 5 videos introduced by jellyfin/jellyfin-ffmpeg#369.
For Intel Macs, the OpenCL kernel is not compatible with certain GPUs and we will have the following error:
We need the Metal kernel to properly support Intel Macs.
Issues