FS#77760 - [ffmpeg] Add oneVPL support
Attached to Project:
Arch Linux
Opened by Guido Iodice (guiodic) - Tuesday, 07 March 2023, 13:58 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 19 September 2023, 14:06 GMT
Opened by Guido Iodice (guiodic) - Tuesday, 07 March 2023, 13:58 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 19 September 2023, 14:06 GMT
|
Details
According ffmpeg 6.0 changelog, the new version supports
oneVPL.
This should require a change to the ffmpeg build flag file, but it would also be useful to have a separate package for oneVPL, which is currently included in the oneAPI mega-package on Arch. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Tuesday, 19 September 2023, 14:06 GMT
Reason for closing: Implemented
Additional comments about closing: 2-6.0-11
Tuesday, 19 September 2023, 14:06 GMT
Reason for closing: Implemented
Additional comments about closing: 2-6.0-11
Silly question time. Could you please point to this pkg? Thanks.
intel-oneapi-basekit /opt/intel/oneapi/vpl/
Edit:
There is also https://aur.archlinux.org/packages/onevpl in AUR
https://www.intel.com/content/www/us/en/developer/articles/technical/onevpl-in-ffmpeg-for-great-streaming-on-intel-gpus.html
—enable-libmfx and —enable-libvpl are mutually exclusive in FFmpeg.
header and loader:
https://aur.archlinux.org/packages/onevpl
runtime:
https://aur.archlinux.org/packages/onevpl-intel-gpu
All that remains is to toggle on libvpl in ffmpeg, which can load libmfx-gen.so* and libmfxhw64.so* depending on the platforms.
As I'm new to Arch Linux bug tracker and didn't find a place to submit my change or send PR, I've pushed my change on github.
https://github.com/cyfdecyf/ffmpeg-pkgbuild/tree/onevpl
Note: there's compilation error of ffmpeg on the latest Arch Linux. The inline assembly is causing error as following:
libavcodec/x86/mathops.h:125: Error: operand type mismatch for ` shr'
Details here https://trac.ffmpeg.org/ticket/10405
The problem is already fixed in ffmpeg master, so I also added a patch to fix this compile error.
For now, i'll have to build my own i guess.