From 7b2b5bfa71c8afef9a7af8a9f3a61e5db585b255 Mon Sep 17 00:00:00 2001 From: Patrick Fruh <809734+kaeltis@users.noreply.github.com> Date: Wed, 18 May 2022 21:33:08 +0200 Subject: [PATCH] update hwaccel docs for nvidia docker-compose --- docs/docs/configuration/hardware_acceleration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/configuration/hardware_acceleration.md b/docs/docs/configuration/hardware_acceleration.md index 3514b44ef..23874c93f 100644 --- a/docs/docs/configuration/hardware_acceleration.md +++ b/docs/docs/configuration/hardware_acceleration.md @@ -69,7 +69,9 @@ services: resources: reservations: devices: - - capabilities: [gpu] + - driver: nvidia + count: 1 + capabilities: [gpu] ``` The decoder you need to pass in the `hwaccel_args` will depend on the input video.