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.
Comments
Similar requests
[Feature] DirectML execution provider for Machine Learning (AMD GPU Support on Windows/WSL2)
8 votes · 0 comments
[Feature] Rusticl Support for Machine Learning Hardware Acceleration
1 vote · 0 comments
[Feature] Support Hailo for machine learning hardware acceleration
34 votes · 0 comments
[Feature] Generate thumbnails using Hardware-Accelerated
17 votes · 0 comments
[Feature] Retry hardware transcoding on FFmpeg dimensions failure
2 votes · 0 comments
No comments yet.