Add ability to select GPU for ffmpeg (#20455)

* Add ability to set selected GPU for ffmpeg

* Cleanup

* Cleanup

* Improve handling
This commit is contained in:
Nicolas Mowen
2025-10-13 09:59:38 -06:00
committed by GitHub
parent 6e10fc21c3
commit 423693d14d
4 changed files with 51 additions and 20 deletions

View File

@@ -268,6 +268,8 @@ ffmpeg:
retry_interval: 10
# Optional: Set tag on HEVC (H.265) recording stream to improve compatibility with Apple players. (default: shown below)
apple_compatibility: false
# Optional: Set the index of the GPU to use for hardware acceleration. (default: shown below)
gpu: 0
# Optional: Detect configuration
# NOTE: Can be overridden at the camera level