No description
  • Shell 76.5%
  • Dockerfile 23.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Bob Parsons e24698b6ac
All checks were successful
Deploy Jellyfin / Deploy Jellyfin (push) Successful in 11s
fix: rewrite tonemap_opencl -> tonemapx in the ffmpeg wrapper
74fcb10 removed the Mesa/Rusticl ICD on the assumption that Jellyfin
would then fall back to CPU tone-mapping on its own. It does not --
it selects the tone-map filter from ffmpeg's compiled-in filter list,
not from which hw devices actually exist, so it kept emitting
tonemap_opencl and ffmpeg died at -init_hw_device with "No such
device". That broke every HDR transcode.

Do the substitution in the wrapper instead, which already exists to
patch up Jellyfin's arg generation: drop the opencl device, repoint
-filter_hw_device at va, and rewrite the filter chain to tonemapx.
tonemapx takes the same option names as tonemap_opencl so the options
carry over unchanged, and it outputs software frames in the target
format, so the trailing hwdownload,format= pair is dropped.

Verified against the exact chain Jellyfin emits for Rent (2005):
ffmpeg exits 0 and the tonemapx path measured 1.84x vs 1.41x for the
OpenCL one, with no black-frame dropouts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 23:30:41 -05:00
.forgejo/workflows feat: self-contained image, bake OpenCL/Rusticl, drop host-lib mounts 2026-06-19 21:39:40 -05:00
.gitea/workflows feat: self-contained image, bake OpenCL/Rusticl, drop host-lib mounts 2026-06-19 21:39:40 -05:00
.drone.bak setup forgjo workflow 2026-02-14 21:51:36 -06:00
.gitignore setup forgjo workflow 2026-02-14 21:51:36 -06:00
docker-compose.yml feat: self-contained image, bake OpenCL/Rusticl, drop host-lib mounts 2026-06-19 21:39:40 -05:00
Dockerfile fix: drop OpenCL/Rusticl, use CPU tonemapx for HDR tone-mapping 2026-08-01 23:27:41 -05:00
ffmpeg-wrapper.sh fix: rewrite tonemap_opencl -> tonemapx in the ffmpeg wrapper 2026-08-01 23:30:41 -05:00
README.md first commit 2025-07-12 17:40:41 -05:00

jellyfin