fix: resolve 'auto' encoder to detected hardware and add VAAPI drivers to Dockerfile
This commit is contained in:
+8
-1
@@ -2,7 +2,14 @@ FROM node:20-alpine
|
||||
|
||||
# Install build dependencies for better-sqlite3 and FFmpeg for streaming
|
||||
# Using system FFmpeg instead of ffmpeg-static for better Docker DNS compatibility
|
||||
RUN apk add --no-cache python3 make g++ ffmpeg
|
||||
# Hardware acceleration packages:
|
||||
# - mesa-va-gallium: AMD VAAPI (Radeon/Vega)
|
||||
# - intel-media-driver: Intel VAAPI/QSV (newer Intel GPUs)
|
||||
# - libva-intel-driver: Intel VAAPI (older Intel GPUs, Haswell-Skylake)
|
||||
# - libva-utils: vainfo tool for debugging
|
||||
# Note: NVIDIA requires nvidia-container-toolkit on host + --gpus flag
|
||||
RUN apk add --no-cache python3 make g++ ffmpeg \
|
||||
mesa-va-gallium intel-media-driver libva-intel-driver libva-utils
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user