VAAPI

VAAPI (Video Acceleration API) provides access to graphics hardware (GPU) acceleration for video processing.

Global
VAAPI support can be enabled system-wide by adding the  value to the USE variable:

Enabling VAAPI support will pull in the package, which has the following USE flags:

These flags can be adjusted in.

The system needs to be updated if the USE variable has been set to :

Usage
Run to check VAAPI support.

VLC
VLC supports VAAPI natively. Activate the appropriate setting through the preferences menu.

mpv
mpv also supports the VAAPI acceleration through the command-line option.