FeatureFuel
6

[Feature] Implement hardware accelerated tonemapping on AMD using libplacebo/vulkan

Source: immich-app/immich#16895 · opened by @thesnallygaster
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request. • Yes The feature Currently hardware accelerated tonemapping on AMD (using va-api) is done using opencl which as far as I am aware doesn't work without using ROCM which doesn't (officialy) work on iGPUs. It is possible to use libplacebo/vulkan to implement hardware accelerated tonemapping on AMD GPUs (vega and newer) in a similar manner that jellyfin already does, bellow is an example ffmpeg command which I've used to make it happen trying to recreate what immich already does, it works and properly utilizes the gpu for decoding, tonemapping and encoding. /usr/lib/jellyfin-ffmpeg/ffmpeg -init_hw_device vaapi=accel:/dev/dri/renderD128 -init_hw_device vulkan=vk@accel -filter_hw_device vk -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i TEST.MOV -y -c:v h264_vaapi -c:a copy -movflags faststart -fps_mode passthrough -map 0:0 -map 0:1 -g …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests