Could be interesting to have something like this into the system ?
The oneAPI Video Processing Library (oneVPL) provides a single video processing API for encode, decode, and video processing that works across a wide range of accelerators.
https://github.com/oneapi-src/oneVPL/
There’s also the Intel-GPU optimized version: