FS#72933 - [ffmpeg] Add VAAPI support

Attached to Project: Arch Linux
Opened by kiasoc5 (kiasoc5) - Monday, 06 December 2021, 04:26 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 05 January 2022, 10:36 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

VAAPI support is mentioned in https://wiki.archlinux.org/title/FFmpeg#Hardware_video_acceleration

It requires this flag:
--enable-vaapi

Optdepends:
libva-intel-driver: Intel VAAPI support
libva-mesa-driver: AMD VAAPI support
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 05 January 2022, 10:36 GMT
Reason for closing:  Not a bug
Additional comments about closing:  wiki updated
Comment by loqs (loqs) - Monday, 06 December 2021, 22:51 GMT
The output of the current build 'External libraries providing hardware acceleration' lists vaapi. Adding the option --enable-vaapi does not change that listing.
Adding the option --disable-vaapi removes vaapi from the list and depends libva.so is detected as not being required.
Are you sure the wiki page is correct? What differences in functionality should there be? See also  FS#56559 
Comment by kiasoc5 (kiasoc5) - Friday, 17 December 2021, 15:51 GMT
I tested this again. `ffmpeg -buildconf` doesn't list enable-vaapi and `ldd /usr/bin/ffmpeg` does return ffmpeg. I also ran the example commands with ffmpeg and vaapi in the wiki and those work fine too. So the wiki is in error, the ffmpeg package does not need to be recompiled.
Comment by kiasoc5 (kiasoc5) - Friday, 17 December 2021, 15:51 GMT
Sorry i mean ldd /usr/bin/ffmpeg returns libva.so

Loading...