Use hardware acceleration when converting videos. (#1056)

This commit is contained in:
Googol Lee
2024-10-11 22:27:56 +02:00
committed by GitHub
parent dd90d476ad
commit 4303b71311
15 changed files with 375 additions and 90 deletions

View File

@@ -32,3 +32,8 @@ PHOTOVIEW_SERVE_UI=0
# Set to 1 to set server in development mode, this enables graphql playground
# Remove this if running in production
PHOTOVIEW_DEVELOPMENT_MODE=1
# Set the hardware acceleration when encoding videos.
# Support `qsv`, `vaapi`, `nvenc`.
# Only `qsv` is verified with `/dev/dri//dev/dri` devices.
# PHOTOVIEW_VIDEO_HARDWARE_ACCELERATION=