From 2d12f9d4a172ed24da592e10cbb3c917e732386f Mon Sep 17 00:00:00 2001 From: LaurenceGough <82294976+LaurenceGough@users.noreply.github.com> Date: Sat, 6 May 2023 17:18:43 +0100 Subject: [PATCH] Update hardware_acceleration.md VA-API worked a lot better in my own setup. I think the phrasing before sounded like it was the least prefered choice so I have slightly reworded it, and I mentioned about using ls /dev/dri to check available drivers. --- docs/docs/configuration/hardware_acceleration.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/configuration/hardware_acceleration.md b/docs/docs/configuration/hardware_acceleration.md index 3c16069cf..d269fb3b3 100644 --- a/docs/docs/configuration/hardware_acceleration.md +++ b/docs/docs/configuration/hardware_acceleration.md @@ -15,20 +15,20 @@ ffmpeg: hwaccel_args: preset-rpi-64-h264 ``` -### Intel-based CPUs (<10th Generation) via VAAPI +### VA-API -VAAPI supports automatic profile selection so it will work automatically with both H.264 and H.265 streams. VAAPI is recommended for all generations of Intel-based CPUs if QSV does not work. +VA-API (Open Source Video Acceleration API) supports automatic profile selection so it will work automatically with both H.264 and H.265 streams. VA-API is recommended for all generations of Intel CPUs. Dedicated Quick Sync Video hardware for hardware-accelerated video encoding and decoding is supported with VA-API where available. ```yaml ffmpeg: hwaccel_args: preset-vaapi ``` -**NOTICE**: With some of the processors, like the J4125, the default driver `iHD` doesn't seem to work correctly for hardware acceleration. You may need to change the driver to `i965` by adding the following environment variable `LIBVA_DRIVER_NAME=i965` to your docker-compose file or [in the `frigate.yaml` for HA OS users](advanced.md#environment_vars). +**NOTICE**: With some of the processors, like the J4125, the default driver `iHD` doesn't seem to work correctly for hardware acceleration. You may need to change the driver to `i965` by adding the following environment variable `LIBVA_DRIVER_NAME=i965` to your docker-compose file or [in the `frigate.yaml` for HA OS users](advanced.md#environment_vars). You can use ```ls /dev/dri``` to check available drivers. ### Intel-based CPUs (>=10th Generation) via Quicksync -QSV must be set specifically based on the video encoding of the stream. +QSV must be set specifically based on the video encoding of the stream. If you are experiencing any errors please try using VA-API. #### H.264 streams